Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase2") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.025/2.025, allocations: 253.1 MB / 260.4 MB, free: 7.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001664/0.001663, allocations: 189.2 kB / 319.6 MB, free: 3.305 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.9/1.9, allocations: 205.4 MB / 0.5704 GB, free: 15.06 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 99.3 kB / 0.6746 GB, free: 4.41 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.608e-06/9.778e-06, allocations: 4 kB / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2229, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.377/6.6, allocations: 2.466 GB / 3.354 GB, free: 225.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000287/6.601, allocations: 99.12 kB / 3.354 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2062/6.807, allocations: 62.59 MB / 3.415 GB, free: 172.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001666/6.807, allocations: 27.94 kB / 3.415 GB, free: 172.6 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.003084/6.81, allocations: 1.19 MB / 3.416 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/6.81, allocations: 12.03 kB / 3.416 GB, free: 171.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004758/6.811, allocations: 130.4 kB / 3.416 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005032/6.816, allocations: 1.455 MB / 3.418 GB, free: 169.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001835/6.816, allocations: 62.69 kB / 3.418 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/6.816, allocations: 32 kB / 3.418 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009756/6.817, allocations: 313.9 kB / 3.418 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/6.818, allocations: 413 kB / 3.418 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/6.818, allocations: 3.906 kB / 3.418 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-05/6.818, allocations: 7.938 kB / 3.418 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/6.818, allocations: 12 kB / 3.418 GB, free: 168.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004663/6.823, allocations: 2.442 MB / 3.421 GB, free: 166.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00128/6.824, allocations: 421.9 kB / 3.421 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006117/6.825, allocations: 244.7 kB / 3.421 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.073e-05/6.825, allocations: 7.938 kB / 3.421 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005119/6.826, allocations: 223.3 kB / 3.422 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 4.058e-06/6.826, allocations: 4 kB / 3.422 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.001828/6.827, allocations: 0.5639 MB / 3.422 GB, free: 164.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/6.827, allocations: 55.41 kB / 3.422 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003609/6.831, allocations: 1.462 MB / 3.424 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/6.831, allocations: 25.7 kB / 3.424 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/6.831, allocations: 298 kB / 3.424 GB, free: 162.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001789/6.832, allocations: 130.1 kB / 3.424 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/6.832, allocations: 0 / 3.424 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.704e-05/6.832, allocations: 333.9 kB / 3.424 GB, free: 162.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003969/6.832, allocations: 141.3 kB / 3.424 GB, free: 162.3 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004348/6.833, allocations: 250.1 kB / 3.425 GB, free: 162 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004524/6.833, allocations: 179.9 kB / 3.425 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/6.833, allocations: 0 / 3.425 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001913/6.835, allocations: 0.651 MB / 3.426 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/6.835, allocations: 4 kB / 3.426 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/6.835, allocations: 4 kB / 3.426 GB, free: 161.2 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007524/6.836, allocations: 159.1 kB / 3.426 GB, free: 161 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006043/6.837, allocations: 95.81 kB / 3.426 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004312/6.841, allocations: 2.439 MB / 3.428 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000948/6.842, allocations: 55.72 kB / 3.428 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.543e-05/6.842, allocations: 20 kB / 3.428 GB, free: 158.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition5,$whenCondition4,$PRE.intGai.nextTimeEvent,$whenCondition3,$PRE.reference.nextTimeEvent,$whenCondition1,$whenCondition2,reference.nextTimeEvent,$PRE.reference.nextTimeEventScaled,reference.nextTimeEventScaled,$PRE.assEqu.satisfied,assEqu.satisfied,$PRE.mean.y,mean.y,intGai.nextTimeEvent,$PRE.intGai.nextTimeEventScaled,intGai.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 46 * 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: 1 {(2,100.0%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001831/6.842, allocations: 130.5 kB / 3.428 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002593/6.842, allocations: 114.5 kB / 3.428 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002025/6.844, allocations: 0.6183 MB / 3.429 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/6.844, allocations: 8 kB / 3.429 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/6.845, allocations: 4 kB / 3.429 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.127e-06/6.845, allocations: 0 / 3.429 GB, free: 157.4 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003765/6.848, allocations: 1.478 MB / 3.431 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/6.848, allocations: 0 / 3.431 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000436/6.849, allocations: 43.97 kB / 3.431 GB, free: 155.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007514/6.85, allocations: 181.5 kB / 3.431 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.286e-05/6.85, allocations: 7.984 kB / 3.431 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005224/6.855, allocations: 3.742 MB / 3.434 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/6.855, allocations: 4.062 kB / 3.434 GB, free: 151.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002257/6.857, allocations: 0.8852 MB / 3.435 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007251/6.858, allocations: 295.9 kB / 3.436 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002401/6.858, allocations: 11.91 kB / 3.436 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007028/6.859, allocations: 35.97 kB / 3.436 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/6.859, allocations: 43.91 kB / 3.436 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.99e-05/6.859, allocations: 23.98 kB / 3.436 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002225/6.861, allocations: 1.143 MB / 3.437 GB, free: 149.2 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001582/6.863, allocations: 267.5 kB / 3.437 GB, free: 148.9 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,mean.x) * Number of discrete variables: 12 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 7 (intGai.nextTimeEvent,reference.nextTimeEvent,mean.x,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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: 2 {(2,100.0%) 13,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001744/6.865, allocations: 0.935 MB / 3.438 GB, free: 148.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001601/6.866, allocations: 0.5308 MB / 3.438 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/6.866, allocations: 0 / 3.438 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001108/6.868, allocations: 476.2 kB / 3.439 GB, free: 147.1 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/6.869, allocations: 163.3 kB / 3.439 GB, free: 146.9 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00586/6.875, allocations: 1.98 MB / 3.441 GB, free: 144.9 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001264/6.876, allocations: 1.223 MB / 3.442 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.452e-06/6.876, allocations: 0 / 3.442 GB, free: 143.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.03704/6.914, allocations: 13.51 MB / 3.455 GB, free: 130.2 MB / 0.8698 GB