Running RTOS on a Virtual Machine?

I just place my RMP in a separate project from my main program. I can then make another test project with empty methods to mock the RMP methods.
Now you only need to change the reference to point to the test project on your dev machine, and to the real RMP project for your deployment.