In the Classes area, the order of tags is not respected. Connections specifications should be after models definitions.