Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.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.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") [: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.337/2.337, allocations: 253.1 MB / 260.4 MB, free: 7.445 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.00214/0.00214, allocations: 177.3 kB / 319.6 MB, free: 3.316 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.836/1.836, allocations: 205.4 MB / 0.5704 GB, free: 15.05 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.001443/0.001442, allocations: 97.5 kB / 0.6746 GB, free: 4.422 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.024e-05/1.034e-05, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2386, allocations: 106.2 MB / 0.888 GB, free: 12.23 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.372/6.61, allocations: 2.472 GB / 3.36 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003094/6.611, allocations: 84.73 kB / 3.36 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.905/9.515, allocations: 0.6144 GB / 3.975 GB, free: 173.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0006137/9.516, allocations: 59.41 kB / 3.975 GB, free: 173.8 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: 314 * Number of variables: 314 Notification: Performance of Generate backend data structure: time 0.0123/9.528, allocations: 2.605 MB / 3.977 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.883e-05/9.528, allocations: 15.27 kB / 3.977 GB, free: 172.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004931/9.533, allocations: 473.5 kB / 3.978 GB, free: 172.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01581/9.549, allocations: 2.664 MB / 3.98 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00038/9.55, allocations: 97.08 kB / 3.98 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005674/9.55, allocations: 84.91 kB / 3.98 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005344/9.556, allocations: 1.061 MB / 3.981 GB, free: 172.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006064/9.562, allocations: 1.246 MB / 3.983 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.484e-05/9.562, allocations: 6 kB / 3.983 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002723/9.562, allocations: 0 / 3.983 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.27e-05/9.562, allocations: 43.12 kB / 3.983 GB, free: 171.9 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0226/9.585, allocations: 6.344 MB / 3.989 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005049/9.59, allocations: 1.047 MB / 3.99 GB, free: 169.4 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002475/9.593, allocations: 0.5792 MB / 3.99 GB, free: 169.3 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000897/9.594, allocations: 299.1 kB / 3.991 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002391/9.596, allocations: 0.5698 MB / 3.991 GB, free: 169 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=111): time 1.015e-05/9.596, allocations: 0 / 3.991 GB, free: 169 MB / 0.8698 GB Notification: Performance of matching and sorting (n=111): time 0.008056/9.604, allocations: 1.389 MB / 3.993 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.838e-05/9.604, allocations: 65.47 kB / 3.993 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01544/9.62, allocations: 3.364 MB / 3.996 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0004759/9.62, allocations: 32.05 kB / 3.996 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.001396/9.622, allocations: 0.6557 MB / 3.997 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.001025/9.623, allocations: 361.8 kB / 3.997 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000142/9.623, allocations: 0 / 3.997 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001601/9.623, allocations: 349 kB / 3.997 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001733/9.625, allocations: 412.4 kB / 3.998 GB, free: 167.6 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002141/9.627, allocations: 0.6442 MB / 3.998 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002698/9.63, allocations: 0.5426 MB / 3.999 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.97e-05/9.63, allocations: 5.281 kB / 3.999 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.007668/9.638, allocations: 1.553 MB / 4 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/9.638, allocations: 3.938 kB / 4 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.181e-05/9.638, allocations: 11.7 kB / 4 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00151/9.639, allocations: 226.5 kB / 4.001 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002829/9.642, allocations: 229.2 kB / 4.001 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01005/9.652, allocations: 3.973 MB / 4.005 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003719/9.656, allocations: 158.1 kB / 4.005 GB, free: 164.5 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003579/9.656, allocations: 50.56 kB / 4.005 GB, free: 164.5 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 35 ($PRE.assEqu.nFai,assEqu.nFai,$whenCondition8,$whenCondition7,$PRE.intGai.nextTimeEvent,$whenCondition6,$PRE.reference.nextTimeEvent,$whenCondition5,$PRE.outdoorTemp.nextTimeEvent,$whenCondition4,$PRE.tableSolRadWindow.nextTimeEvent,$whenCondition3,$PRE.ventRate.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,ventRate.nextTimeEvent,$PRE.ventRate.nextTimeEventScaled,ventRate.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 132 * 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 {(2,100.0%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003983/9.657, allocations: 144 kB / 4.005 GB, free: 164.4 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001025/9.658, allocations: 268.2 kB / 4.005 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005157/9.663, allocations: 1.496 MB / 4.007 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/9.663, allocations: 13.59 kB / 4.007 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/9.663, allocations: 11.22 kB / 4.007 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003577/9.667, allocations: 1.278 MB / 4.008 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01909/9.686, allocations: 3.778 MB / 4.012 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.228e-05/9.686, allocations: 8.703 kB / 4.012 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002715/9.689, allocations: 176.6 kB / 4.012 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001656/9.69, allocations: 208.7 kB / 4.012 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003995/9.691, allocations: 19.17 kB / 4.012 GB, free: 163.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009104/9.7, allocations: 3.979 MB / 4.016 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/9.7, allocations: 0 / 4.016 GB, free: 160.8 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009502/9.71, allocations: 2.293 MB / 4.018 GB, free: 160.3 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003425/9.713, allocations: 0.6232 MB / 4.019 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001369/9.715, allocations: 17.62 kB / 4.019 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003685/9.718, allocations: 97.72 kB / 4.019 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005613/9.719, allocations: 93.55 kB / 4.019 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002279/9.719, allocations: 41.69 kB / 4.019 GB, free: 160 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.009583/9.729, allocations: 2.63 MB / 4.022 GB, free: 159.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.005408/9.734, allocations: 0.7021 MB / 4.022 GB, free: 159.8 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 6 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,mean.x) * Number of discrete variables: 22 ($whenCondition8,$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,ventRate.nextTimeEvent,ventRate.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,mean.y) * Number of discrete states: 13 (intGai.nextTimeEvent,reference.nextTimeEvent,outdoorTemp.nextTimeEvent,tableSolRadWindow.nextTimeEvent,ventRate.nextTimeEvent,mean.x,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,assEqu.satisfied,assEqu.nFai,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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%) 15,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004753/9.739, allocations: 1.801 MB / 4.024 GB, free: 159.4 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.004479/9.744, allocations: 1.297 MB / 4.025 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/9.744, allocations: 0 / 4.025 GB, free: 159.2 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.00213/9.746, allocations: 0.818 MB / 4.026 GB, free: 159 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005126/9.751, allocations: 497.5 kB / 4.027 GB, free: 159 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/9.766, allocations: 4.918 MB / 4.032 GB, free: 158.1 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004234/9.771, allocations: 2.106 MB / 4.034 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of SimCode: time 1.664e-06/9.771, allocations: 0 / 4.034 GB, free: 157.3 MB / 0.8698 GB Notification: Performance of Templates: time 0.09717/9.868, allocations: 34.19 MB / 4.067 GB, free: 155.4 MB / 0.8698 GB