Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.133/2.133, allocations: 284.8 MB / 292.1 MB, free: 10.79 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001564/0.001564, allocations: 185.2 kB / 360.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.713/1.713, allocations: 205.1 MB / 0.6187 GB, free: 13.21 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 89.28 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2484/0.2497, allocations: 121.4 MB / 0.8502 GB, free: 3.91 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5612/0.8109, allocations: 115.2 MB / 0.9628 GB, free: 78.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2131/1.024, allocations: 140.5 MB / 1.1 GB, free: 352 kB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000281/1.024, allocations: 80.75 kB / 1.1 GB, free: 272 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.1033/1.128, allocations: 23.26 MB / 1.123 GB, free: 9.094 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.128, allocations: 12 kB / 1.123 GB, free: 9.082 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003236/1.128, allocations: 71.06 kB / 1.123 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002441/1.131, allocations: 0.6982 MB / 1.124 GB, free: 8.27 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.241e-05/1.131, allocations: 4 kB / 1.124 GB, free: 8.266 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.473e-05/1.131, allocations: 12 kB / 1.124 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003373/1.131, allocations: 91.95 kB / 1.124 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004591/1.131, allocations: 196.6 kB / 1.124 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/1.131, allocations: 0 / 1.124 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/1.132, allocations: 3.938 kB / 1.124 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/1.132, allocations: 4 kB / 1.124 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002081/1.134, allocations: 1.076 MB / 1.125 GB, free: 6.816 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005907/1.134, allocations: 249.4 kB / 1.125 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/1.135, allocations: 93.03 kB / 1.125 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.035e-05/1.135, allocations: 11.98 kB / 1.125 GB, free: 6.41 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004805/1.135, allocations: 189.7 kB / 1.125 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=25): time 2.876e-06/1.135, allocations: 0 / 1.125 GB, free: 6.199 MB / 0.7292 GB Notification: Performance of matching and sorting (n=25): time 0.001021/1.136, allocations: 290.7 kB / 1.126 GB, free: 5.91 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/1.136, allocations: 162.2 kB / 1.126 GB, free: 5.715 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/1.139, allocations: 0.9141 MB / 1.127 GB, free: 4.777 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.912e-05/1.139, allocations: 30.92 kB / 1.127 GB, free: 4.742 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/1.139, allocations: 172.8 kB / 1.127 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/1.139, allocations: 67.16 kB / 1.127 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.147e-05/1.139, allocations: 3.984 kB / 1.127 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001727/1.139, allocations: 334 kB / 1.127 GB, free: 4.168 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006686/1.14, allocations: 233.2 kB / 1.128 GB, free: 3.938 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000783/1.141, allocations: 317.7 kB / 1.128 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001524/1.142, allocations: 322.6 kB / 1.128 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/1.142, allocations: 0 / 1.128 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.002714/1.145, allocations: 0.7518 MB / 1.129 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/1.145, allocations: 4 kB / 1.129 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/1.145, allocations: 4 kB / 1.129 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/1.145, allocations: 9.766 kB / 1.129 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008568/1.146, allocations: 111.8 kB / 1.129 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.43e-05/1.146, allocations: 7.984 kB / 1.129 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/1.147, allocations: 39.83 kB / 1.129 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/1.147, allocations: 35.98 kB / 1.129 GB, free: 2.328 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 ($whenCondition5,$PRE.timTabLin.tab.nextTimeEvent,$whenCondition4,$PRE.timTabLinHol.tab.nextTimeEvent,$whenCondition3,$PRE.timTabLinDer.tab.nextTimeEvent,$whenCondition2,$PRE.timTabCon.tab.nextTimeEvent,$whenCondition1,$PRE.timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEvent,$PRE.timTabLinCon.tab.nextTimeEventScaled,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,$PRE.timTabCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,$PRE.timTabLinDer.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,$PRE.timTabLinHol.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,$PRE.timTabLin.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002018/1.147, allocations: 134.3 kB / 1.129 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/1.147, allocations: 75.05 kB / 1.129 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/1.148, allocations: 325.8 kB / 1.13 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.178e-05/1.148, allocations: 7.984 kB / 1.13 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/1.148, allocations: 4 kB / 1.13 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.034e-06/1.149, allocations: 4 kB / 1.13 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007906/1.149, allocations: 457.7 kB / 1.13 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.12e-05/1.149, allocations: 4 kB / 1.13 GB, free: 1.293 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002106/1.15, allocations: 31.86 kB / 1.13 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/1.15, allocations: 4 kB / 1.13 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.422e-05/1.15, allocations: 8 kB / 1.13 GB, free: 1.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.03e-05/1.15, allocations: 10.42 kB / 1.13 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.15, allocations: 0 / 1.13 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008921/1.151, allocations: 399 kB / 1.131 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001015/1.152, allocations: 0.7742 MB / 1.131 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/1.152, allocations: 176.1 kB / 1.131 GB, free: 15.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001561/1.152, allocations: 12 kB / 1.131 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003989/1.152, allocations: 11.98 kB / 1.131 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/1.153, allocations: 27.88 kB / 1.131 GB, free: 15.72 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-05/1.153, allocations: 15.98 kB / 1.131 GB, free: 15.71 MB / 0.7448 GB Notification: Performance of sort global known variables: time 0.001308/1.154, allocations: 0.5772 MB / 1.132 GB, free: 15.13 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001764/1.156, allocations: 127.9 kB / 1.132 GB, free: 15.01 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled,$whenCondition4,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,$whenCondition3,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,$whenCondition2,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,$whenCondition1,timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled) * Number of discrete states: 10 (timTabLinCon.tab.nextTimeEvent,timTabLinCon.tab.nextTimeEventScaled,timTabCon.tab.nextTimeEvent,timTabCon.tab.nextTimeEventScaled,timTabLinDer.tab.nextTimeEvent,timTabLinDer.tab.nextTimeEventScaled,timTabLinHol.tab.nextTimeEvent,timTabLinHol.tab.nextTimeEventScaled,timTabLin.tab.nextTimeEvent,timTabLin.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/1.157, allocations: 378.3 kB / 1.133 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001082/1.158, allocations: 393.1 kB / 1.133 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.048e-06/1.158, allocations: 1.219 kB / 1.133 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003184/1.158, allocations: 111.9 kB / 1.133 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001574/1.16, allocations: 187 kB / 1.133 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002667/1.163, allocations: 0.9012 MB / 1.134 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001018/1.164, allocations: 1.009 MB / 1.135 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of SimCode: time 1.082e-06/1.164, allocations: 0 / 1.135 GB, free: 12.15 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)