Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) 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 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.124/2.124, allocations: 284.9 MB / 292.2 MB, free: 10.75 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001501/0.001501, allocations: 184.5 kB / 360.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.615/1.615, allocations: 205.2 MB / 0.6188 GB, free: 13.2 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001185/0.001184, allocations: 94.42 kB / 0.7318 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.116e-05/1.126e-05, allocations: 4 kB / 0.8503 GB, free: 3.996 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6105/0.6105, allocations: 115.3 MB / 0.9628 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.61/5.221, allocations: 2.129 GB / 3.092 GB, free: 323 MB / 1.104 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/5.221, allocations: 101.6 kB / 3.092 GB, free: 323 MB / 1.104 GB Notification: Performance of FrontEnd: time 9.479/14.7, allocations: 2.173 GB / 5.266 GB, free: 154.6 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0003303/14.7, allocations: 63.11 kB / 5.266 GB, free: 154.6 MB / 1.182 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.008398/14.71, allocations: 2.566 MB / 5.268 GB, free: 153.7 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/14.71, allocations: 12.16 kB / 5.268 GB, free: 153.7 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008665/14.72, allocations: 0.8473 MB / 5.269 GB, free: 153.6 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009611/14.73, allocations: 2.389 MB / 5.271 GB, free: 153.2 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.263e-05/14.73, allocations: 47.94 kB / 5.271 GB, free: 153.2 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003226/14.73, allocations: 97.39 kB / 5.272 GB, free: 153.2 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003666/14.73, allocations: 1.216 MB / 5.273 GB, free: 153.2 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003581/14.74, allocations: 1.455 MB / 5.274 GB, free: 152.9 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.135e-05/14.74, allocations: 4.5 kB / 5.274 GB, free: 152.9 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002052/14.74, allocations: 3.594 kB / 5.274 GB, free: 152.9 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.804e-05/14.74, allocations: 53.3 kB / 5.274 GB, free: 152.9 MB / 1.182 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01645/14.75, allocations: 7.977 MB / 5.282 GB, free: 148.8 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002019/14.75, allocations: 0.8069 MB / 5.283 GB, free: 148.8 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001072/14.76, allocations: 497.4 kB / 5.283 GB, free: 148.7 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001801/14.76, allocations: 0.9245 MB / 5.284 GB, free: 147.8 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/14.76, allocations: 0.4931 MB / 5.285 GB, free: 147.7 MB / 1.182 GB Notification: Performance of pre-optimization done (n=88): time 4.128e-06/14.76, allocations: 0 / 5.285 GB, free: 147.7 MB / 1.182 GB Notification: Performance of matching and sorting (n=88): time 0.00548/14.76, allocations: 1.168 MB / 5.286 GB, free: 147.6 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.258e-05/14.76, allocations: 167.9 kB / 5.286 GB, free: 147.4 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002852/14.77, allocations: 1.285 MB / 5.287 GB, free: 147.2 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0003163/14.77, allocations: 29.61 kB / 5.287 GB, free: 147.2 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006346/14.77, allocations: 0.6286 MB / 5.288 GB, free: 146.9 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.000458/14.77, allocations: 300 kB / 5.288 GB, free: 146.7 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.95e-05/14.77, allocations: 0 / 5.288 GB, free: 146.7 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001023/14.77, allocations: 354.2 kB / 5.288 GB, free: 146.4 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009923/14.77, allocations: 364.2 kB / 5.289 GB, free: 146.4 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/14.77, allocations: 0.7434 MB / 5.29 GB, free: 146 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002089/14.77, allocations: 0.5797 MB / 5.29 GB, free: 146 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.038e-05/14.77, allocations: 3.219 kB / 5.29 GB, free: 146 MB / 1.182 GB Notification: Performance of matching and sorting (n=142) (initialization): time 0.004163/14.78, allocations: 1.318 MB / 5.291 GB, free: 145.8 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007112/14.78, allocations: 3.463 MB / 5.295 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.873e-05/14.78, allocations: 15.48 kB / 5.295 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.597e-05/14.78, allocations: 17.59 kB / 5.295 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002368/14.78, allocations: 270.9 kB / 5.295 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/14.78, allocations: 19.19 kB / 5.295 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/14.78, allocations: 187.6 kB / 5.295 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/14.78, allocations: 53.81 kB / 5.295 GB, free: 142.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/14.78, allocations: 3.719 kB / 5.295 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003436/14.79, allocations: 1.071 MB / 5.296 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.779e-05/14.79, allocations: 11.19 kB / 5.296 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.526e-05/14.79, allocations: 14.75 kB / 5.296 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002132/14.79, allocations: 266.8 kB / 5.297 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.658e-05/14.79, allocations: 22.28 kB / 5.297 GB, free: 142.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/14.79, allocations: 168.9 kB / 5.297 GB, free: 142.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/14.79, allocations: 57.39 kB / 5.297 GB, free: 142.1 MB / 1.182 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.0003903/14.79, allocations: 143.8 kB / 5.297 GB, free: 142 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003943/14.79, allocations: 188.7 kB / 5.297 GB, free: 141.9 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004085/14.8, allocations: 1.122 MB / 5.298 GB, free: 141.9 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/14.8, allocations: 14.38 kB / 5.298 GB, free: 141.9 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.081e-05/14.8, allocations: 0 / 5.298 GB, free: 141.9 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002766/14.8, allocations: 1.172 MB / 5.299 GB, free: 141.4 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00758/14.81, allocations: 2.535 MB / 5.302 GB, free: 141 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/14.81, allocations: 3.844 kB / 5.302 GB, free: 141 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001864/14.81, allocations: 189 kB / 5.302 GB, free: 141 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000291/14.81, allocations: 44.7 kB / 5.302 GB, free: 141 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001069/14.81, allocations: 19.14 kB / 5.302 GB, free: 141 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001659/14.81, allocations: 1.371 MB / 5.304 GB, free: 139.8 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/14.81, allocations: 3.75 kB / 5.304 GB, free: 139.8 MB / 1.182 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004558/14.82, allocations: 1.736 MB / 5.305 GB, free: 139.4 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001296/14.82, allocations: 366.8 kB / 5.306 GB, free: 139.2 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004131/14.82, allocations: 9.594 kB / 5.306 GB, free: 139.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002195/14.82, allocations: 122.6 kB / 5.306 GB, free: 139.2 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002022/14.82, allocations: 58.61 kB / 5.306 GB, free: 139.2 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001155/14.82, allocations: 35.16 kB / 5.306 GB, free: 139.2 MB / 1.182 GB Notification: Performance of sort global known variables: time 0.00206/14.82, allocations: 0.9594 MB / 5.307 GB, free: 139.1 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.006081/14.83, allocations: 1.263 MB / 5.308 GB, free: 139 MB / 1.182 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.007116/14.84, allocations: 4.06 MB / 5.312 GB, free: 137.5 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.004131/14.84, allocations: 1.638 MB / 5.314 GB, free: 137.3 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.737e-06/14.84, allocations: 0 / 5.314 GB, free: 137.3 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001297/14.84, allocations: 0.5275 MB / 5.314 GB, free: 137.2 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006455/14.85, allocations: 0.7453 MB / 5.315 GB, free: 137.2 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01249/14.86, allocations: 3.127 MB / 5.318 GB, free: 136.5 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002277/14.86, allocations: 1.739 MB / 5.32 GB, free: 135.7 MB / 1.182 GB Notification: Performance of SimCode: time 1.263e-06/14.86, allocations: 0 / 5.32 GB, free: 135.7 MB / 1.182 GB Notification: Performance of Templates: time 0.1352/15, allocations: 54.76 MB / 5.373 GB, free: 134.2 MB / 1.182 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Equipment.Validation.ElectricHeater.pipe 2>&1)