Ice jam causes river flooding