Perhaps we shall have to invoke a little quantum mechanics here! According to the uncertainty principle anytime a subatomic particle is interacted with its state is irrevocably changed. In my understanding God can only know the state of all things if it/he/she is absolutely one with all things. Otherwise...the amount of energy required to instantly "know" the state of every particle in the universe is so great, it would destroy the universe.
So, its impossible for God to know the future with perfect foreknowledge because the universe is interactive and self-evolving, as well as from the quantum mechanics principle that any perfect knowledge of future events will change that future and prevent it from happening.