Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.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.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR") [: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.242/2.242, allocations: 284.9 MB / 292.2 MB, free: 10.74 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.001699/0.001698, allocations: 185.2 kB / 360.4 MB, free: 7.512 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.846/1.846, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001302/0.001301, allocations: 89.55 kB / 0.7318 GB, free: 45 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.138e-05/1.154e-05, allocations: 0 / 0.8502 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6531/0.6531, allocations: 115.2 MB / 0.9628 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/1.688, allocations: 416.1 MB / 1.369 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002931/1.689, allocations: 85.08 kB / 1.369 GB, free: 147.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.97/4.659, allocations: 0.6235 GB / 1.993 GB, free: 165.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002015/4.659, allocations: 41.61 kB / 1.993 GB, free: 165.7 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: 230 * Number of variables: 230 Notification: Performance of Generate backend data structure: time 0.005305/4.665, allocations: 1.791 MB / 1.994 GB, free: 165.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.258e-05/4.665, allocations: 7.906 kB / 1.994 GB, free: 165.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006942/4.672, allocations: 0.6864 MB / 1.995 GB, free: 165.1 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005829/4.678, allocations: 1.672 MB / 1.997 GB, free: 164.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001887/4.678, allocations: 106.3 kB / 1.997 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000268/4.678, allocations: 64.34 kB / 1.997 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003093/4.681, allocations: 0.9464 MB / 1.998 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003073/4.684, allocations: 1.003 MB / 1.999 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.95e-05/4.685, allocations: 2.25 kB / 1.999 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/4.685, allocations: 3.188 kB / 1.999 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-05/4.685, allocations: 28.5 kB / 1.999 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0127/4.697, allocations: 5.686 MB / 2.004 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002058/4.7, allocations: 0.6634 MB / 2.005 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/4.701, allocations: 461.8 kB / 2.006 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009732/4.702, allocations: 1.238 MB / 2.007 GB, free: 160.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001269/4.703, allocations: 0.5313 MB / 2.007 GB, free: 160.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=67): time 3.667e-06/4.703, allocations: 0 / 2.007 GB, free: 160.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=67): time 0.003434/4.706, allocations: 0.944 MB / 2.008 GB, free: 160.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/4.707, allocations: 109.4 kB / 2.008 GB, free: 160.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002221/4.709, allocations: 1.043 MB / 2.009 GB, free: 160 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000255/4.709, allocations: 28.89 kB / 2.009 GB, free: 160 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004697/4.71, allocations: 446.4 kB / 2.01 GB, free: 159.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00038/4.71, allocations: 225.8 kB / 2.01 GB, free: 159.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.928e-05/4.71, allocations: 0 / 2.01 GB, free: 159.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.669e-05/4.71, allocations: 335.4 kB / 2.01 GB, free: 159.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009884/4.711, allocations: 357.9 kB / 2.011 GB, free: 159.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/4.712, allocations: 0.6052 MB / 2.011 GB, free: 159.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/4.714, allocations: 446.6 kB / 2.012 GB, free: 159.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/4.714, allocations: 0 / 2.012 GB, free: 159.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003592/4.718, allocations: 1.049 MB / 2.013 GB, free: 159 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002539/4.718, allocations: 1.159 MB / 2.014 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/4.718, allocations: 3.906 kB / 2.014 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.568e-05/4.718, allocations: 13.41 kB / 2.014 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002722/4.721, allocations: 292 kB / 2.014 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.633e-05/4.721, allocations: 10.62 kB / 2.014 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003352/4.724, allocations: 215.6 kB / 2.014 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/4.724, allocations: 50.28 kB / 2.014 GB, free: 157.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/4.724, allocations: 6.531 kB / 2.014 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003138/4.728, allocations: 0.8699 MB / 2.015 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.028e-05/4.728, allocations: 3.906 kB / 2.015 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/4.728, allocations: 3.938 kB / 2.015 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002591/4.73, allocations: 291.8 kB / 2.015 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/4.73, allocations: 13.28 kB / 2.016 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003318/4.734, allocations: 208.7 kB / 2.016 GB, free: 157.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002058/4.734, allocations: 45.89 kB / 2.016 GB, free: 157.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,chi.on) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0003914/4.734, allocations: 132 kB / 2.016 GB, free: 157.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004636/4.735, allocations: 148 kB / 2.016 GB, free: 157.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004199/4.739, allocations: 1.143 MB / 2.017 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.121e-05/4.739, allocations: 14.14 kB / 2.017 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/4.739, allocations: 0 / 2.017 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002738/4.742, allocations: 0.9564 MB / 2.018 GB, free: 157.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008561/4.75, allocations: 3.01 MB / 2.021 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.294e-05/4.751, allocations: 10.25 kB / 2.021 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002418/4.753, allocations: 252.8 kB / 2.021 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.817e-05/4.753, allocations: 11.2 kB / 2.021 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001254/4.753, allocations: 20.73 kB / 2.021 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.141e-05/4.753, allocations: 7.469 kB / 2.021 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.149e-05/4.753, allocations: 14.25 kB / 2.021 GB, free: 156.5 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005061/4.758, allocations: 2.091 MB / 2.023 GB, free: 155.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001393/4.76, allocations: 470.8 kB / 2.024 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004016/4.76, allocations: 8.438 kB / 2.024 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002835/4.763, allocations: 176.9 kB / 2.024 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002371/4.763, allocations: 69.39 kB / 2.024 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001673/4.763, allocations: 53.52 kB / 2.024 GB, free: 155.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001689/4.765, allocations: 0.7957 MB / 2.025 GB, free: 155.4 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00358/4.769, allocations: 0.8333 MB / 2.026 GB, free: 155.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (chi.vol1.dynBal.U,chi.vol2.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,pulse.T_start,pulse.count,chi.on) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002008/4.771, allocations: 0.8233 MB / 2.027 GB, free: 155.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003501/4.774, allocations: 1.392 MB / 2.028 GB, free: 155.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.708e-06/4.774, allocations: 3.312 kB / 2.028 GB, free: 155.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/4.776, allocations: 0.5053 MB / 2.028 GB, free: 155.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00584/4.782, allocations: 0.6064 MB / 2.029 GB, free: 155.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006382/4.788, allocations: 2.096 MB / 2.031 GB, free: 154.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001884/4.79, allocations: 1.427 MB / 2.032 GB, free: 153.7 MB / 0.948 GB Notification: Performance of SimCode: time 2.725e-06/4.79, allocations: 0 / 2.032 GB, free: 153.7 MB / 0.948 GB Notification: Performance of Templates: time 0.09118/4.881, allocations: 35.83 MB / 2.067 GB, free: 153.1 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricReformulatedEIR.pipe 2>&1)