Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7.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.TestCase7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase7") [: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.027/2.027, 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.001645/0.001644, allocations: 185.2 kB / 319.6 MB, free: 3.324 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.809/1.809, allocations: 205.4 MB / 0.5704 GB, free: 15.08 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.001286/0.001286, allocations: 95.83 kB / 0.6746 GB, free: 4.438 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.817e-06/8.957e-06, allocations: 4 kB / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1905, allocations: 106.2 MB / 0.888 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.021/6.211, allocations: 2.47 GB / 3.358 GB, free: 221 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003146/6.212, allocations: 92.94 kB / 3.358 GB, free: 220.9 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2665/6.478, allocations: 69.27 MB / 3.425 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0003147/6.479, allocations: 35.94 kB / 3.425 GB, free: 161.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: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.004189/6.483, allocations: 1.509 MB / 3.427 GB, free: 159.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.46e-05/6.483, allocations: 12.03 kB / 3.427 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006849/6.484, allocations: 181.8 kB / 3.427 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005844/6.489, allocations: 1.668 MB / 3.429 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/6.49, allocations: 78.98 kB / 3.429 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/6.49, allocations: 36 kB / 3.429 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001393/6.491, allocations: 438.5 kB / 3.429 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/6.493, allocations: 0.5793 MB / 3.43 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/6.493, allocations: 12 kB / 3.43 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.892e-05/6.493, allocations: 7.906 kB / 3.43 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.766e-05/6.493, allocations: 16 kB / 3.43 GB, free: 156.7 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006605/6.5, allocations: 3.29 MB / 3.433 GB, free: 153.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001684/6.501, allocations: 0.5506 MB / 3.434 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008015/6.502, allocations: 313.5 kB / 3.434 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.749e-05/6.502, allocations: 4.5 kB / 3.434 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007113/6.503, allocations: 306.8 kB / 3.434 GB, free: 152 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=63): time 3.487e-06/6.503, allocations: 0 / 3.434 GB, free: 152 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63): time 0.002806/6.506, allocations: 0.8273 MB / 3.435 GB, free: 151.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.556e-05/6.506, allocations: 111.5 kB / 3.435 GB, free: 151 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00472/6.511, allocations: 1.874 MB / 3.437 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001902/6.511, allocations: 29.7 kB / 3.437 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003455/6.511, allocations: 379.7 kB / 3.437 GB, free: 148.7 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002319/6.511, allocations: 189.1 kB / 3.438 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.457e-05/6.511, allocations: 0 / 3.438 GB, free: 148.5 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.471e-05/6.512, allocations: 334 kB / 3.438 GB, free: 148.2 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000562/6.512, allocations: 197.5 kB / 3.438 GB, free: 148 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006085/6.513, allocations: 342 kB / 3.438 GB, free: 147.6 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006484/6.513, allocations: 232.7 kB / 3.439 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.975e-06/6.513, allocations: 8 kB / 3.439 GB, free: 147.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002897/6.516, allocations: 0.9225 MB / 3.44 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/6.516, allocations: 8 kB / 3.44 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/6.516, allocations: 4 kB / 3.44 GB, free: 146.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/6.518, allocations: 239.5 kB / 3.44 GB, free: 146.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008055/6.518, allocations: 111.8 kB / 3.44 GB, free: 146.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006418/6.525, allocations: 3.078 MB / 3.443 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/6.526, allocations: 87.39 kB / 3.443 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.442e-05/6.526, allocations: 24 kB / 3.443 GB, free: 142.8 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: 25 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition6,$whenCondition5,$PRE.intGai.nextTimeEvent,$whenCondition4,$PRE.reference.nextTimeEvent,$whenCondition3,$PRE.setTemp.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,setTemp.nextTimeEvent,$PRE.setTemp.nextTimeEventScaled,setTemp.nextTimeEventScaled,conHeaCoo.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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 {2 25} Notification: Performance of prepare postOptimizeDAE: time 0.0002282/6.527, allocations: 139.4 kB / 3.443 GB, free: 142.6 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003279/6.527, allocations: 150 kB / 3.443 GB, free: 142.5 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002936/6.53, allocations: 0.8839 MB / 3.444 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-05/6.53, allocations: 11.91 kB / 3.444 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/6.53, allocations: 3.984 kB / 3.444 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.011e-05/6.53, allocations: 0 / 3.444 GB, free: 141.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004822/6.535, allocations: 2.002 MB / 3.446 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/6.535, allocations: 4 kB / 3.446 GB, free: 139.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005893/6.535, allocations: 67.91 kB / 3.446 GB, free: 139.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/6.537, allocations: 266.5 kB / 3.446 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.415e-05/6.537, allocations: 4 kB / 3.446 GB, free: 139.2 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006689/6.543, allocations: 4.211 MB / 3.451 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/6.543, allocations: 7.938 kB / 3.451 GB, free: 134.7 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003467/6.547, allocations: 1.247 MB / 3.452 GB, free: 133.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009093/6.548, allocations: 378.9 kB / 3.452 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002952/6.548, allocations: 4 kB / 3.452 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009187/6.549, allocations: 55.86 kB / 3.452 GB, free: 133 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001866/6.549, allocations: 52.56 kB / 3.452 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.599e-05/6.549, allocations: 31.98 kB / 3.452 GB, free: 132.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002638/6.552, allocations: 1.463 MB / 3.454 GB, free: 131.4 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001743/6.554, allocations: 353.5 kB / 3.454 GB, free: 131.1 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,conHeaCoo.I.y,mean.x) * Number of discrete variables: 15 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,setTemp.nextTimeEvent,setTemp.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 9 (intGai.nextTimeEvent,reference.nextTimeEvent,setTemp.nextTimeEvent,mean.x,setTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.00172/6.556, allocations: 0.9393 MB / 3.455 GB, free: 130.3 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002033/6.558, allocations: 0.6945 MB / 3.456 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/6.558, allocations: 0 / 3.456 GB, free: 129.6 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/6.559, allocations: 0.5672 MB / 3.456 GB, free: 129 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/6.561, allocations: 224.9 kB / 3.456 GB, free: 128.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007132/6.568, allocations: 2.602 MB / 3.459 GB, free: 126.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001512/6.57, allocations: 1.41 MB / 3.46 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of SimCode: time 1.343e-06/6.57, allocations: 0 / 3.46 GB, free: 124.7 MB / 0.8698 GB Notification: Performance of Templates: time 0.04804/6.618, allocations: 18.29 MB / 3.478 GB, free: 106.5 MB / 0.8698 GB