A record May heatwave sent Irish temperatures above 30C and Portugal’s to 37C, drawing crowds outdoors and renewing worries over climate change.