The building was deemed unsafe for damage to the electrical systems and minor structural damage, fire marshal says.