Bug fix: model file is not loaded when the compiler produces a .mom file instead of .momd