Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable,fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.813/1.813, allocations: 387.2 MB / 394.5 MB, free: 13.62 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009876/0.0009876, allocations: 177.3 kB / 487 MB, free: 5.324 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.151/1.151, allocations: 221.3 MB / 0.7819 GB, free: 1.363 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008764/0.0008766, allocations: 113.8 kB / 0.9213 GB, free: 2.617 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.4207/0.4216, allocations: 148.5 MB / 1.066 GB, free: 168.1 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1838/0.6053, allocations: 142.3 MB / 1.205 GB, free: 26.08 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.527/1.132, allocations: 152.4 MB / 1.354 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001855/1.133, allocations: 80.75 kB / 1.354 GB, free: 15.66 MB / 0.8073 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.05284/1.185, allocations: 23.87 MB / 1.378 GB, free: 1.059 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.77e-05/1.185, allocations: 8 kB / 1.378 GB, free: 1.051 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001078/1.186, allocations: 71.06 kB / 1.378 GB, free: 0.9805 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/1.187, allocations: 0.691 MB / 1.378 GB, free: 372 kB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/1.187, allocations: 11.89 kB / 1.378 GB, free: 360 kB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.669e-05/1.187, allocations: 8 kB / 1.378 GB, free: 352 kB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001512/1.187, allocations: 100.5 kB / 1.378 GB, free: 284 kB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/1.187, allocations: 186.3 kB / 1.379 GB, free: 116 kB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.834e-06/1.187, allocations: 0 / 1.379 GB, free: 116 kB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.785e-05/1.187, allocations: 4 kB / 1.379 GB, free: 112 kB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/1.187, allocations: 4 kB / 1.379 GB, free: 108 kB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/1.188, allocations: 1.073 MB / 1.38 GB, free: 15.15 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003026/1.188, allocations: 253.6 kB / 1.38 GB, free: 14.91 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001263/1.189, allocations: 93 kB / 1.38 GB, free: 14.83 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/1.189, allocations: 4.938 kB / 1.38 GB, free: 14.82 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002341/1.189, allocations: 202 kB / 1.38 GB, free: 14.64 MB / 0.823 GB Notification: Performance of pre-optimization done (n=25): time 1.493e-06/1.189, allocations: 0 / 1.38 GB, free: 14.64 MB / 0.823 GB Notification: Performance of matching and sorting (n=25): time 0.0004674/1.189, allocations: 280.4 kB / 1.38 GB, free: 14.41 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.051e-05/1.189, allocations: 166 kB / 1.381 GB, free: 14.21 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/1.191, allocations: 0.9095 MB / 1.381 GB, free: 13.53 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.076e-05/1.191, allocations: 33.19 kB / 1.382 GB, free: 13.49 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/1.191, allocations: 173.8 kB / 1.382 GB, free: 13.35 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 6.436e-05/1.191, allocations: 77.52 kB / 1.382 GB, free: 13.29 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.867e-05/1.191, allocations: 0 / 1.382 GB, free: 13.29 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.747e-05/1.191, allocations: 328.1 kB / 1.382 GB, free: 12.97 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/1.191, allocations: 236.1 kB / 1.382 GB, free: 12.82 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003496/1.192, allocations: 326.5 kB / 1.383 GB, free: 12.56 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007127/1.192, allocations: 313.1 kB / 1.383 GB, free: 12.34 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.192, allocations: 4 kB / 1.383 GB, free: 12.34 MB / 0.823 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.001268/1.194, allocations: 0.7504 MB / 1.384 GB, free: 11.74 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.015e-05/1.194, allocations: 8.094 kB / 1.384 GB, free: 11.73 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/1.194, allocations: 8 kB / 1.384 GB, free: 11.73 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/1.194, allocations: 4 kB / 1.384 GB, free: 11.72 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/1.194, allocations: 118.1 kB / 1.384 GB, free: 11.61 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/1.194, allocations: 8 kB / 1.384 GB, free: 11.61 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002754/1.194, allocations: 27.73 kB / 1.384 GB, free: 11.58 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.323e-05/1.194, allocations: 33.86 kB / 1.384 GB, free: 11.55 MB / 0.823 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.0001179/1.194, allocations: 150.4 kB / 1.384 GB, free: 11.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.506e-05/1.195, allocations: 75.06 kB / 1.384 GB, free: 11.33 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004793/1.195, allocations: 322.5 kB / 1.384 GB, free: 11.08 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/1.195, allocations: 8 kB / 1.384 GB, free: 11.07 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/1.195, allocations: 3.984 kB / 1.384 GB, free: 11.07 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.195, allocations: 0 / 1.384 GB, free: 11.07 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003875/1.196, allocations: 448.2 kB / 1.385 GB, free: 10.69 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/1.196, allocations: 7.984 kB / 1.385 GB, free: 10.68 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.999e-05/1.196, allocations: 23.94 kB / 1.385 GB, free: 10.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/1.196, allocations: 4 kB / 1.385 GB, free: 10.66 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/1.196, allocations: 11.05 kB / 1.385 GB, free: 10.65 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/1.196, allocations: 4 kB / 1.385 GB, free: 10.64 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/1.196, allocations: 0 / 1.385 GB, free: 10.64 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004385/1.196, allocations: 415.2 kB / 1.385 GB, free: 10.25 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005348/1.197, allocations: 0.771 MB / 1.386 GB, free: 9.48 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000163/1.197, allocations: 178.5 kB / 1.386 GB, free: 9.301 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.933e-05/1.197, allocations: 11.92 kB / 1.386 GB, free: 9.289 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/1.197, allocations: 19.67 kB / 1.386 GB, free: 9.273 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.138e-05/1.197, allocations: 30.94 kB / 1.386 GB, free: 9.246 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.102e-05/1.197, allocations: 11.98 kB / 1.386 GB, free: 9.234 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0005671/1.198, allocations: 0.5708 MB / 1.387 GB, free: 8.809 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0009637/1.199, allocations: 138.5 kB / 1.387 GB, free: 8.684 MB / 0.823 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.0007217/1.199, allocations: 376.5 kB / 1.387 GB, free: 8.422 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0004883/1.2, allocations: 391.5 kB / 1.388 GB, free: 8.148 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/1.2, allocations: 320 / 1.388 GB, free: 8.148 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/1.2, allocations: 117.8 kB / 1.388 GB, free: 8.066 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007126/1.201, allocations: 190.3 kB / 1.388 GB, free: 7.922 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/1.202, allocations: 0.9017 MB / 1.389 GB, free: 7.105 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005922/1.203, allocations: 1.001 MB / 1.39 GB, free: 6.098 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/1.203, allocations: 0 / 1.39 GB, free: 6.098 MB / 0.823 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_TimeTable.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.TimeTable.pipe 2>&1)