When you are using the mvn install -P ursimvm
I guess this is because you have your Java development environment (e.g. Eclipse) outside of the VM, e.g. running on your Windows PC, and running the VM on this.
If you are using the development environment inside the same VM as the simulator, you should use mvn install -P ursim
Please refer to this article for elaboration on deployment methods.