Flash floods unleashed by heavy rains prompted officials in southern Spain to evacuate over 350 homes, shut down roads and cancel classes on Tuesday.