Also, the simulation via the _loop.c file was failing in extern types were present as O/I of the main (simulated) node.