Spain registered its joint-highest temperature for September on record with 45.7C measured in a southwestern town as exceptional heat hits the country, weather agency AEMET said.