As long as Omnath, Locus of All remains under your control, you'll retain unspent mana as steps and phases end, although that mana will become black. This means you can add mana and spend it during a future step, phase, or turn. Once Omnath leaves your control, you'll have until the end of the current step or phase to spend the mana before it is lost.