I found a room with an instance of an object that's not in the project file named "self". Game maker doesn't have any problems loading the room, it doesn't complain, doesn't remove it from the room file and even lets you select the instance from the object list.
Maybe opengml should ignore these instances and just print a warning.