Warragamba Dam is expected to spill for the second time in three months as Sydney endures days of torrential rain, with emergency services warning of dangerous flooding across western Sydney.