added checkCompatibility() function into the Simulator.