Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.Utilities.Validation.OptimalStartCoolingPositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001692/0.001692, allocations: 78.58 kB / 19.95 MB, free: 1.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002069/0.002069, allocations: 167.2 kB / 23.23 MB, free: 4.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.408/1.408, allocations: 177.2 MB / 203.6 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo): time 0.05836/0.05836, allocations: 9.147 MB / 269.2 MB, free: 7.898 MB / 254.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0006827/0.0006827, allocations: 31.3 kB / 328.6 MB, free: 42.35 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo): time 2.316/2.316, allocations: 275.1 MB / 0.6477 GB, free: 6.219 MB / 0.4982 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 177] Using package AixLib with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 3.0.0/package.mo) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(AixLib.Controls.OBC.Utilities.Validation.OptimalStartCoolingPositiveStartTime,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.Utilities.Validation.OptimalStartCoolingPositiveStartTime") translateModel(AixLib.Controls.OBC.Utilities.Validation.OptimalStartCoolingPositiveStartTime,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.Utilities.Validation.OptimalStartCoolingPositiveStartTime") [Timeout 660] 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.f1e8cef80a51478e971f6d2171de234e[stateselection] (0) Forced states by StateSelect.ALWAYS: *********************************************************** [stateselection] (2) Natural states before index reduction: ************************************************************* [STAT] (1) Real optStaCoo.TZon (min = 200.0) [STAT] (1) protected Real conPID.addPID.u2 [stateselection] Natural discrete states from discrete equations: ******************************************************************* [DISS] (1) protected Real optStaCoo.optCoo.min.u1 [DISS] (1) protected Boolean optStaCoo.optCoo.tim.passed [DISS] (1) protected discrete Real optStaCoo.optCoo.tim.entryTime [DISS] (1) protected Real optStaCoo.optCoo.triSam1.y [DISS] (1) protected Real optStaCoo.optCoo.triSam.y [DISS] (1) protected discrete Real optStaCoo.optCoo.truHol.entryTimeFalse [DISS] (1) protected discrete Real optStaCoo.optCoo.truHol.entryTimeTrue [DISS] (1) protected Boolean optStaCoo.optCoo.truHol.y [DISS] (1) protected Real optStaCoo.optCoo.dTHVACOn.y [DISS] (1) protected Real optStaCoo.optCoo.reqStaUp.u [DISS] (1) protected Integer optStaCoo.optCoo.samTemSloAve.iSample (fixed = true, start = 0) [DISS] (1) protected Real optStaCoo.optCoo.temSloAve.u1 [DISS] (1) protected Integer optStaCoo.optCoo.samTemSloAve.counter (fixed = true, start = 0) [DISS] (3) protected discrete Real[3] optStaCoo.optCoo.samTemSloAve.ySample (fixed = {true for $f1 in 1:3}, start = {0.0 for $f2 in 1:3}) [DISS] (1) protected Integer optStaCoo.optCoo.samTemSloAve.index (fixed = true, start = 0) [discreteinfo] pre() and previous() variables from discrete equations: ************************************************************************ [PRE-] (1) discrete Real $PRE.occSch.tNext [PRE-] (1) Boolean $PRE.optStaCoo.falEdg.not_u [PRE-] (1) Boolean $PRE.optStaCoo.hysSta.greHys.y [PRE-] (1) Boolean $PRE.optStaCoo.optCoo.pre.u [PRE-] (1) Boolean $PRE.optStaCoo.optCoo.truHol.not_y [PRE-] (1) Boolean $PRE.optStaCoo.optCoo.truHol.not_u [PRE-] (1) Boolean $PRE.optStaCoo.optCoo.truHol.u [PRE-] (1) Boolean $PRE.optStaCoo.optCoo.hysOpt.y [PRE-] (1) Boolean $PRE.optStaCoo.optCoo.hys.y [PRE-] (1) Boolean $PRE.optStaCoo.optCoo.falEdg.not_u [PRE-] (1) Boolean $PRE.optStaCoo.optCoo.edg.u [PRE-] (1) Real $PRE.optStaCoo.optCoo.min.u1 [PRE-] (1) Boolean $PRE.optStaCoo.optCoo.tim.passed [PRE-] (1) discrete Real $PRE.optStaCoo.optCoo.tim.entryTime [PRE-] (1) Real $PRE.optStaCoo.optCoo.triSam1.y [PRE-] (1) Real $PRE.optStaCoo.optCoo.triSam.y [PRE-] (1) discrete Real $PRE.optStaCoo.optCoo.truHol.entryTimeFalse [PRE-] (1) discrete Real $PRE.optStaCoo.optCoo.truHol.entryTimeTrue [PRE-] (1) Boolean $PRE.optStaCoo.optCoo.truHol.y [PRE-] (1) Real $PRE.optStaCoo.optCoo.dTHVACOn.y [PRE-] (1) Real $PRE.optStaCoo.optCoo.reqStaUp.u [PRE-] (1) Integer $PRE.optStaCoo.optCoo.samTemSloAve.iSample [PRE-] (1) Real $PRE.optStaCoo.optCoo.temSloAve.u1 [PRE-] (1) Integer $PRE.optStaCoo.optCoo.samTemSloAve.counter [PRE-] (3) discrete Real[3] $PRE.optStaCoo.optCoo.samTemSloAve.ySample [PRE-] (1) Integer $PRE.optStaCoo.optCoo.samTemSloAve.index Limited backtrace at point of segmentation fault /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f2b9a48c520] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_lowerAlgorithm+0x32)[0x7f2b9b4a0f32] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBInitialization_removeWhenEquation+0x204)[0x7f2b9b462314] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBEquation_EquationPointers_map+0x12a)[0x7f2b9b487b2a] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBInitialization_main+0x2a7)[0x7f2b9b466827] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_applyModules+0x2a7)[0x7f2b9b4a6337] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_main+0xcc5)[0x7f2b9b4a7b45] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimCodeMain_translateModelCallBackendNB+0xdf)[0x7f2b9b11dedf] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimCodeMain_translateModel+0x1cf)[0x7f2b9b11ffcf] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_translateModel+0x1cb)[0x7f2b9b1b61ab] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions3+0x75d1)[0x7f2b9b1d70c1] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions2+0x43db)[0x7f2b9b8e5e0b] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions+0x1da)[0x7f2b9b8e8d0a] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_ceval+0x12e)[0x7f2b9b8ea2de] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Interactive_evaluateExpr+0x168)[0x7f2b9b8d5d28] Segmentation fault (core dumped) Aborted the command. [Calling os._exit(0), Time elapsed: 667.3543429449201] Failed to read output from testmodel.py, exit status != 0: OMC died, but the thread is still running? This will end badly. Calling exit ...