Flash-flooding caused by sudden, heavy rain killed at least 37 people in the Moroccan coastal town of Safi on Sunday, local authorities said.