Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.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.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") [: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.182/2.182, allocations: 253.1 MB / 260.4 MB, free: 7.5 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.001565/0.001564, allocations: 177.3 kB / 319.6 MB, free: 3.328 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.859/1.859, 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.001377/0.001377, allocations: 91.31 kB / 0.6746 GB, free: 4.418 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.967e-06/9.137e-06, allocations: 0 / 0.7843 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.236, allocations: 106.3 MB / 0.888 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.412/6.648, allocations: 2.472 GB / 3.36 GB, free: 218.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003844/6.648, allocations: 83.55 kB / 3.36 GB, free: 218.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.887/9.536, allocations: 0.6144 GB / 3.975 GB, free: 173.5 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0005064/9.536, allocations: 64.41 kB / 3.975 GB, free: 173.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: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.008661/9.545, allocations: 2.612 MB / 3.977 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/9.545, allocations: 9.781 kB / 3.977 GB, free: 172.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003356/9.548, allocations: 465.7 kB / 3.978 GB, free: 172.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01053/9.559, allocations: 2.67 MB / 3.98 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002526/9.559, allocations: 103 kB / 3.98 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003926/9.56, allocations: 88.83 kB / 3.98 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003747/9.563, allocations: 1.062 MB / 3.982 GB, free: 171.8 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003945/9.567, allocations: 1.245 MB / 3.983 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-05/9.567, allocations: 2.469 kB / 3.983 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001846/9.568, allocations: 7.109 kB / 3.983 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.139e-05/9.568, allocations: 40.66 kB / 3.983 GB, free: 171.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01551/9.583, allocations: 6.339 MB / 3.989 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003299/9.587, allocations: 1.045 MB / 3.99 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001538/9.588, allocations: 0.577 MB / 3.991 GB, free: 169.1 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006107/9.589, allocations: 297.9 kB / 3.991 GB, free: 168.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001491/9.59, allocations: 0.5623 MB / 3.991 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=110): time 4.218e-06/9.59, allocations: 0 / 3.991 GB, free: 168.7 MB / 0.8698 GB Notification: Performance of matching and sorting (n=110): time 0.005207/9.596, allocations: 1.38 MB / 3.993 GB, free: 168.5 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/9.596, allocations: 74.55 kB / 3.993 GB, free: 168.4 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01133/9.607, allocations: 3.36 MB / 3.996 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0003713/9.607, allocations: 31.58 kB / 3.996 GB, free: 168.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007839/9.608, allocations: 0.6629 MB / 3.997 GB, free: 167.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005981/9.609, allocations: 350.9 kB / 3.997 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.563e-05/9.609, allocations: 0 / 3.997 GB, free: 167.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001162/9.609, allocations: 350.9 kB / 3.997 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001109/9.61, allocations: 412.2 kB / 3.998 GB, free: 167.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001233/9.611, allocations: 0.6494 MB / 3.998 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/9.613, allocations: 0.536 MB / 3.999 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/9.613, allocations: 0 / 3.999 GB, free: 167.1 MB / 0.8698 GB Notification: Performance of matching and sorting (n=153) (initialization): time 0.004784/9.618, allocations: 1.553 MB / 4.001 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.382e-05/9.618, allocations: 9.656 kB / 4.001 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.134e-05/9.618, allocations: 7.531 kB / 4.001 GB, free: 166.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009822/9.619, allocations: 215.2 kB / 4.001 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/9.621, allocations: 240.4 kB / 4.001 GB, free: 166.8 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005827/9.627, allocations: 3.978 MB / 4.005 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002772/9.63, allocations: 152.5 kB / 4.005 GB, free: 164.2 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002122/9.63, allocations: 48.8 kB / 4.005 GB, free: 164.2 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.0003604/9.63, allocations: 152 kB / 4.005 GB, free: 164.1 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007605/9.631, allocations: 265.1 kB / 4.005 GB, free: 163.9 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004882/9.636, allocations: 1.49 MB / 4.007 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.71e-05/9.636, allocations: 11.66 kB / 4.007 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/9.636, allocations: 7.203 kB / 4.007 GB, free: 163.8 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003378/9.639, allocations: 1.28 MB / 4.008 GB, free: 163.5 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/9.65, allocations: 3.762 MB / 4.012 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/9.65, allocations: 3.594 kB / 4.012 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001603/9.652, allocations: 174 kB / 4.012 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000941/9.653, allocations: 216 kB / 4.012 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001417/9.653, allocations: 20.36 kB / 4.012 GB, free: 163.1 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005993/9.659, allocations: 3.971 MB / 4.016 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/9.659, allocations: 0 / 4.016 GB, free: 160.5 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006561/9.666, allocations: 2.28 MB / 4.018 GB, free: 160 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002364/9.668, allocations: 0.6346 MB / 4.019 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008415/9.669, allocations: 15.78 kB / 4.019 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002309/9.671, allocations: 95.22 kB / 4.019 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003382/9.672, allocations: 89.98 kB / 4.019 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/9.672, allocations: 39.14 kB / 4.019 GB, free: 159.7 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.006255/9.678, allocations: 2.639 MB / 4.022 GB, free: 159.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003872/9.682, allocations: 0.7066 MB / 4.022 GB, free: 159.5 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 (98): * Single equations (assignments): 84 * 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.003744/9.686, allocations: 1.799 MB / 4.024 GB, free: 159.1 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003782/9.69, allocations: 1.287 MB / 4.025 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/9.69, allocations: 3.375 kB / 4.025 GB, free: 158.9 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.002298/9.692, allocations: 0.8041 MB / 4.026 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005379/9.698, allocations: 0.4905 MB / 4.027 GB, free: 158.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01441/9.712, allocations: 4.919 MB / 4.032 GB, free: 157.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003541/9.716, allocations: 2.102 MB / 4.034 GB, free: 157 MB / 0.8698 GB Notification: Performance of SimCode: time 1.362e-06/9.716, allocations: 3.531 kB / 4.034 GB, free: 157 MB / 0.8698 GB Notification: Performance of Templates: time 0.1003/9.816, allocations: 34.16 MB / 4.067 GB, free: 155.1 MB / 0.8698 GB