Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5.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.TestCase5,tolerance=1e-06,outputFormat="empty",numberOfIntervals=172800,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.VDI6007.TestCase5") [: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 1.978/1.978, allocations: 253.1 MB / 260.4 MB, free: 11.79 MB / 211.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0016/0.0016, allocations: 177.8 kB / 319.6 MB, free: 2.281 MB / 243.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.683/1.683, allocations: 205.4 MB / 0.5704 GB, free: 8.266 MB / 435.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001274/0.001273, allocations: 107.7 kB / 0.6746 GB, free: 21.82 MB / 467.1 MB Notification: Performance of FrontEnd - loaded program: time 8.986e-06/9.197e-06, allocations: 0 / 0.7843 GB, free: 5.43 MB / 0.5499 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5219/0.5219, allocations: 106.3 MB / 0.888 GB, free: 64.48 MB / 0.5968 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.569/6.091, allocations: 2.465 GB / 3.353 GB, free: 127.1 MB / 0.878 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/6.091, allocations: 95.12 kB / 3.353 GB, free: 127 MB / 0.878 GB Notification: Performance of FrontEnd: time 0.2602/6.351, allocations: 70.97 MB / 3.423 GB, free: 63.16 MB / 0.878 GB Notification: Performance of Transformations before backend: time 0.000307/6.352, allocations: 43.94 kB / 3.423 GB, free: 63.11 MB / 0.878 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.00643/6.358, allocations: 1.777 MB / 3.425 GB, free: 61.28 MB / 0.878 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/6.358, allocations: 8.031 kB / 3.425 GB, free: 61.27 MB / 0.878 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/6.359, allocations: 229.1 kB / 3.425 GB, free: 61.04 MB / 0.878 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009647/6.369, allocations: 1.843 MB / 3.427 GB, free: 59.13 MB / 0.878 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002858/6.369, allocations: 74.98 kB / 3.427 GB, free: 59.05 MB / 0.878 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002537/6.37, allocations: 40 kB / 3.427 GB, free: 59.02 MB / 0.878 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002165/6.372, allocations: 486.5 kB / 3.427 GB, free: 58.54 MB / 0.878 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002233/6.374, allocations: 0.5899 MB / 3.428 GB, free: 57.93 MB / 0.878 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.834e-05/6.374, allocations: 3.984 kB / 3.428 GB, free: 57.93 MB / 0.878 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/6.374, allocations: 0 / 3.428 GB, free: 57.93 MB / 0.878 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/6.374, allocations: 19.91 kB / 3.428 GB, free: 57.91 MB / 0.878 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01036/6.385, allocations: 3.373 MB / 3.431 GB, free: 54.28 MB / 0.878 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002718/6.388, allocations: 0.6178 MB / 3.432 GB, free: 53.65 MB / 0.878 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001283/6.389, allocations: 350.7 kB / 3.432 GB, free: 53.31 MB / 0.878 GB Notification: Performance of preOpt evalFunc (simulation): time 6.364e-05/6.389, allocations: 8.5 kB / 3.432 GB, free: 53.3 MB / 0.878 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001157/6.39, allocations: 346.8 kB / 3.432 GB, free: 52.95 MB / 0.878 GB Notification: Performance of pre-optimization done (n=67): time 5.08e-06/6.39, allocations: 0 / 3.432 GB, free: 52.95 MB / 0.878 GB Notification: Performance of matching and sorting (n=67): time 0.00434/6.395, allocations: 0.9054 MB / 3.433 GB, free: 52.03 MB / 0.878 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/6.395, allocations: 60.06 kB / 3.433 GB, free: 51.96 MB / 0.878 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01165/6.406, allocations: 2.79 MB / 3.436 GB, free: 49.14 MB / 0.878 GB Notification: Performance of collectPreVariables (initialization): time 0.0002198/6.407, allocations: 33.7 kB / 3.436 GB, free: 49.1 MB / 0.878 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007277/6.407, allocations: 438.7 kB / 3.436 GB, free: 48.66 MB / 0.878 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004519/6.408, allocations: 201.1 kB / 3.437 GB, free: 48.46 MB / 0.878 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.937e-05/6.408, allocations: 0 / 3.437 GB, free: 48.46 MB / 0.878 GB Notification: Performance of setup shared object (initialization): time 0.0001224/6.408, allocations: 334 kB / 3.437 GB, free: 48.13 MB / 0.878 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009555/6.409, allocations: 225.5 kB / 3.437 GB, free: 47.91 MB / 0.878 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001007/6.41, allocations: 347.5 kB / 3.437 GB, free: 47.53 MB / 0.878 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/6.411, allocations: 274.8 kB / 3.438 GB, free: 47.26 MB / 0.878 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/6.411, allocations: 4 kB / 3.438 GB, free: 47.25 MB / 0.878 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003746/6.415, allocations: 1.019 MB / 3.439 GB, free: 46.22 MB / 0.878 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/6.415, allocations: 4.781 kB / 3.439 GB, free: 46.21 MB / 0.878 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/6.415, allocations: 4 kB / 3.439 GB, free: 46.21 MB / 0.878 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/6.416, allocations: 272.5 kB / 3.439 GB, free: 45.94 MB / 0.878 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000851/6.417, allocations: 119.8 kB / 3.439 GB, free: 45.82 MB / 0.878 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007062/6.424, allocations: 4.344 MB / 3.443 GB, free: 41.26 MB / 0.878 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001373/6.426, allocations: 91.33 kB / 3.443 GB, free: 41.17 MB / 0.878 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-05/6.426, allocations: 24 kB / 3.443 GB, free: 41.14 MB / 0.878 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition7,$whenCondition6,$PRE.intGai.nextTimeEvent,$whenCondition5,$PRE.reference.nextTimeEvent,$whenCondition4,$PRE.outdoorTemp.nextTimeEvent,$whenCondition3,$PRE.tableSolRadWindow.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,outdoorTemp.nextTimeEvent,$PRE.outdoorTemp.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,$PRE.tableSolRadWindow.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (68): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002196/6.426, allocations: 131.9 kB / 3.444 GB, free: 41.01 MB / 0.878 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004193/6.426, allocations: 197.5 kB / 3.444 GB, free: 40.82 MB / 0.878 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003256/6.43, allocations: 1.022 MB / 3.445 GB, free: 39.77 MB / 0.878 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.316e-05/6.43, allocations: 11.98 kB / 3.445 GB, free: 39.76 MB / 0.878 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.09e-05/6.43, allocations: 8 kB / 3.445 GB, free: 39.75 MB / 0.878 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/6.43, allocations: 3.984 kB / 3.445 GB, free: 39.75 MB / 0.878 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006149/6.436, allocations: 2.422 MB / 3.447 GB, free: 37.27 MB / 0.878 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.045e-06/6.436, allocations: 0 / 3.447 GB, free: 37.27 MB / 0.878 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006296/6.437, allocations: 75.89 kB / 3.447 GB, free: 37.2 MB / 0.878 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001175/6.438, allocations: 268.7 kB / 3.447 GB, free: 36.93 MB / 0.878 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.374e-05/6.438, allocations: 11.98 kB / 3.448 GB, free: 36.92 MB / 0.878 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006809/6.445, allocations: 4.342 MB / 3.452 GB, free: 32.34 MB / 0.878 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.695e-06/6.445, allocations: 4 kB / 3.452 GB, free: 32.34 MB / 0.878 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003707/6.449, allocations: 1.393 MB / 3.453 GB, free: 30.92 MB / 0.878 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001327/6.45, allocations: 490.2 kB / 3.454 GB, free: 30.42 MB / 0.878 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003879/6.45, allocations: 11.98 kB / 3.454 GB, free: 30.41 MB / 0.878 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009882/6.451, allocations: 47.95 kB / 3.454 GB, free: 30.36 MB / 0.878 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/6.452, allocations: 56.56 kB / 3.454 GB, free: 30.31 MB / 0.878 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.028e-05/6.452, allocations: 27.92 kB / 3.454 GB, free: 30.28 MB / 0.878 GB Notification: Performance of sort global known variables: time 0.004317/6.456, allocations: 2.207 MB / 3.456 GB, free: 28.06 MB / 0.878 GB Notification: Performance of remove unused functions: time 0.002136/6.458, allocations: 405.4 kB / 3.456 GB, free: 27.66 MB / 0.878 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: 19 ($whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,intGai.nextTimeEvent,intGai.nextTimeEventScaled,reference.nextTimeEvent,reference.nextTimeEventScaled,outdoorTemp.nextTimeEvent,outdoorTemp.nextTimeEventScaled,tableSolRadWindow.nextTimeEvent,tableSolRadWindow.nextTimeEventScaled,greaterThreshold1.y,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 11 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,mean.x,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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 {(3,100.0%) 19,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001814/6.46, allocations: 0.9514 MB / 3.457 GB, free: 26.82 MB / 0.878 GB Notification: Performance of simCode: created initialization part: time 0.002273/6.462, allocations: 0.8556 MB / 3.458 GB, free: 25.95 MB / 0.878 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/6.462, allocations: 4 kB / 3.458 GB, free: 25.94 MB / 0.878 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/6.464, allocations: 0.5828 MB / 3.459 GB, free: 25.33 MB / 0.878 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002335/6.466, allocations: 223.5 kB / 3.459 GB, free: 25.11 MB / 0.878 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009617/6.476, allocations: 3.512 MB / 3.462 GB, free: 21.55 MB / 0.878 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002036/6.478, allocations: 1.647 MB / 3.464 GB, free: 19.88 MB / 0.878 GB Notification: Performance of SimCode: time 1.502e-06/6.478, allocations: 4 kB / 3.464 GB, free: 19.87 MB / 0.878 GB Notification: Performance of Templates: time 0.05398/6.532, allocations: 19.06 MB / 3.482 GB, free: 0.8945 MB / 0.878 GB