Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,tolerance=1e-07,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") translateModel(BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11,tolerance=1e-07,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.806/0.806, allocations: 141.8 MB / 149.1 MB, free: 2.457 MB / 114.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 187.4 kB / 182 MB, free: 3.371 MB / 146.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 221.4 MB / 436 MB, free: 3.621 MB / 339 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001072/0.001072, allocations: 102.7 kB / 0.507 GB, free: 1.707 MB / 387 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002419/0.002419, allocations: 274 kB / 0.5884 GB, free: 14.29 MB / 483 MB Notification: Performance of FrontEnd - loaded program: time 7.704e-06/7.724e-06, allocations: 4 kB / 0.6759 GB, free: 138.4 MB / 499 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.211, allocations: 82.78 MB / 0.7567 GB, free: 55.94 MB / 499 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.083/5.294, allocations: 2.153 GB / 2.91 GB, free: 36.52 MB / 0.6904 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002486/5.294, allocations: 100.4 kB / 2.91 GB, free: 36.43 MB / 0.6904 GB Notification: Performance of FrontEnd: time 0.5156/5.81, allocations: 73.95 MB / 2.982 GB, free: 221.7 MB / 0.6904 GB Notification: Performance of Transformations before backend: time 0.0003582/5.81, allocations: 39.25 kB / 2.982 GB, free: 221.7 MB / 0.6904 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.006295/5.816, allocations: 1.896 MB / 2.984 GB, free: 220.5 MB / 0.6904 GB Notification: Performance of prepare preOptimizeDAE: time 5.774e-05/5.816, allocations: 8.844 kB / 2.984 GB, free: 220.5 MB / 0.6904 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00151/5.818, allocations: 250.7 kB / 2.984 GB, free: 220.4 MB / 0.6904 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006768/5.825, allocations: 1.876 MB / 2.986 GB, free: 219.6 MB / 0.6904 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002866/5.825, allocations: 81.2 kB / 2.986 GB, free: 219.5 MB / 0.6904 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004129/5.826, allocations: 50.14 kB / 2.986 GB, free: 219.5 MB / 0.6904 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00185/5.827, allocations: 0.5338 MB / 2.987 GB, free: 219.3 MB / 0.6904 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002082/5.83, allocations: 0.7189 MB / 2.988 GB, free: 219 MB / 0.6904 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/5.83, allocations: 5.438 kB / 2.988 GB, free: 219 MB / 0.6904 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/5.83, allocations: 2.344 kB / 2.988 GB, free: 219 MB / 0.6904 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.344e-05/5.83, allocations: 26.62 kB / 2.988 GB, free: 219 MB / 0.6904 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007679/5.837, allocations: 3.919 MB / 2.991 GB, free: 216.5 MB / 0.6904 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009071/5.838, allocations: 408.3 kB / 2.992 GB, free: 216.3 MB / 0.6904 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006791/5.839, allocations: 349 kB / 2.992 GB, free: 216.2 MB / 0.6904 GB Notification: Performance of preOpt evalFunc (simulation): time 5.948e-05/5.839, allocations: 12.38 kB / 2.992 GB, free: 216.2 MB / 0.6904 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006689/5.84, allocations: 359 kB / 2.993 GB, free: 216 MB / 0.6904 GB Notification: Performance of pre-optimization done (n=79): time 3.697e-06/5.84, allocations: 0.9062 kB / 2.993 GB, free: 216 MB / 0.6904 GB Notification: Performance of matching and sorting (n=79): time 0.002736/5.843, allocations: 0.9739 MB / 2.993 GB, free: 215.6 MB / 0.6904 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.432e-05/5.843, allocations: 146 kB / 2.994 GB, free: 215.5 MB / 0.6904 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008787/5.851, allocations: 2.701 MB / 2.996 GB, free: 214.5 MB / 0.6904 GB Notification: Performance of collectPreVariables (initialization): time 0.0003136/5.852, allocations: 38.58 kB / 2.996 GB, free: 214.5 MB / 0.6904 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007255/5.853, allocations: 471.5 kB / 2.997 GB, free: 214.2 MB / 0.6904 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005053/5.853, allocations: 248.7 kB / 2.997 GB, free: 214 MB / 0.6904 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-05/5.853, allocations: 0 / 2.997 GB, free: 214 MB / 0.6904 GB Notification: Performance of setup shared object (initialization): time 0.0001017/5.853, allocations: 336.9 kB / 2.997 GB, free: 213.7 MB / 0.6904 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005647/5.854, allocations: 240.6 kB / 2.998 GB, free: 213.6 MB / 0.6904 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007005/5.855, allocations: 397 kB / 2.998 GB, free: 213.3 MB / 0.6904 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006918/5.855, allocations: 279.4 kB / 2.998 GB, free: 213.2 MB / 0.6904 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.277e-05/5.855, allocations: 1.188 kB / 2.998 GB, free: 213.2 MB / 0.6904 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.00302/5.858, allocations: 1.095 MB / 2.999 GB, free: 212.8 MB / 0.6904 GB Notification: Performance of prepare postOptimizeDAE: time 2.229e-05/5.858, allocations: 7.812 kB / 2.999 GB, free: 212.8 MB / 0.6904 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/5.858, allocations: 6.328 kB / 2.999 GB, free: 212.8 MB / 0.6904 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009345/5.859, allocations: 298.8 kB / 3 GB, free: 212.7 MB / 0.6904 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005528/5.86, allocations: 145.6 kB / 3 GB, free: 212.7 MB / 0.6904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004958/5.865, allocations: 3.458 MB / 3.003 GB, free: 210.5 MB / 0.6904 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001465/5.866, allocations: 120.3 kB / 3.003 GB, free: 210.4 MB / 0.6904 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001585/5.867, allocations: 37.09 kB / 3.003 GB, free: 210.4 MB / 0.6904 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: conHeaCoo.y:VARIABLE() "Connector of actuator output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.setTemp.nextTimeEvent,$whenCondition2,$whenCondition3,$whenCondition1,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled,$PRE.hysteresis.y,hysteresis.y,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y_last,mean.y_last,switchMea.u2,not1.y,$PRE.timer.entryTime,timer.entryTime,$PRE.cha.u,cha.u,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 30} Notification: Performance of prepare postOptimizeDAE: time 0.0003029/5.867, allocations: 129.1 kB / 3.003 GB, free: 210.3 MB / 0.6904 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007488/5.868, allocations: 208.1 kB / 3.004 GB, free: 210.2 MB / 0.6904 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/5.87, allocations: 0.9775 MB / 3.004 GB, free: 209.8 MB / 0.6904 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/5.87, allocations: 8.25 kB / 3.004 GB, free: 209.8 MB / 0.6904 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/5.87, allocations: 1.375 kB / 3.004 GB, free: 209.8 MB / 0.6904 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.062e-05/5.87, allocations: 3.141 kB / 3.004 GB, free: 209.8 MB / 0.6904 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007182/5.877, allocations: 2.689 MB / 3.007 GB, free: 208.8 MB / 0.6904 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/5.877, allocations: 0 / 3.007 GB, free: 208.8 MB / 0.6904 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/5.878, allocations: 83.2 kB / 3.007 GB, free: 208.8 MB / 0.6904 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009636/5.879, allocations: 312 kB / 3.008 GB, free: 208.7 MB / 0.6904 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.927e-05/5.879, allocations: 12.28 kB / 3.008 GB, free: 208.7 MB / 0.6904 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00568/5.885, allocations: 4.488 MB / 3.012 GB, free: 205.3 MB / 0.6904 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.1e-06/5.885, allocations: 4.75 kB / 3.012 GB, free: 205.3 MB / 0.6904 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003555/5.888, allocations: 1.47 MB / 3.013 GB, free: 204.6 MB / 0.6904 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001405/5.89, allocations: 489 kB / 3.014 GB, free: 204.3 MB / 0.6904 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006381/5.89, allocations: 9.641 kB / 3.014 GB, free: 204.3 MB / 0.6904 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/5.891, allocations: 64.41 kB / 3.014 GB, free: 204.3 MB / 0.6904 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/5.892, allocations: 75.73 kB / 3.014 GB, free: 204.3 MB / 0.6904 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.179e-05/5.892, allocations: 35.56 kB / 3.014 GB, free: 204.3 MB / 0.6904 GB Notification: Performance of sort global known variables: time 0.004808/5.897, allocations: 2.128 MB / 3.016 GB, free: 203.5 MB / 0.6904 GB Notification: Performance of remove unused functions: time 0.002971/5.9, allocations: 431.5 kB / 3.016 GB, free: 203.4 MB / 0.6904 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,assEqu.diff,mean.x) * Number of discrete variables: 21 (not1.y,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,hysteresis.y,assEqu.satisfied,assEqu.nFai,mean.y_last,switchMea.u2,timer.entryTime,cha.u) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,assEqu.satisfied,assEqu.nFai,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled,hysteresis.y,cha.u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 1 {3 27} Notification: Performance of Backend phase and start with SimCode phase: time 0.002073/5.902, allocations: 0.9453 MB / 3.017 GB, free: 202.8 MB / 0.6904 GB Notification: Performance of simCode: created initialization part: time 0.002197/5.904, allocations: 0.8854 MB / 3.018 GB, free: 201.9 MB / 0.6904 GB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/5.904, allocations: 4 kB / 3.018 GB, free: 201.9 MB / 0.6904 GB Notification: Performance of simCode: created simulation system equations: time 0.001345/5.905, allocations: 0.6712 MB / 3.019 GB, free: 201.3 MB / 0.6904 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002405/5.908, allocations: 254 kB / 3.019 GB, free: 201.1 MB / 0.6904 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008519/5.916, allocations: 3.519 MB / 3.023 GB, free: 197.5 MB / 0.6904 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002271/5.919, allocations: 1.656 MB / 3.024 GB, free: 195.9 MB / 0.6904 GB Notification: Performance of SimCode: time 2.805e-06/5.919, allocations: 0 / 3.024 GB, free: 195.9 MB / 0.6904 GB Notification: Performance of Templates: time 0.04344/5.962, allocations: 21.25 MB / 3.045 GB, free: 174.8 MB / 0.6904 GB make -j1 -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.makefile (rm -f BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; mkfifo BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe >> ../files/BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.sim & ./BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11 -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase11.pipe 2>&1)