Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.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.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") translateModel(Buildings.Fluid.Chillers.Examples.ElectricEIR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR") [: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.365/2.365, allocations: 284.9 MB / 292.2 MB, free: 10.7 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.001655/0.001654, allocations: 185.2 kB / 360.4 MB, free: 7.477 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.714/1.714, allocations: 205.1 MB / 0.6188 GB, free: 12.37 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.00131/0.001309, allocations: 86.91 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.147e-06/9.298e-06, allocations: 0 / 0.8502 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6256/0.6256, allocations: 115.2 MB / 0.9628 GB, free: 78.48 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9925/1.618, allocations: 416.1 MB / 1.369 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/1.619, allocations: 81.67 kB / 1.369 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.978/4.597, allocations: 0.6229 GB / 1.992 GB, free: 170.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002226/4.597, allocations: 48.55 kB / 1.992 GB, free: 170.3 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.005511/4.602, allocations: 1.763 MB / 1.994 GB, free: 169.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/4.602, allocations: 12.06 kB / 1.994 GB, free: 169.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006792/4.609, allocations: 0.6792 MB / 1.995 GB, free: 169.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005514/4.615, allocations: 1.653 MB / 1.996 GB, free: 169.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001791/4.615, allocations: 112 kB / 1.996 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002811/4.615, allocations: 58.94 kB / 1.996 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002853/4.618, allocations: 0.9204 MB / 1.997 GB, free: 169.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00266/4.621, allocations: 0.9919 MB / 1.998 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.127e-05/4.621, allocations: 2.25 kB / 1.998 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001564/4.621, allocations: 7.469 kB / 1.998 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.113e-05/4.621, allocations: 22.53 kB / 1.998 GB, free: 169.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01201/4.633, allocations: 5.648 MB / 2.004 GB, free: 166.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001704/4.635, allocations: 0.637 MB / 2.004 GB, free: 166.5 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/4.636, allocations: 440.6 kB / 2.005 GB, free: 166.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009398/4.637, allocations: 1.243 MB / 2.006 GB, free: 165.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001203/4.638, allocations: 0.5184 MB / 2.007 GB, free: 165 MB / 0.948 GB Notification: Performance of pre-optimization done (n=67): time 3.717e-06/4.638, allocations: 0 / 2.007 GB, free: 165 MB / 0.948 GB Notification: Performance of matching and sorting (n=67): time 0.003179/4.642, allocations: 0.8954 MB / 2.007 GB, free: 164.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/4.642, allocations: 117.8 kB / 2.008 GB, free: 164.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/4.644, allocations: 1 MB / 2.008 GB, free: 164.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000265/4.644, allocations: 25.7 kB / 2.009 GB, free: 164.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004408/4.644, allocations: 440.4 kB / 2.009 GB, free: 164.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003528/4.645, allocations: 222.6 kB / 2.009 GB, free: 164.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.672e-05/4.645, allocations: 0 / 2.009 GB, free: 164.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.396e-05/4.645, allocations: 333.9 kB / 2.009 GB, free: 164 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009233/4.646, allocations: 354.8 kB / 2.01 GB, free: 164 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/4.647, allocations: 0.591 MB / 2.01 GB, free: 163.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/4.649, allocations: 419 kB / 2.011 GB, free: 163.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.333e-06/4.649, allocations: 3.875 kB / 2.011 GB, free: 163.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003302/4.652, allocations: 0.9899 MB / 2.012 GB, free: 163.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002574/4.652, allocations: 1.164 MB / 2.013 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.37e-05/4.652, allocations: 3.906 kB / 2.013 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-05/4.652, allocations: 9.156 kB / 2.013 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/4.655, allocations: 288.8 kB / 2.013 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.506e-05/4.655, allocations: 7.094 kB / 2.013 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00321/4.658, allocations: 217.7 kB / 2.013 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002043/4.659, allocations: 46.67 kB / 2.013 GB, free: 162.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/4.659, allocations: 6.594 kB / 2.013 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002857/4.661, allocations: 0.8251 MB / 2.014 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/4.662, allocations: 7.844 kB / 2.014 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/4.662, allocations: 7.281 kB / 2.014 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/4.664, allocations: 287.8 kB / 2.015 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/4.664, allocations: 4.688 kB / 2.015 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003146/4.667, allocations: 215.6 kB / 2.015 GB, free: 162.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002208/4.668, allocations: 45.17 kB / 2.015 GB, free: 162.4 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.0003465/4.668, allocations: 127.7 kB / 2.015 GB, free: 162.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003864/4.668, allocations: 141.2 kB / 2.015 GB, free: 162.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003802/4.672, allocations: 1.099 MB / 2.016 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.092e-05/4.672, allocations: 7.031 kB / 2.016 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/4.672, allocations: 3.875 kB / 2.016 GB, free: 162.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002551/4.675, allocations: 0.9115 MB / 2.017 GB, free: 161.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008055/4.683, allocations: 2.943 MB / 2.02 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/4.683, allocations: 12.84 kB / 2.02 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002433/4.685, allocations: 251.6 kB / 2.02 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.997e-05/4.685, allocations: 7.562 kB / 2.02 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/4.686, allocations: 22.91 kB / 2.02 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.076e-05/4.686, allocations: 9.438 kB / 2.02 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.274e-06/4.686, allocations: 8.594 kB / 2.02 GB, free: 161.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004757/4.69, allocations: 2.02 MB / 2.022 GB, free: 160.4 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001339/4.692, allocations: 466.4 kB / 2.023 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004692/4.692, allocations: 7.219 kB / 2.023 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002936/4.695, allocations: 174.8 kB / 2.023 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002615/4.696, allocations: 66.23 kB / 2.023 GB, free: 160.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001743/4.696, allocations: 55.78 kB / 2.023 GB, free: 160.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001658/4.697, allocations: 0.7606 MB / 2.024 GB, free: 160 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003649/4.701, allocations: 0.8276 MB / 2.024 GB, free: 159.9 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.001918/4.703, allocations: 0.7971 MB / 2.025 GB, free: 159.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003502/4.707, allocations: 1.37 MB / 2.027 GB, free: 159.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/4.707, allocations: 0 / 2.027 GB, free: 159.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/4.708, allocations: 0.5043 MB / 2.027 GB, free: 159.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006224/4.714, allocations: 0.6185 MB / 2.028 GB, free: 159.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006822/4.721, allocations: 2.044 MB / 2.03 GB, free: 159 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002046/4.723, allocations: 1.41 MB / 2.031 GB, free: 158.3 MB / 0.948 GB Notification: Performance of SimCode: time 1.914e-06/4.723, allocations: 0 / 2.031 GB, free: 158.3 MB / 0.948 GB Notification: Performance of Templates: time 0.08894/4.812, allocations: 35.49 MB / 2.066 GB, free: 157.7 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.sim & ./Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Chillers.Examples.ElectricEIR.pipe 2>&1)