A new building shall not be occupied or a change made in the occupancy, nature or use of a building or part of a building until after the building official has issued a certificate of occupancy. The certificate shall not be issued until all required electrical, gas, mechanical, plumbing and fire protection systems have been inspected for compliance with the technical codes, this Code, state law and released by the building official.