Richmond and Penrith west of Sydney are expected to reach highs of 42 degrees Celsius today, and 40C in Campbelltown.