Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3.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.TestCase3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase3") [: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.322/2.322, allocations: 253.1 MB / 260.4 MB, free: 7.555 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.001654/0.001653, allocations: 185 kB / 319.6 MB, free: 3.289 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.852/1.852, allocations: 205.4 MB / 0.5704 GB, free: 15.04 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.001307/0.001307, allocations: 99.3 kB / 0.6746 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.965e-06/8.075e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1898/0.1898, allocations: 106.3 MB / 0.888 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.041/6.231, allocations: 2.465 GB / 3.354 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003082/6.231, allocations: 85.95 kB / 3.354 GB, free: 225 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2329/6.464, allocations: 62.61 MB / 3.415 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.000166/6.464, allocations: 27.94 kB / 3.415 GB, free: 172.3 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.003404/6.468, allocations: 1.198 MB / 3.416 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/6.468, allocations: 12.02 kB / 3.416 GB, free: 171.1 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003287/6.468, allocations: 126.4 kB / 3.416 GB, free: 171 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004656/6.473, allocations: 1.455 MB / 3.418 GB, free: 169.5 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001701/6.473, allocations: 62.69 kB / 3.418 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/6.473, allocations: 28 kB / 3.418 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009524/6.474, allocations: 321.8 kB / 3.418 GB, free: 169 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009831/6.475, allocations: 413 kB / 3.418 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/6.475, allocations: 3.906 kB / 3.418 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.73e-05/6.475, allocations: 4 kB / 3.418 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.293e-05/6.475, allocations: 8 kB / 3.418 GB, free: 168.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004525/6.48, allocations: 2.42 MB / 3.421 GB, free: 166 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001096/6.481, allocations: 387.6 kB / 3.421 GB, free: 165.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008071/6.482, allocations: 265.5 kB / 3.421 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/6.482, allocations: 4 kB / 3.421 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005075/6.482, allocations: 215.1 kB / 3.422 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=42): time 3.476e-06/6.482, allocations: 3.938 kB / 3.422 GB, free: 165.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42): time 0.001583/6.484, allocations: 0.5292 MB / 3.422 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/6.484, allocations: 55.41 kB / 3.422 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003488/6.488, allocations: 1.466 MB / 3.424 GB, free: 163 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/6.488, allocations: 33.7 kB / 3.424 GB, free: 163 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002447/6.488, allocations: 297.9 kB / 3.424 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/6.488, allocations: 134.1 kB / 3.424 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.14e-05/6.488, allocations: 0 / 3.424 GB, free: 162.6 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.812e-05/6.488, allocations: 329.9 kB / 3.424 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003833/6.489, allocations: 141.3 kB / 3.424 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/6.489, allocations: 268.3 kB / 3.425 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004836/6.49, allocations: 174.4 kB / 3.425 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.159e-06/6.49, allocations: 0 / 3.425 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001659/6.491, allocations: 0.6296 MB / 3.425 GB, free: 161 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/6.491, allocations: 8.031 kB / 3.425 GB, free: 161 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/6.491, allocations: 4 kB / 3.425 GB, free: 161 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006187/6.492, allocations: 132 kB / 3.426 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006348/6.493, allocations: 95.89 kB / 3.426 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003575/6.496, allocations: 2.193 MB / 3.428 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008767/6.497, allocations: 71.83 kB / 3.428 GB, free: 158.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.358e-05/6.497, allocations: 20 kB / 3.428 GB, free: 158.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (51): * Single equations (assignments): 50 * 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%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001631/6.497, allocations: 118.7 kB / 3.428 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/6.498, allocations: 114.5 kB / 3.428 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/6.499, allocations: 0.584 MB / 3.429 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.684e-06/6.499, allocations: 4 kB / 3.429 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/6.499, allocations: 4 kB / 3.429 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/6.499, allocations: 0 / 3.429 GB, free: 157.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/6.502, allocations: 1.444 MB / 3.43 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/6.502, allocations: 0 / 3.43 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004216/6.503, allocations: 43.97 kB / 3.43 GB, free: 156 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006207/6.504, allocations: 157.6 kB / 3.43 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/6.504, allocations: 7.984 kB / 3.43 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004278/6.508, allocations: 3.472 MB / 3.434 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/6.508, allocations: 0 / 3.434 GB, free: 152.1 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002083/6.51, allocations: 0.8468 MB / 3.435 GB, free: 151.2 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006377/6.511, allocations: 291.5 kB / 3.435 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002165/6.511, allocations: 15.98 kB / 3.435 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/6.512, allocations: 43.81 kB / 3.435 GB, free: 150.9 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001452/6.512, allocations: 39.92 kB / 3.435 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-05/6.512, allocations: 12 kB / 3.435 GB, free: 150.8 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002119/6.514, allocations: 1.155 MB / 3.436 GB, free: 149.7 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001398/6.515, allocations: 271.9 kB / 3.436 GB, free: 149.4 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%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001731/6.517, allocations: 0.9406 MB / 3.437 GB, free: 148.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001586/6.519, allocations: 0.52 MB / 3.438 GB, free: 148 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/6.519, allocations: 0 / 3.438 GB, free: 148 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00093/6.52, allocations: 447.6 kB / 3.438 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001598/6.521, allocations: 160.7 kB / 3.438 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005202/6.526, allocations: 1.968 MB / 3.44 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/6.528, allocations: 1.215 MB / 3.441 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of SimCode: time 1.192e-06/6.528, allocations: 4 kB / 3.441 GB, free: 144.2 MB / 0.8698 GB Notification: Performance of Templates: time 0.03521/6.563, allocations: 13.25 MB / 3.454 GB, free: 131 MB / 0.8698 GB