Does Optimus Prime die in the third Transformers movie?

No, Optimus Prime didn't die.