South Australia is on the verge of an unprecedented heatwave and temperatures will rise over the next three days.