Officials said the fire appears to have started near the building’s heating and air conditioning unit.