Hi,
thank you for the answer.
1) urls are valid. if I change loadMetadataAsync property to false, everything works fine.
2) I define models during onBeforeRendering stage in controller. I plan to use the app with Fiori Launchpad, so I need to do all definitions during onBeforeRendering stage, because onAfterRendering hook runs only once - if I open app on Fiori Launchpad for the second time, onAfterRendering hook won't run.