Fixed all warnings in simulator.

Unreferenced parameter warning is suppressed.