No building hereafter erected or structurally altered shall be used, occupied or changed in use until a certificate of occupancy and compliance shall have been issued by the city inspector stating that the building or proposed use of a building or premises complies with the building laws and the provisions of these regulations.