Isaiah 46:9-10 clearly states that God knows the end from the beginning.
Isaiah 46:9-10
Remember the former things of old,
For I
am God, and
there is no other;
I am God, and
there is none like Me,
[SUP]
10 [/SUP]Declaring the end from the beginning,
And from ancient times
things that are not
yet done,
Saying, ‘My counsel shall stand,
And I will do all My pleasure,’
There's no logical inconsistency concerning Nineveh. He gave them a warning, that he knew that they would heed. Even Jonah himself knew that he was going to forgive Nineveh..and since Jonah hated Ninevehites he didn't want to see that happen.
Jonah 4:1-3 But it displeased Jonah exceedingly,[SUP]
[a][/SUP] and he was angry. [SUP]
2 [/SUP]And he prayed to the Lord and said, “O Lord, is not this what I said when I was yet in my country? That is why I made haste to flee to Tarshish; for I knew that you are a gracious God and merciful, slow to anger and abounding in steadfast love, and relenting from disaster.
[SUP]3 [/SUP]Therefore now, O Lord, please take my life from me, for it is better for me to die than to live.” [SUP]
4 [/SUP]And the Lord said, “Do you do well to be angry?”
Claiming God doesn't know the future brings one into the arena of Pelagians and open theists. They reduce God to their level so that they can make such claims. It is very idolatrous...attempting to create a "God" in the image of pathetic man. But, actually their position is more consistent logically although it's unbiblical.