Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1.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.TestCase1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase1") [: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.118/2.118, allocations: 253.1 MB / 260.4 MB, free: 7.551 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.001664, allocations: 185.2 kB / 319.6 MB, free: 3.32 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.855/1.855, allocations: 205.4 MB / 0.5704 GB, free: 15.15 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.00136/0.00136, allocations: 100.5 kB / 0.6746 GB, free: 4.516 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.007e-06/9.107e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2319, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.266/6.498, allocations: 2.466 GB / 3.354 GB, free: 269.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004034/6.499, allocations: 91.94 kB / 3.354 GB, free: 269.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2208/6.719, allocations: 62.59 MB / 3.415 GB, free: 206.7 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001278/6.72, allocations: 27.94 kB / 3.415 GB, free: 206.7 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.002892/6.723, allocations: 1.194 MB / 3.416 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.806e-05/6.723, allocations: 12.03 kB / 3.416 GB, free: 205.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004416/6.723, allocations: 130.4 kB / 3.416 GB, free: 205.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005229/6.728, allocations: 1.459 MB / 3.418 GB, free: 203.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001845/6.729, allocations: 58.69 kB / 3.418 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/6.729, allocations: 31.94 kB / 3.418 GB, free: 203.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001009/6.73, allocations: 313.9 kB / 3.418 GB, free: 203.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/6.731, allocations: 417 kB / 3.418 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.058e-05/6.731, allocations: 3.906 kB / 3.418 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.965e-05/6.731, allocations: 8 kB / 3.418 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.37e-05/6.731, allocations: 8 kB / 3.418 GB, free: 202.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004909/6.736, allocations: 2.42 MB / 3.421 GB, free: 200.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/6.737, allocations: 390.2 kB / 3.421 GB, free: 199.9 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000809/6.738, allocations: 265.7 kB / 3.421 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.836e-05/6.738, allocations: 4 kB / 3.421 GB, free: 199.7 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005075/6.738, allocations: 219 kB / 3.422 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=42): time 3.336e-06/6.738, allocations: 0 / 3.422 GB, free: 199.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42): time 0.001629/6.74, allocations: 0.5253 MB / 3.422 GB, free: 198.9 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.347e-05/6.74, allocations: 59.41 kB / 3.422 GB, free: 198.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003473/6.744, allocations: 1.466 MB / 3.424 GB, free: 197.4 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.59e-05/6.744, allocations: 25.7 kB / 3.424 GB, free: 197.3 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/6.744, allocations: 305.9 kB / 3.424 GB, free: 197 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001539/6.744, allocations: 134.2 kB / 3.424 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/6.744, allocations: 0 / 3.424 GB, free: 196.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.796e-05/6.744, allocations: 329.9 kB / 3.424 GB, free: 196.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003745/6.745, allocations: 141.3 kB / 3.424 GB, free: 196.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004304/6.745, allocations: 264.3 kB / 3.425 GB, free: 196.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004665/6.746, allocations: 175.9 kB / 3.425 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/6.746, allocations: 0 / 3.425 GB, free: 195.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001665/6.747, allocations: 0.6254 MB / 3.425 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/6.747, allocations: 10.48 kB / 3.425 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/6.747, allocations: 4.344 kB / 3.425 GB, free: 195.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006292/6.748, allocations: 131.3 kB / 3.426 GB, free: 195.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/6.749, allocations: 95.88 kB / 3.426 GB, free: 195.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003659/6.752, allocations: 2.199 MB / 3.428 GB, free: 192.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009009/6.753, allocations: 63.84 kB / 3.428 GB, free: 192.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/6.753, allocations: 20 kB / 3.428 GB, free: 192.7 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.0001891/6.754, allocations: 118.7 kB / 3.428 GB, free: 192.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/6.754, allocations: 118.5 kB / 3.428 GB, free: 192.4 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001782/6.756, allocations: 0.5801 MB / 3.429 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/6.756, allocations: 8 kB / 3.429 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/6.756, allocations: 4 kB / 3.429 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/6.756, allocations: 3.984 kB / 3.429 GB, free: 191.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003112/6.759, allocations: 1.44 MB / 3.43 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.681e-06/6.759, allocations: 0 / 3.43 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004315/6.759, allocations: 51.91 kB / 3.43 GB, free: 190.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006303/6.76, allocations: 153.6 kB / 3.43 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.633e-05/6.76, allocations: 7.984 kB / 3.43 GB, free: 190.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004366/6.764, allocations: 3.472 MB / 3.434 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/6.764, allocations: 7.938 kB / 3.434 GB, free: 186.4 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002107/6.766, allocations: 0.843 MB / 3.435 GB, free: 185.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006146/6.767, allocations: 287.6 kB / 3.435 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002193/6.767, allocations: 11.98 kB / 3.435 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006446/6.768, allocations: 43.81 kB / 3.435 GB, free: 185.2 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/6.768, allocations: 43.92 kB / 3.435 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.564e-05/6.768, allocations: 15.98 kB / 3.435 GB, free: 185.1 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002108/6.77, allocations: 1.151 MB / 3.436 GB, free: 184 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001396/6.772, allocations: 267.9 kB / 3.436 GB, free: 183.7 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.001841/6.774, allocations: 0.9406 MB / 3.437 GB, free: 182.9 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001584/6.775, allocations: 0.5177 MB / 3.438 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/6.775, allocations: 4 kB / 3.438 GB, free: 182.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000915/6.776, allocations: 439.6 kB / 3.438 GB, free: 181.9 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/6.778, allocations: 164.3 kB / 3.438 GB, free: 181.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005486/6.783, allocations: 1.968 MB / 3.44 GB, free: 179.7 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001195/6.785, allocations: 1.219 MB / 3.441 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of SimCode: time 1.112e-06/6.785, allocations: 0 / 3.441 GB, free: 178.5 MB / 0.8698 GB Notification: Performance of Templates: time 0.03655/6.821, allocations: 13.24 MB / 3.454 GB, free: 165.3 MB / 0.8698 GB