Many thanks for the reply. It compiled and worked.
Now the problem is after running the simulation, there are no files getting loaded into output folder. I do not understand what the issue is now? Simulation runs successfully with no errors. But nothing gets loaded into the output folder.
Thanks in advance.