Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.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.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_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.0.1-maint.8.0.x/package.mo): time 1.308/1.308, allocations: 285.5 MB / 292.8 MB, free: 10.44 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.001024/0.001024, allocations: 169.3 kB / 361.1 MB, free: 7.07 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.053/1.053, allocations: 205.1 MB / 0.6195 GB, free: 10.24 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.0008372/0.0008372, allocations: 86.45 kB / 0.7326 GB, free: 44.16 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.735e-06/7.825e-06, allocations: 4 kB / 0.8511 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.4279, allocations: 115.3 MB / 0.9637 GB, free: 78.23 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.141/3.569, allocations: 2.13 GB / 3.093 GB, free: 344.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/3.569, allocations: 102.4 kB / 3.093 GB, free: 344.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.458/9.027, allocations: 2.173 GB / 5.267 GB, free: 6.664 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002951/9.027, allocations: 63.92 kB / 5.267 GB, free: 6.602 MB / 0.9792 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.005812/9.033, allocations: 2.558 MB / 5.269 GB, free: 3.984 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.411e-05/9.033, allocations: 8.531 kB / 5.269 GB, free: 3.977 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005106/9.038, allocations: 0.8437 MB / 5.27 GB, free: 3.129 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005938/9.044, allocations: 2.392 MB / 5.272 GB, free: 0.6875 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.173e-05/9.044, allocations: 47.91 kB / 5.273 GB, free: 0.6406 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/9.045, allocations: 91.98 kB / 5.273 GB, free: 0.5508 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002462/9.047, allocations: 1.216 MB / 5.274 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002716/9.05, allocations: 1.454 MB / 5.275 GB, free: 13.78 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.578e-05/9.05, allocations: 4 kB / 5.275 GB, free: 13.78 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/9.05, allocations: 0 / 5.275 GB, free: 13.78 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.055e-05/9.05, allocations: 50.7 kB / 5.275 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01112/9.061, allocations: 7.959 MB / 5.283 GB, free: 5.215 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/9.062, allocations: 0.8197 MB / 5.284 GB, free: 4.383 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006644/9.063, allocations: 491.6 kB / 5.284 GB, free: 3.902 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001282/9.064, allocations: 0.9294 MB / 5.285 GB, free: 2.789 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007579/9.065, allocations: 0.4965 MB / 5.286 GB, free: 2.277 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=88): time 4.308e-06/9.065, allocations: 7.984 kB / 5.286 GB, free: 2.27 MB / 0.9948 GB Notification: Performance of matching and sorting (n=88): time 0.00349/9.069, allocations: 1.161 MB / 5.287 GB, free: 1.098 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.641e-05/9.069, allocations: 166.9 kB / 5.287 GB, free: 0.8984 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3092/9.378, allocations: 1.288 MB / 5.288 GB, free: 215 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002306/9.378, allocations: 29.08 kB / 5.288 GB, free: 214.9 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/9.379, allocations: 0.6352 MB / 5.289 GB, free: 214.8 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002444/9.379, allocations: 301.2 kB / 5.289 GB, free: 214.7 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/9.379, allocations: 0 / 5.289 GB, free: 214.7 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 6.3e-05/9.379, allocations: 346.3 kB / 5.29 GB, free: 214.4 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/9.38, allocations: 372.2 kB / 5.29 GB, free: 214.4 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005837/9.38, allocations: 0.7373 MB / 5.291 GB, free: 214 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001145/9.381, allocations: 0.5754 MB / 5.291 GB, free: 214 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/9.381, allocations: 3.812 kB / 5.291 GB, free: 214 MB / 0.9948 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.001991/9.383, allocations: 1.318 MB / 5.292 GB, free: 213.8 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004239/9.384, allocations: 3.461 MB / 5.296 GB, free: 210.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/9.384, allocations: 11.23 kB / 5.296 GB, free: 210.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/9.384, allocations: 15.62 kB / 5.296 GB, free: 210.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/9.385, allocations: 270.7 kB / 5.296 GB, free: 210.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/9.385, allocations: 18.22 kB / 5.296 GB, free: 210.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/9.386, allocations: 187.9 kB / 5.296 GB, free: 210.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/9.387, allocations: 59.06 kB / 5.296 GB, free: 210.2 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 4.959e-06/9.387, allocations: 3.969 kB / 5.296 GB, free: 210.2 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001709/9.388, allocations: 1.075 MB / 5.297 GB, free: 210.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/9.388, allocations: 16.66 kB / 5.297 GB, free: 210.2 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/9.388, allocations: 15.31 kB / 5.297 GB, free: 210.2 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/9.389, allocations: 267.6 kB / 5.298 GB, free: 210.2 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/9.389, allocations: 24.91 kB / 5.298 GB, free: 210.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/9.391, allocations: 167.9 kB / 5.298 GB, free: 210.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.55e-05/9.391, allocations: 54.39 kB / 5.298 GB, free: 210.2 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.0001712/9.391, allocations: 139.3 kB / 5.298 GB, free: 210.1 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001762/9.391, allocations: 185.9 kB / 5.298 GB, free: 210 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002036/9.393, allocations: 1.119 MB / 5.299 GB, free: 209.9 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/9.393, allocations: 11.41 kB / 5.299 GB, free: 209.9 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/9.393, allocations: 0 / 5.299 GB, free: 209.9 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001445/9.395, allocations: 1.179 MB / 5.301 GB, free: 209.4 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003548/9.398, allocations: 2.524 MB / 5.303 GB, free: 209.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/9.398, allocations: 0 / 5.303 GB, free: 209.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009338/9.399, allocations: 190.4 kB / 5.303 GB, free: 209.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001768/9.399, allocations: 47.58 kB / 5.303 GB, free: 209.1 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.373e-05/9.399, allocations: 21.39 kB / 5.303 GB, free: 209.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009601/9.4, allocations: 1.375 MB / 5.305 GB, free: 207.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/9.4, allocations: 3.75 kB / 5.305 GB, free: 207.9 MB / 0.9948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002161/9.402, allocations: 1.741 MB / 5.306 GB, free: 207.5 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004634/9.403, allocations: 363.4 kB / 5.307 GB, free: 207.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/9.403, allocations: 2.812 kB / 5.307 GB, free: 207.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/9.404, allocations: 122.3 kB / 5.307 GB, free: 207.3 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/9.404, allocations: 57.58 kB / 5.307 GB, free: 207.3 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.714e-05/9.404, allocations: 34.03 kB / 5.307 GB, free: 207.3 MB / 0.9948 GB Notification: Performance of sort global known variables: time 0.001028/9.406, allocations: 0.9614 MB / 5.308 GB, free: 207.1 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.003206/9.409, allocations: 1.265 MB / 5.309 GB, free: 207.1 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.003995/9.413, allocations: 4.07 MB / 5.313 GB, free: 205.7 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001997/9.415, allocations: 1.638 MB / 5.315 GB, free: 205.6 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/9.415, allocations: 2.344 kB / 5.315 GB, free: 205.6 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006286/9.415, allocations: 0.5327 MB / 5.315 GB, free: 205.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002818/9.418, allocations: 0.7485 MB / 5.316 GB, free: 205.4 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006869/9.425, allocations: 3.122 MB / 5.319 GB, free: 204.7 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001236/9.426, allocations: 1.725 MB / 5.321 GB, free: 204 MB / 0.9948 GB Notification: Performance of SimCode: time 6.21e-07/9.426, allocations: 0 / 5.321 GB, free: 204 MB / 0.9948 GB Notification: Performance of Templates: time 0.07221/9.499, allocations: 54.76 MB / 5.374 GB, free: 203.1 MB / 0.9948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1)