Arduino Simulator Open Source in c++ using free CPP Dev Compiler

CPP DEV is also free.... CPP DEV comes with an IDE.

From the blood shed website (Home - Dev-C++ Official Website):
"Bloodshed Dev-C++ is a full-featured Integrated Development Environment (IDE) for the C/C++ programming language. It uses Mingw port of GCC (GNU Compiler Collection) as it's compiler. Dev-C++ can also be used in combination with Cygwin or any other GCC based compiler"