I am using OpenModelica to work with the Building 11.0.0 library. However, when attempting to run the Thermal Zone example in EnergyPlus_9_6_0, I encounter the following error: “The application was unable to start correctly (0xc000007b). Click OK to close the application.”
The error
"Process crashed Simulation process failed. Exited with code 0xffffffffc000007b."
I have installed all the required system dependencies, including the latest version of EnergyPlus, version 9.6.0 specifically, and the Microsoft Visual C++ Redistributable. Based on my research, the issue might be related to incorrect system environment variable declarations on Windows. I have set the path to C:\Spawn-light-0.4.3-7048a72798-win64\bin, but the problem persists.
I am uncertain whether Spawn is being invoked correctly and why the FMU fails to execute. How can I diagnose and resolve this issue?