Parts of Portugal, including the Lisbon region, will be placed on red alert after being relatively spared from Europe's worst heat wave, which set records in several countries.