Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.Utilities.Validation.OptimalStartCoolingNegativeStartTime.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.00154/0.00154, allocations: 74.72 kB / 19.96 MB, free: 1.453 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.001699/0.001699, allocations: 171.1 kB / 23.23 MB, free: 4.199 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.348/1.348, allocations: 177.2 MB / 203.6 MB, free: 8.219 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.05812/0.05812, allocations: 9.142 MB / 269.2 MB, free: 11.48 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.000714/0.000714, allocations: 23.62 kB / 328.6 MB, free: 15.92 MB / 318.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.085/2.085, allocations: 275.2 MB / 0.6477 GB, free: 452 kB / 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 178] 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.OptimalStartCoolingNegativeStartTime,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.Utilities.Validation.OptimalStartCoolingNegativeStartTime") translateModel(AixLib.Controls.OBC.Utilities.Validation.OptimalStartCoolingNegativeStartTime,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.Utilities.Validation.OptimalStartCoolingNegativeStartTime") [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.8c552ec0e0264ceb952c915b5ad521fc[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)[0x7fb6f3bd1520] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_lowerAlgorithm+0x32)[0x7fb6f4be5f32] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBInitialization_removeWhenEquation+0x204)[0x7fb6f4ba7314] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBEquation_EquationPointers_map+0x12a)[0x7fb6f4bccb2a] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBInitialization_main+0x2a7)[0x7fb6f4bab827] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_applyModules+0x2a7)[0x7fb6f4beb337] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_main+0xcc5)[0x7fb6f4becb45] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimCodeMain_translateModelCallBackendNB+0xdf)[0x7fb6f4862edf] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimCodeMain_translateModel+0x1cf)[0x7fb6f4864fcf] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_translateModel+0x1cb)[0x7fb6f48fb1ab] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions3+0x75d1)[0x7fb6f491c0c1] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions2+0x43db)[0x7fb6f502ae0b] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions+0x1da)[0x7fb6f502dd0a] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_ceval+0x12e)[0x7fb6f502f2de] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Interactive_evaluateExpr+0x168)[0x7fb6f501ad28] Segmentation fault (core dumped) Aborted the command. [Calling os._exit(0), Time elapsed: 666.9897559434175] Failed to read output from testmodel.py, exit status != 0: OMC died, but the thread is still running? This will end badly. Calling exit ...