Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.53/1.53, allocations: 285.5 MB / 292.8 MB, free: 10.45 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 185.3 kB / 361.1 MB, free: 7.062 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.128/1.128, allocations: 205.1 MB / 0.6195 GB, free: 10.28 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009303/0.0009303, allocations: 95.77 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.049e-06/5.079e-06, allocations: 0 / 0.8511 GB, free: 2.969 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5627/0.5627, allocations: 115.3 MB / 0.9637 GB, free: 77.86 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.874/5.437, allocations: 2.354 GB / 3.317 GB, free: 157.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002805/5.437, allocations: 85.12 kB / 3.317 GB, free: 157.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.539/7.976, allocations: 0.6293 GB / 3.947 GB, free: 204.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0005592/7.977, allocations: 56.62 kB / 3.947 GB, free: 204.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 313 * Number of variables: 313 Notification: Performance of Generate backend data structure: time 0.01016/7.987, allocations: 2.65 MB / 3.949 GB, free: 203.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.411e-05/7.987, allocations: 8.719 kB / 3.949 GB, free: 203.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003853/7.991, allocations: 470.6 kB / 3.95 GB, free: 203.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01097/8.002, allocations: 2.654 MB / 3.952 GB, free: 202.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003119/8.002, allocations: 103.6 kB / 3.952 GB, free: 202.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006922/8.003, allocations: 83.59 kB / 3.952 GB, free: 202.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003965/8.007, allocations: 1.059 MB / 3.954 GB, free: 202.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004482/8.012, allocations: 1.243 MB / 3.955 GB, free: 202.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.091e-05/8.012, allocations: 2.5 kB / 3.955 GB, free: 202.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002436/8.012, allocations: 3.547 kB / 3.955 GB, free: 202.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.268e-05/8.012, allocations: 42.42 kB / 3.955 GB, free: 202.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01451/8.027, allocations: 6.332 MB / 3.961 GB, free: 200.2 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/8.028, allocations: 0.6535 MB / 3.962 GB, free: 200.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00108/8.029, allocations: 0.5878 MB / 3.962 GB, free: 200.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005066/8.03, allocations: 291.6 kB / 3.962 GB, free: 199.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/8.031, allocations: 0.5819 MB / 3.963 GB, free: 199.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=113): time 5.601e-06/8.031, allocations: 0 / 3.963 GB, free: 199.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=113): time 0.004108/8.035, allocations: 1.393 MB / 3.964 GB, free: 199.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/8.035, allocations: 65.94 kB / 3.964 GB, free: 199.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008676/8.044, allocations: 3.368 MB / 3.968 GB, free: 198.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000358/8.044, allocations: 33.55 kB / 3.968 GB, free: 198.4 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009278/8.045, allocations: 0.6509 MB / 3.968 GB, free: 198 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007473/8.046, allocations: 358.8 kB / 3.969 GB, free: 197.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/8.046, allocations: 3.094 kB / 3.969 GB, free: 197.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001497/8.046, allocations: 353.2 kB / 3.969 GB, free: 197.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008813/8.047, allocations: 422.7 kB / 3.969 GB, free: 197.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000998/8.048, allocations: 0.6754 MB / 3.97 GB, free: 196.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00132/8.049, allocations: 0.5424 MB / 3.971 GB, free: 196.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-05/8.05, allocations: 3.5 kB / 3.971 GB, free: 196.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003956/8.053, allocations: 1.581 MB / 3.972 GB, free: 196 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/8.054, allocations: 3.688 kB / 3.972 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/8.054, allocations: 6.656 kB / 3.972 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007055/8.054, allocations: 220.6 kB / 3.972 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/8.055, allocations: 252.5 kB / 3.973 GB, free: 196 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004231/8.06, allocations: 3.981 MB / 3.977 GB, free: 192.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002537/8.062, allocations: 170.9 kB / 3.977 GB, free: 192.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002031/8.062, allocations: 48.14 kB / 3.977 GB, free: 192.7 MB / 0.948 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 (137): * Single equations (assignments): 135 * 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.000371/8.063, allocations: 152.5 kB / 3.977 GB, free: 192.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001192/8.064, allocations: 269.3 kB / 3.977 GB, free: 192.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003693/8.068, allocations: 1.509 MB / 3.979 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.715e-05/8.068, allocations: 12.75 kB / 3.979 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/8.068, allocations: 6.406 kB / 3.979 GB, free: 191.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002101/8.07, allocations: 1.294 MB / 3.98 GB, free: 191.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01131/8.081, allocations: 3.821 MB / 3.984 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/8.081, allocations: 1.156 kB / 3.984 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/8.082, allocations: 184.3 kB / 3.984 GB, free: 189.9 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007406/8.083, allocations: 202.4 kB / 3.984 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/8.083, allocations: 20.48 kB / 3.984 GB, free: 189.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005447/8.089, allocations: 3.975 MB / 3.988 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-05/8.089, allocations: 6.859 kB / 3.988 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006877/8.096, allocations: 2.301 MB / 3.99 GB, free: 185.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002444/8.098, allocations: 0.6251 MB / 3.991 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/8.099, allocations: 21.11 kB / 3.991 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001929/8.101, allocations: 91.75 kB / 3.991 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002292/8.101, allocations: 87.56 kB / 3.991 GB, free: 185.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001129/8.101, allocations: 45.06 kB / 3.991 GB, free: 185.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.006097/8.108, allocations: 2.632 MB / 3.994 GB, free: 184.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004606/8.112, allocations: 0.7154 MB / 3.994 GB, free: 184 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 7 (thermalZoneTwoElements.volMoiAir.dynBal.U,thermalZoneTwoElements.volMoiAir.dynBal.m,thermalZoneTwoElements.volMoiAir.dynBal.mXi[1],thermalZoneTwoElements.extWallRC.thermCapExt[1].T,thermalZoneTwoElements.intWallRC.thermCapInt[1].T,assEqu.diff,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,assEqu.satisfied,assEqu.nFai,ventRate.nextTimeEventScaled,tableSolRadWindow.nextTimeEventScaled,outdoorTemp.nextTimeEventScaled,reference.nextTimeEventScaled,intGai.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 87 * 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.00446/8.117, allocations: 1.785 MB / 3.996 GB, free: 183.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003343/8.12, allocations: 1.328 MB / 3.997 GB, free: 182.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/8.12, allocations: 0 / 3.997 GB, free: 182.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001693/8.122, allocations: 0.8097 MB / 3.998 GB, free: 182.5 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004159/8.126, allocations: 0.5043 MB / 3.999 GB, free: 182.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01251/8.138, allocations: 4.961 MB / 4.003 GB, free: 181 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003776/8.142, allocations: 2.107 MB / 4.006 GB, free: 180.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.894e-06/8.142, allocations: 0 / 4.006 GB, free: 180.1 MB / 0.948 GB Notification: Performance of Templates: time 0.06612/8.208, allocations: 34.4 MB / 4.039 GB, free: 160.7 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.makefile (rm -f Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe >> ../files/Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.sim & ./Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithLatentGain.pipe 2>&1)