Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater") [: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.374/1.374, allocations: 289.8 MB / 297.1 MB, free: 6.582 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.001099/0.001099, allocations: 177.3 kB / 366.3 MB, free: 1.938 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.111/1.111, allocations: 205.1 MB / 0.6256 GB, free: 5.801 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.000835/0.0008352, allocations: 86.5 kB / 0.7395 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.645e-06/7.735e-06, allocations: 0 / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4548/0.4548, allocations: 116.3 MB / 0.9726 GB, free: 68.19 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.177/3.632, allocations: 2.131 GB / 3.103 GB, free: 326.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002154/3.632, allocations: 103.9 kB / 3.103 GB, free: 326.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 6.056/9.689, allocations: 2.173 GB / 5.277 GB, free: 118.9 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0001877/9.689, allocations: 59.09 kB / 5.277 GB, free: 118.9 MB / 0.9948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 356 * Number of variables: 356 Notification: Performance of Generate backend data structure: time 0.004365/9.693, allocations: 2.558 MB / 5.279 GB, free: 118.2 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.072e-05/9.693, allocations: 11.25 kB / 5.279 GB, free: 118.2 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004432/9.698, allocations: 0.8529 MB / 5.28 GB, free: 118 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004529/9.702, allocations: 2.377 MB / 5.282 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.589e-05/9.702, allocations: 50.94 kB / 5.282 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001758/9.703, allocations: 96.28 kB / 5.282 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001838/9.704, allocations: 1.215 MB / 5.284 GB, free: 117.6 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001944/9.706, allocations: 1.457 MB / 5.285 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.284e-05/9.706, allocations: 5.719 kB / 5.285 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001179/9.707, allocations: 3.656 kB / 5.285 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.754e-05/9.707, allocations: 51.03 kB / 5.285 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008797/9.715, allocations: 7.974 MB / 5.293 GB, free: 113.2 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/9.717, allocations: 0.8082 MB / 5.294 GB, free: 113.2 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006235/9.717, allocations: 497.9 kB / 5.294 GB, free: 113.2 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001231/9.719, allocations: 0.9205 MB / 5.295 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007761/9.719, allocations: 0.5058 MB / 5.296 GB, free: 112.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=88): time 5.24e-06/9.719, allocations: 3 kB / 5.296 GB, free: 112.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=88): time 0.00362/9.723, allocations: 1.159 MB / 5.297 GB, free: 112.1 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.433e-05/9.723, allocations: 168.3 kB / 5.297 GB, free: 111.9 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001854/9.725, allocations: 1.289 MB / 5.298 GB, free: 111.6 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/9.725, allocations: 25.7 kB / 5.298 GB, free: 111.6 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005442/9.726, allocations: 0.6334 MB / 5.299 GB, free: 111.4 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000284/9.726, allocations: 299.2 kB / 5.299 GB, free: 111.2 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.34e-05/9.726, allocations: 2.938 kB / 5.299 GB, free: 111.2 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.971e-05/9.726, allocations: 347.7 kB / 5.299 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005078/9.727, allocations: 365 kB / 5.3 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006911/9.727, allocations: 0.7454 MB / 5.3 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/9.728, allocations: 0.5748 MB / 5.301 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/9.728, allocations: 3.719 kB / 5.301 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002232/9.731, allocations: 1.32 MB / 5.302 GB, free: 110.3 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005659/9.731, allocations: 3.46 MB / 5.306 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.961e-05/9.731, allocations: 10.44 kB / 5.306 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/9.731, allocations: 20.03 kB / 5.306 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/9.732, allocations: 269.1 kB / 5.306 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/9.732, allocations: 23 kB / 5.306 GB, free: 106.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001539/9.734, allocations: 182.4 kB / 5.306 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/9.734, allocations: 55.61 kB / 5.306 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 8.035e-06/9.734, allocations: 9.031 kB / 5.306 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001811/9.736, allocations: 1.074 MB / 5.307 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/9.736, allocations: 18.56 kB / 5.307 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/9.736, allocations: 13.88 kB / 5.307 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00103/9.737, allocations: 262.3 kB / 5.308 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/9.737, allocations: 22.02 kB / 5.308 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/9.738, allocations: 169.2 kB / 5.308 GB, free: 106.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.66e-05/9.738, allocations: 57.5 kB / 5.308 GB, free: 106.6 MB / 0.9948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,eleHea.on,conPI.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 134 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002004/9.739, allocations: 143.9 kB / 5.308 GB, free: 106.5 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001942/9.739, allocations: 183.1 kB / 5.308 GB, free: 106.4 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002168/9.741, allocations: 1.123 MB / 5.309 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.365e-06/9.741, allocations: 9 kB / 5.309 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/9.741, allocations: 0 / 5.309 GB, free: 106.3 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001447/9.743, allocations: 1.176 MB / 5.31 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003752/9.746, allocations: 2.528 MB / 5.313 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.578e-06/9.746, allocations: 10.83 kB / 5.313 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009038/9.747, allocations: 188.9 kB / 5.313 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001918/9.747, allocations: 46.16 kB / 5.313 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-05/9.748, allocations: 12.53 kB / 5.313 GB, free: 105.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009795/9.748, allocations: 1.379 MB / 5.314 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/9.749, allocations: 2.469 kB / 5.314 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002176/9.751, allocations: 1.738 MB / 5.316 GB, free: 103.9 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005047/9.751, allocations: 362.6 kB / 5.316 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002473/9.751, allocations: 9.469 kB / 5.316 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/9.753, allocations: 117.8 kB / 5.317 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/9.753, allocations: 61.92 kB / 5.317 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.724e-05/9.753, allocations: 33.55 kB / 5.317 GB, free: 103.7 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.001023/9.754, allocations: 0.9612 MB / 5.318 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003309/9.757, allocations: 1.26 MB / 5.319 GB, free: 103.4 MB / 0.9948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,eleHea.hea.outCon.T) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,eleHea.on) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004022/9.761, allocations: 4.079 MB / 5.323 GB, free: 101.9 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002064/9.763, allocations: 1.638 MB / 5.324 GB, free: 101.8 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/9.763, allocations: 3.375 kB / 5.324 GB, free: 101.8 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006499/9.764, allocations: 0.5273 MB / 5.325 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002748/9.767, allocations: 0.7356 MB / 5.326 GB, free: 101.7 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006754/9.773, allocations: 3.129 MB / 5.329 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001222/9.775, allocations: 1.732 MB / 5.33 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of SimCode: time 5.81e-07/9.775, allocations: 3.5 kB / 5.33 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of Templates: time 0.07286/9.848, allocations: 54.77 MB / 5.384 GB, free: 98.92 MB / 0.9948 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1)