Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4.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.TestCase4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase4") [: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.121/2.121, allocations: 253.1 MB / 260.4 MB, free: 7.438 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.001683/0.001682, allocations: 181.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.816/1.816, allocations: 205.4 MB / 0.5704 GB, free: 14.97 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.001269/0.001268, allocations: 99.31 kB / 0.6746 GB, free: 4.332 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.757e-06/8.777e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1966, allocations: 106.2 MB / 0.888 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.93/6.127, allocations: 2.466 GB / 3.354 GB, free: 225.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003047/6.127, allocations: 86.52 kB / 3.354 GB, free: 225.1 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.1985/6.326, allocations: 62.61 MB / 3.415 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001191/6.326, allocations: 27.94 kB / 3.415 GB, free: 172.5 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.002505/6.328, allocations: 1.19 MB / 3.416 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/6.328, allocations: 12.03 kB / 3.416 GB, free: 171.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003167/6.329, allocations: 130.4 kB / 3.416 GB, free: 171.2 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004631/6.333, allocations: 1.451 MB / 3.418 GB, free: 169.7 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001679/6.334, allocations: 62.69 kB / 3.418 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.267e-05/6.334, allocations: 28 kB / 3.418 GB, free: 169.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009699/6.335, allocations: 317.9 kB / 3.418 GB, free: 169.2 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009869/6.336, allocations: 417 kB / 3.418 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/6.336, allocations: 7.844 kB / 3.418 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.894e-05/6.336, allocations: 4 kB / 3.418 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/6.336, allocations: 8 kB / 3.418 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00428/6.34, allocations: 2.449 MB / 3.421 GB, free: 166.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001237/6.341, allocations: 412 kB / 3.421 GB, free: 165.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006072/6.342, allocations: 240.8 kB / 3.421 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.586e-05/6.342, allocations: 7.984 kB / 3.421 GB, free: 165.5 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005153/6.343, allocations: 227.3 kB / 3.422 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=43): time 3.206e-06/6.343, allocations: 0 / 3.422 GB, free: 165.3 MB / 0.8698 GB Notification: Performance of matching and sorting (n=43): time 0.001694/6.344, allocations: 0.56 MB / 3.422 GB, free: 164.7 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.336e-05/6.344, allocations: 63.41 kB / 3.422 GB, free: 164.6 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003309/6.348, allocations: 1.454 MB / 3.424 GB, free: 163.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.854e-05/6.348, allocations: 33.7 kB / 3.424 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002162/6.348, allocations: 290 kB / 3.424 GB, free: 162.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000144/6.348, allocations: 134.1 kB / 3.424 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.135e-05/6.348, allocations: 3.938 kB / 3.424 GB, free: 162.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.055e-05/6.348, allocations: 326 kB / 3.424 GB, free: 162.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003818/6.349, allocations: 145.3 kB / 3.424 GB, free: 162.2 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004294/6.349, allocations: 246.1 kB / 3.425 GB, free: 161.9 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004448/6.35, allocations: 177.2 kB / 3.425 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/6.35, allocations: 0 / 3.425 GB, free: 161.8 MB / 0.8698 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001749/6.351, allocations: 0.6548 MB / 3.426 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/6.351, allocations: 6.5 kB / 3.426 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.186e-05/6.351, allocations: 8.234 kB / 3.426 GB, free: 161.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007474/6.352, allocations: 156.8 kB / 3.426 GB, free: 160.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/6.353, allocations: 91.83 kB / 3.426 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004121/6.357, allocations: 2.441 MB / 3.428 GB, free: 158.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000853/6.358, allocations: 59.72 kB / 3.428 GB, free: 158.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-05/6.358, allocations: 16 kB / 3.428 GB, free: 158.2 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.0001701/6.358, allocations: 126.5 kB / 3.428 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002184/6.358, allocations: 122.5 kB / 3.428 GB, free: 158 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001965/6.36, allocations: 0.6184 MB / 3.429 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/6.36, allocations: 4 kB / 3.429 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/6.36, allocations: 0 / 3.429 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.528e-06/6.36, allocations: 7.984 kB / 3.429 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003313/6.364, allocations: 1.474 MB / 3.431 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.63e-06/6.364, allocations: 0 / 3.431 GB, free: 155.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004258/6.364, allocations: 55.97 kB / 3.431 GB, free: 155.7 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007336/6.365, allocations: 177.5 kB / 3.431 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.951e-05/6.365, allocations: 7.984 kB / 3.431 GB, free: 155.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004929/6.37, allocations: 3.736 MB / 3.434 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/6.37, allocations: 0 / 3.434 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00214/6.372, allocations: 0.8854 MB / 3.435 GB, free: 150.7 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005829/6.373, allocations: 303.8 kB / 3.436 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000211/6.373, allocations: 3.906 kB / 3.436 GB, free: 150.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006373/6.373, allocations: 39.95 kB / 3.436 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/6.374, allocations: 43.92 kB / 3.436 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.386e-05/6.374, allocations: 15.98 kB / 3.436 GB, free: 150.3 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.002033/6.376, allocations: 1.143 MB / 3.437 GB, free: 149.1 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.001272/6.377, allocations: 275.5 kB / 3.437 GB, free: 148.8 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.001704/6.379, allocations: 0.9334 MB / 3.438 GB, free: 148 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001458/6.38, allocations: 0.5343 MB / 3.438 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/6.38, allocations: 0 / 3.438 GB, free: 147.5 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001057/6.381, allocations: 468.2 kB / 3.439 GB, free: 147 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/6.383, allocations: 167.1 kB / 3.439 GB, free: 146.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005499/6.388, allocations: 1.988 MB / 3.441 GB, free: 144.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/6.39, allocations: 1.219 MB / 3.442 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/6.39, allocations: 0 / 3.442 GB, free: 143.6 MB / 0.8698 GB Notification: Performance of Templates: time 0.03607/6.426, allocations: 13.5 MB / 3.455 GB, free: 130.1 MB / 0.8698 GB