Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset.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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|truHol.u|truHol.y|booPul1.y|truHol1.y|truHol2.u|truHol2.y|truHol3.u|truHol3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|truHol.u|truHol.y|booPul1.y|truHol1.y|truHol2.u|truHol2.y|truHol3.u|truHol3.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Logical.Validation.TrueHoldWithReset") 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.35f5c7d70d324a5da5ad1bd4cc364058[stateselection] Natural states before index reduction: ********************************************************* [stateselection] Natural discrete states from discrete equations: ******************************************************************* [DISS] (1) protected discrete Real truHol3.toInitial.t_start [DISS] (1) protected discrete Real truHol3.toOutputTrue.t_start [DISS] (1) protected Boolean truHol3.outputTrue.oldActive [DISS] (1) protected Boolean truHol3.initialStep.oldActive [DISS] (1) protected Real truHol3.onDelay.t_next [DISS] (1) protected final Boolean truHol3.toInitial.localCondition = truHol3.toInitial.localCondition [DISS] (1) protected discrete Real truHol2.toInitial.t_start [DISS] (1) protected discrete Real truHol2.toOutputTrue.t_start [DISS] (1) protected Boolean truHol2.outputTrue.oldActive [DISS] (1) protected Boolean truHol2.initialStep.oldActive [DISS] (1) protected Real truHol2.onDelay.t_next [DISS] (1) protected final Boolean truHol2.toInitial.localCondition = truHol2.toInitial.localCondition [DISS] (1) protected discrete Real truHol1.toInitial.t_start [DISS] (1) protected discrete Real truHol1.toOutputTrue.t_start [DISS] (1) protected Boolean truHol1.outputTrue.oldActive [DISS] (1) protected Boolean truHol1.initialStep.oldActive [DISS] (1) protected Real truHol1.onDelay.t_next [DISS] (1) protected final Boolean truHol1.toInitial.localCondition = truHol1.toInitial.localCondition [DISS] (1) protected final Boolean truHol1.toOutputTrue.localCondition = truHol1.toOutputTrue.localCondition [DISS] (1) protected discrete Real truHol.toInitial.t_start [DISS] (1) protected discrete Real truHol.toOutputTrue.t_start [DISS] (1) protected Boolean truHol.outputTrue.oldActive [DISS] (1) protected Boolean truHol.initialStep.oldActive [DISS] (1) protected final Boolean truHol.toInitial.localCondition = truHol.toInitial.localCondition [DISS] (1) protected Real truHol.onDelay.t_next [DISS] (1) protected final Boolean truHol.toOutputTrue.localCondition = truHol.toOutputTrue.localCondition [stateselection] Natural discrete states from initial equations: ****************************************************************** Created Parameter Binding Equations (4): ****************************************** [SCAL] (1) truHol3.onDelay.delayTime = truHol3.duration ($RES_BND_411) [SCAL] (1) truHol2.onDelay.delayTime = truHol2.duration ($RES_BND_410) [SCAL] (1) truHol1.onDelay.delayTime = truHol1.duration ($RES_BND_409) [SCAL] (1) truHol.onDelay.delayTime = truHol.duration ($RES_BND_408) Limited backtrace at point of segmentation fault /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f1575784520] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_lowerAlgorithm+0x32)[0x7f1576673bf2] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBInitialization_removeWhenEquation+0x204)[0x7f15766496d4] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBEquation_EquationPointers_map+0xa2)[0x7f1576662a32] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBInitialization_main+0x364)[0x7f157664cd54] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_applyModules+0x287)[0x7f1576677527] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_main+0x924)[0x7f1576678514] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimCodeMain_translateModelCallBackendNB+0xc2)[0x7f1576381402] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimCodeMain_translateModel+0x178)[0x7f1576383208] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_translateModel+0x3f6)[0x7f15763d0c46] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions3+0x7401)[0x7f15763eced1] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions2+0x43e5)[0x7f1576ac43f5] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions+0x1da)[0x7f1576ac733a] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_ceval+0x12e)[0x7f1576ac87be] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Interactive_evaluateExpr+0x168)[0x7f1576ab40c8] Segmentation fault (core dumped) Aborted the command. Failed to read output from testmodel.py, exit status != 0: OMC died, but the thread is still running? This will end badly.