Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain") translateModel(Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.501/1.501, allocations: 289.8 MB / 297.1 MB, free: 6.719 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.001052/0.001052, allocations: 189.2 kB / 366.3 MB, free: 1.992 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.312/1.312, allocations: 205.2 MB / 0.6256 GB, free: 5.828 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.001157/0.001156, allocations: 96.48 kB / 0.7396 GB, free: 39.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.643e-06/6.663e-06, allocations: 0 / 0.859 GB, free: 13.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6575/0.6575, allocations: 116.3 MB / 0.9725 GB, free: 68.66 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.921/5.578, allocations: 2.355 GB / 3.327 GB, free: 134.2 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/5.578, allocations: 84.7 kB / 3.327 GB, free: 134.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.17/7.748, allocations: 0.6293 GB / 3.957 GB, free: 222.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0003835/7.749, allocations: 62.48 kB / 3.957 GB, free: 222.6 MB / 0.9636 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.006803/7.755, allocations: 2.646 MB / 3.959 GB, free: 221.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.412e-05/7.756, allocations: 11.22 kB / 3.959 GB, free: 221.2 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002667/7.758, allocations: 476.9 kB / 3.96 GB, free: 221 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006913/7.765, allocations: 2.66 MB / 3.962 GB, free: 220 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/7.765, allocations: 107.5 kB / 3.962 GB, free: 219.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/7.766, allocations: 81.66 kB / 3.962 GB, free: 219.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001883/7.767, allocations: 1.058 MB / 3.963 GB, free: 219.5 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/7.769, allocations: 1.241 MB / 3.965 GB, free: 219 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.912e-05/7.769, allocations: 7.656 kB / 3.965 GB, free: 219 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/7.77, allocations: 3.938 kB / 3.965 GB, free: 219 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-05/7.77, allocations: 45.5 kB / 3.965 GB, free: 219 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008322/7.778, allocations: 6.33 MB / 3.971 GB, free: 215.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001019/7.779, allocations: 0.6479 MB / 3.972 GB, free: 214.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007589/7.78, allocations: 0.5779 MB / 3.972 GB, free: 214.7 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003948/7.78, allocations: 296.8 kB / 3.972 GB, free: 214.4 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007786/7.781, allocations: 0.5706 MB / 3.973 GB, free: 214.2 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=112): time 2.715e-06/7.781, allocations: 0 / 3.973 GB, free: 214.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=112): time 0.003166/7.784, allocations: 1.383 MB / 3.974 GB, free: 213.6 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/7.784, allocations: 71.66 kB / 3.974 GB, free: 213.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005575/7.79, allocations: 3.378 MB / 3.978 GB, free: 212.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001788/7.79, allocations: 32.78 kB / 3.978 GB, free: 212.4 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000625/7.791, allocations: 0.654 MB / 3.978 GB, free: 212 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003984/7.791, allocations: 352.5 kB / 3.979 GB, free: 211.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.101e-05/7.791, allocations: 0 / 3.979 GB, free: 211.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001195/7.791, allocations: 356.8 kB / 3.979 GB, free: 211.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006875/7.792, allocations: 423.7 kB / 3.979 GB, free: 211.2 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008654/7.793, allocations: 0.6786 MB / 3.98 GB, free: 210.8 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001118/7.794, allocations: 0.5396 MB / 3.981 GB, free: 210.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/7.794, allocations: 0 / 3.981 GB, free: 210.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003183/7.797, allocations: 1.576 MB / 3.982 GB, free: 210 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/7.797, allocations: 9.625 kB / 3.982 GB, free: 210 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/7.797, allocations: 5.781 kB / 3.982 GB, free: 210 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/7.798, allocations: 217.6 kB / 3.982 GB, free: 209.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009255/7.799, allocations: 251.5 kB / 3.983 GB, free: 209.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00333/7.802, allocations: 3.975 MB / 3.987 GB, free: 206.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001609/7.804, allocations: 171.3 kB / 3.987 GB, free: 206.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000109/7.804, allocations: 50.11 kB / 3.987 GB, free: 206.6 MB / 0.9636 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.0002365/7.804, allocations: 147.5 kB / 3.987 GB, free: 206.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/7.804, allocations: 276.1 kB / 3.987 GB, free: 206.3 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002803/7.807, allocations: 1.493 MB / 3.989 GB, free: 205.8 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.077e-06/7.807, allocations: 13.44 kB / 3.989 GB, free: 205.8 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.553e-06/7.807, allocations: 2.688 kB / 3.989 GB, free: 205.8 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001827/7.809, allocations: 1.286 MB / 3.99 GB, free: 205.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00672/7.816, allocations: 3.811 MB / 3.994 GB, free: 203.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.795e-06/7.816, allocations: 6.688 kB / 3.994 GB, free: 203.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008452/7.817, allocations: 178.4 kB / 3.994 GB, free: 203.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005189/7.817, allocations: 218 kB / 3.994 GB, free: 203.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.747e-05/7.817, allocations: 21.23 kB / 3.994 GB, free: 203.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003363/7.821, allocations: 3.958 MB / 3.998 GB, free: 200.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/7.821, allocations: 10.69 kB / 3.998 GB, free: 200.5 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003468/7.824, allocations: 2.287 MB / 4 GB, free: 199.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/7.825, allocations: 0.6317 MB / 4.001 GB, free: 199 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003505/7.826, allocations: 14.42 kB / 4.001 GB, free: 199 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/7.827, allocations: 100.9 kB / 4.001 GB, free: 199 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/7.827, allocations: 88.64 kB / 4.001 GB, free: 199 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.155e-05/7.827, allocations: 39.27 kB / 4.001 GB, free: 199 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.00357/7.831, allocations: 2.641 MB / 4.004 GB, free: 198 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002355/7.833, allocations: 0.7038 MB / 4.004 GB, free: 197.8 MB / 0.9636 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 (100): * Single equations (assignments): 86 * 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.002622/7.836, allocations: 1.791 MB / 4.006 GB, free: 197.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00192/7.838, allocations: 1.323 MB / 4.007 GB, free: 196.2 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/7.838, allocations: 3.938 kB / 4.007 GB, free: 196.2 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009619/7.839, allocations: 0.8047 MB / 4.008 GB, free: 195.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002469/7.841, allocations: 495.1 kB / 4.009 GB, free: 195.1 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008323/7.849, allocations: 4.976 MB / 4.013 GB, free: 190.7 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001955/7.851, allocations: 2.108 MB / 4.015 GB, free: 189 MB / 0.9636 GB Notification: Performance of SimCode: time 5.91e-07/7.851, allocations: 0 / 4.015 GB, free: 189 MB / 0.9636 GB Notification: Performance of Templates: time 0.04967/7.901, allocations: 34.38 MB / 4.049 GB, free: 158.3 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.makefile (rm -f Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; mkfifo Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe ; head -c 1048576 < Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe >> ../files/Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.sim & ./Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.ThermalZones.ReducedOrder.Validation.RoomWithoutLatentGain.pipe 2>&1)