Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_AixLib.Controls.OBC.Utilities.Validation.OptimalStartHeating.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.001513/0.001513, allocations: 78.58 kB / 19.96 MB, free: 1.949 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.001643/0.001643, allocations: 168.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.379/1.379, allocations: 177.2 MB / 203.6 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 179] 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.05992/0.05992, allocations: 9.153 MB / 269.2 MB, free: 7.918 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.000696/0.000696, allocations: 27.94 kB / 328.6 MB, free: 42.36 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.322/2.322, allocations: 275.1 MB / 0.6477 GB, free: 6.227 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.OptimalStartHeating,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.Utilities.Validation.OptimalStartHeating") translateModel(AixLib.Controls.OBC.Utilities.Validation.OptimalStartHeating,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="AixLib_AixLib.Controls.OBC.Utilities.Validation.OptimalStartHeating") [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.a8aadf75152d4091aabff9982443dc30[stateselection] (0) Forced states by StateSelect.ALWAYS: *********************************************************** [stateselection] (2) Natural states before index reduction: ************************************************************* [STAT] (1) Real optStaHea.TZon (min = 200.0) [STAT] (1) protected Real conPID.addPID.u2 [stateselection] Natural discrete states from discrete equations: ******************************************************************* [DISS] (1) protected Real optStaHea.optHea.min.u1 [DISS] (1) protected Boolean optStaHea.optHea.tim.passed [DISS] (1) protected discrete Real optStaHea.optHea.tim.entryTime [DISS] (1) protected Real optStaHea.optHea.triSam1.y [DISS] (1) protected Real optStaHea.optHea.triSam.y [DISS] (1) protected discrete Real optStaHea.optHea.truHol.entryTimeFalse [DISS] (1) protected discrete Real optStaHea.optHea.truHol.entryTimeTrue [DISS] (1) protected Boolean optStaHea.optHea.truHol.y [DISS] (1) protected Real optStaHea.optHea.dTHVACOn.y [DISS] (1) protected Real optStaHea.optHea.reqStaUp.u [DISS] (1) protected Integer optStaHea.optHea.samTemSloAve.iSample (fixed = true, start = 0) [DISS] (1) protected Real optStaHea.optHea.temSloAve.u1 [DISS] (1) protected Integer optStaHea.optHea.samTemSloAve.counter (fixed = true, start = 0) [DISS] (3) protected discrete Real[3] optStaHea.optHea.samTemSloAve.ySample (fixed = {true for $f1 in 1:3}, start = {0.0 for $f2 in 1:3}) [DISS] (1) protected Integer optStaHea.optHea.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.optStaHea.falEdg.not_u [PRE-] (1) Boolean $PRE.optStaHea.hysSta.greHys.y [PRE-] (1) Boolean $PRE.optStaHea.optHea.pre.u [PRE-] (1) Boolean $PRE.optStaHea.optHea.truHol.not_y [PRE-] (1) Boolean $PRE.optStaHea.optHea.truHol.not_u [PRE-] (1) Boolean $PRE.optStaHea.optHea.truHol.u [PRE-] (1) Boolean $PRE.optStaHea.optHea.hysOpt.y [PRE-] (1) Boolean $PRE.optStaHea.optHea.hys.y [PRE-] (1) Boolean $PRE.optStaHea.optHea.falEdg.not_u [PRE-] (1) Boolean $PRE.optStaHea.optHea.edg.u [PRE-] (1) Real $PRE.optStaHea.optHea.min.u1 [PRE-] (1) Boolean $PRE.optStaHea.optHea.tim.passed [PRE-] (1) discrete Real $PRE.optStaHea.optHea.tim.entryTime [PRE-] (1) Real $PRE.optStaHea.optHea.triSam1.y [PRE-] (1) Real $PRE.optStaHea.optHea.triSam.y [PRE-] (1) discrete Real $PRE.optStaHea.optHea.truHol.entryTimeFalse [PRE-] (1) discrete Real $PRE.optStaHea.optHea.truHol.entryTimeTrue [PRE-] (1) Boolean $PRE.optStaHea.optHea.truHol.y [PRE-] (1) Real $PRE.optStaHea.optHea.dTHVACOn.y [PRE-] (1) Real $PRE.optStaHea.optHea.reqStaUp.u [PRE-] (1) Integer $PRE.optStaHea.optHea.samTemSloAve.iSample [PRE-] (1) Real $PRE.optStaHea.optHea.temSloAve.u1 [PRE-] (1) Integer $PRE.optStaHea.optHea.samTemSloAve.counter [PRE-] (3) discrete Real[3] $PRE.optStaHea.optHea.samTemSloAve.ySample [PRE-] (1) Integer $PRE.optStaHea.optHea.samTemSloAve.index Limited backtrace at point of segmentation fault /lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f6cf58bc520] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_lowerAlgorithm+0x32)[0x7f6cf68d0f32] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBInitialization_removeWhenEquation+0x204)[0x7f6cf6892314] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBEquation_EquationPointers_map+0x12a)[0x7f6cf68b7b2a] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBInitialization_main+0x2a7)[0x7f6cf6896827] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_applyModules+0x2a7)[0x7f6cf68d6337] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_NBackendDAE_main+0xcc5)[0x7f6cf68d7b45] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimCodeMain_translateModelCallBackendNB+0xdf)[0x7f6cf654dedf] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_SimCodeMain_translateModel+0x1cf)[0x7f6cf654ffcf] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_translateModel+0x1cb)[0x7f6cf65e61ab] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScriptBackend_cevalInteractiveFunctions3+0x75d1)[0x7f6cf66070c1] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions2+0x43db)[0x7f6cf6d15e0b] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_cevalInteractiveFunctions+0x1da)[0x7f6cf6d18d0a] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_CevalScript_ceval+0x12e)[0x7f6cf6d1a2de] /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libOpenModelicaCompiler.so(omc_Interactive_evaluateExpr+0x168)[0x7f6cf6d05d28] Segmentation fault (core dumped) Aborted the command. [Calling os._exit(0), Time elapsed: 667.2604350745678] Failed to read output from testmodel.py, exit status != 0: OMC died, but the thread is still running? This will end badly. Calling exit ...