City expected to declare state of emergency after discovering damage to library roof