Hi Shady,
I think the sapui5 version you are using will be too low. Can you check in the console of your browser if the statement 'sap.ui.model.odata.v2.ODataModel' doesn't return undefined? You can check the version of the sapui5 library by running 'sap.ui.version' in the console.
Best regards,
Maarten