Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo", uses=false) Using package AES with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AES main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003") translateModel(AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="AES_AES.Coursework.ThermSys_control_problems.Flow_pressure_control_liquids.Valve_linearisation_case_003") Thread is still alive. OMC died, but the thread is still running? This will end badly. The log-file of omc: Created ZeroMQ Server. Dumped server port in file: /tmp/openmodelica.hudson.port.274d2fe20bcc406587b9ab55bbc71194[stateselection] Natural states before index reduction: ********************************************************* [STAT] (5) Real[5] streamNL.T (fixed = {true for $i1 in 1:5}, start = {streamNL.Tstart for $i1 in 1:5}, min = {0.0 for $i1 in 1:5}, nominal = {300.0 for $i1 in 1:5}) [STAT] (5) Real[5] streamLIN.T (fixed = {true for $i1 in 1:5}, start = {streamLIN.Tstart for $i1 in 1:5}, min = {0.0 for $i1 in 1:5}, nominal = {300.0 for $i1 in 1:5}) [stateselection] Natural discrete states from discrete equations: ******************************************************************* [stateselection] Natural discrete states from initial equations: ****************************************************************** Reading outside of array row_match[120]=1836345391, n=120, m=120 Limited backtrace at point of segmentation fault /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f7948086520] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(match_pf_fair+0x377)[0x7f794969d8c7] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(matching+0x96c)[0x7f79496a503c] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(BackendDAEExtImpl__matching+0x19b)[0x7f794969936b] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBMatching_PFPlusExternal+0xdf)[0x7f7948f4a82f] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBMatching_continue__+0xf7)[0x7f7948f4c047] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBMatching_singular+0x26b)[0x7f7948f4c41b] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBCausalize_causalizePseudoArray+0x204)[0x7f7948f51814] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBCausalize_applyModule+0xc7)[0x7f7948f52667] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBCausalize_main+0x232)[0x7f7948f52992] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_applyModules+0x277)[0x7f7948f7b047] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_main+0x924)[0x7f7948f7c044] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimCodeMain_translateModelCallBackendNB+0xc2)[0x7f7948c84b02] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimCodeMain_translateModel+0x178)[0x7f7948c86908] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_translateModel+0x3f6)[0x7f7948cd4366] Segmentation fault (core dumped) Aborted the command. Failed to read output from testmodel.py, exit status != 0: Result file HelloWorld_res.mat WAS NOT generated running: ./HelloWorld with flags [ -noemit -lv=LOG_STATS] Result file HelloWorld_res.mat WAS NOT generated running: ./HelloWorld with flags [ -noemit -s=dassl] OMC died, but the thread is still running? This will end badly.