Closed jbkoh closed 5 years ago
Hello Jason, unfortunately I have no experience with debugging within the compliance checker, but I found this description of how to debug an FMU simulation with FMPy and PyCharm: https://github.com/CATIA-Systems/FMPy/wiki/Hacking . With this method you could perhaps identify in which fmi-function-call the error happens. Would also have the benefit to test in another tool to see whether the problem comes from the FMU or the importing tool. (Perhaps https://stackoverflow.com/tags/fmi would be a good location to discuss such topics) Best, Christian
@chrbertsch Thanks for the prompt response! I've tested it on a few frameworks (fmpy, pyfmi, and this checker), but same error. So far not defining any variables for FMU seems to be the source of the problem. I can follow the procedure with FMPy for the precise debugging.
Thanks a lot!
I would have just run gdb on it...
Hi,
I am trying to validate EnergyPlus's FMU export function in Ubuntu. I convert a basic example inside EnergyPlus 8.5 and then validate it through this Checker, but it shows "Segmentation Fault".
Here's what I did: (EnergyPlus-specific steps)
EnergyPlus-8-5-0/ExampleFiles/BasicFiles/Excercise2B-Solution.idf
), which will create *.expidf(Checker step)
fmuCheck.linux64 -l 6 ./eplusout_expidf.fmu
It results in
I wanted to have a hint from the EnergyPlus communuity, but was out of luck, so decided to debug it myself. How should I devug Segmentation fault in this case?
Thanks!