Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6.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.TestCase6,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase6") [: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.016/2.016, allocations: 253.1 MB / 260.4 MB, free: 7.488 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.001593/0.001592, allocations: 181.2 kB / 319.6 MB, free: 3.309 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.821/1.821, allocations: 205.4 MB / 0.5704 GB, free: 15.07 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.002096/0.002096, allocations: 96.75 kB / 0.6746 GB, free: 4.414 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.735e-06/7.885e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1848, allocations: 106.2 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.88/6.065, allocations: 2.466 GB / 3.354 GB, free: 224.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003433/6.065, allocations: 89.58 kB / 3.354 GB, free: 224.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.2194/6.285, allocations: 65.67 MB / 3.418 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001376/6.285, allocations: 32 kB / 3.418 GB, free: 169 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.003008/6.288, allocations: 1.334 MB / 3.419 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/6.288, allocations: 11.97 kB / 3.419 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005369/6.289, allocations: 158 kB / 3.42 GB, free: 167.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005449/6.294, allocations: 1.553 MB / 3.421 GB, free: 165.9 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001863/6.294, allocations: 62.69 kB / 3.421 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001065/6.295, allocations: 32 kB / 3.421 GB, free: 165.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001089/6.296, allocations: 349.9 kB / 3.422 GB, free: 165.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/6.297, allocations: 457 kB / 3.422 GB, free: 165 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.076e-05/6.297, allocations: 3.938 kB / 3.422 GB, free: 165 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.554e-05/6.297, allocations: 7.906 kB / 3.422 GB, free: 165 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/6.297, allocations: 12 kB / 3.422 GB, free: 164.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00496/6.302, allocations: 2.665 MB / 3.425 GB, free: 162.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001301/6.303, allocations: 456.1 kB / 3.425 GB, free: 161.6 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000699/6.304, allocations: 263.9 kB / 3.425 GB, free: 161.4 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.964e-05/6.304, allocations: 7.984 kB / 3.425 GB, free: 161.3 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005894/6.305, allocations: 256.6 kB / 3.426 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=50): time 3.767e-06/6.305, allocations: 0 / 3.426 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=50): time 0.001947/6.307, allocations: 0.6239 MB / 3.426 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.801e-05/6.307, allocations: 55.84 kB / 3.426 GB, free: 160.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004363/6.311, allocations: 1.76 MB / 3.428 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001549/6.311, allocations: 33.69 kB / 3.428 GB, free: 158.6 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/6.311, allocations: 335.2 kB / 3.428 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002129/6.312, allocations: 157.7 kB / 3.428 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/6.312, allocations: 0 / 3.428 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.847e-05/6.312, allocations: 334 kB / 3.429 GB, free: 157.7 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000428/6.312, allocations: 153.3 kB / 3.429 GB, free: 157.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004708/6.313, allocations: 276.6 kB / 3.429 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004889/6.313, allocations: 188.4 kB / 3.429 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/6.313, allocations: 3.938 kB / 3.429 GB, free: 157.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002039/6.315, allocations: 0.7053 MB / 3.43 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.084e-05/6.315, allocations: 4 kB / 3.43 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/6.315, allocations: 4 kB / 3.43 GB, free: 156.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000808/6.316, allocations: 162.2 kB / 3.43 GB, free: 156.2 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006736/6.317, allocations: 107.7 kB / 3.43 GB, free: 156.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004407/6.321, allocations: 2.466 MB / 3.433 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/6.322, allocations: 63.62 kB / 3.433 GB, free: 153.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.267e-05/6.323, allocations: 27.98 kB / 3.433 GB, free: 153.4 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: 24 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 53 * 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%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001848/6.323, allocations: 123.4 kB / 3.433 GB, free: 153.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/6.323, allocations: 138.2 kB / 3.433 GB, free: 153.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002132/6.325, allocations: 0.69 MB / 3.434 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.498e-06/6.325, allocations: 12 kB / 3.434 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.188e-06/6.325, allocations: 4 kB / 3.434 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.629e-06/6.325, allocations: 0 / 3.434 GB, free: 152.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003948/6.329, allocations: 1.687 MB / 3.435 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.043e-06/6.329, allocations: 0 / 3.435 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004855/6.33, allocations: 59.91 kB / 3.435 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007518/6.33, allocations: 177.6 kB / 3.436 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.821e-05/6.331, allocations: 11.89 kB / 3.436 GB, free: 150.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005162/6.336, allocations: 3.772 MB / 3.439 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/6.336, allocations: 3.938 kB / 3.439 GB, free: 146.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002548/6.338, allocations: 0.9852 MB / 3.44 GB, free: 145.4 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008054/6.339, allocations: 343.4 kB / 3.441 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/6.339, allocations: 12 kB / 3.441 GB, free: 145.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007488/6.34, allocations: 39.95 kB / 3.441 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001638/6.34, allocations: 52.36 kB / 3.441 GB, free: 145 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.257e-05/6.34, allocations: 19.98 kB / 3.441 GB, free: 145 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002512/6.343, allocations: 1.391 MB / 3.442 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001699/6.345, allocations: 299.5 kB / 3.442 GB, free: 143.3 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: 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 (35): * Single equations (assignments): 25 * 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: 2 {(2,100.0%) 14,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001757/6.347, allocations: 0.9346 MB / 3.443 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001716/6.348, allocations: 0.5792 MB / 3.444 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/6.348, allocations: 0 / 3.444 GB, free: 141.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001131/6.349, allocations: 493.5 kB / 3.444 GB, free: 141.4 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001826/6.351, allocations: 196.3 kB / 3.445 GB, free: 141.2 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006752/6.358, allocations: 2.371 MB / 3.447 GB, free: 138.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/6.359, allocations: 1.325 MB / 3.448 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.443e-06/6.359, allocations: 0 / 3.448 GB, free: 137.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.04055/6.4, allocations: 14.71 MB / 3.462 GB, free: 122.8 MB / 0.8698 GB