Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.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.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam") [: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.553/1.553, allocations: 289.8 MB / 297 MB, free: 6.629 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.001186/0.001186, allocations: 177.3 kB / 366.3 MB, free: 1.949 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.56/1.56, allocations: 205.1 MB / 0.6256 GB, free: 7.457 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.0009461/0.0009461, allocations: 85.67 kB / 0.7395 GB, free: 39.87 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.226e-06/8.246e-06, allocations: 0 / 0.859 GB, free: 13.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.696/0.696, allocations: 116.3 MB / 0.9725 GB, free: 76 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9046/1.601, allocations: 413.7 MB / 1.377 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/1.601, allocations: 84.14 kB / 1.377 GB, free: 138.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.596/3.197, allocations: 0.5547 GB / 1.931 GB, free: 52.76 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0002015/3.197, allocations: 39.98 kB / 1.931 GB, free: 52.72 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: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.003906/3.201, allocations: 1.628 MB / 1.933 GB, free: 51.04 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/3.201, allocations: 8.031 kB / 1.933 GB, free: 51.03 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003488/3.205, allocations: 0.6458 MB / 1.934 GB, free: 50.38 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/3.208, allocations: 1.597 MB / 1.935 GB, free: 48.73 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/3.208, allocations: 99.64 kB / 1.935 GB, free: 48.63 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001363/3.208, allocations: 56 kB / 1.935 GB, free: 48.57 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001689/3.21, allocations: 1.097 MB / 1.936 GB, free: 47.48 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001515/3.211, allocations: 1.077 MB / 1.938 GB, free: 46.36 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.891e-05/3.211, allocations: 4 kB / 1.938 GB, free: 46.36 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.581e-05/3.211, allocations: 0 / 1.938 GB, free: 46.36 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.681e-05/3.211, allocations: 31.92 kB / 1.938 GB, free: 46.33 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007383/3.219, allocations: 5.475 MB / 1.943 GB, free: 40.66 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/3.22, allocations: 0.8479 MB / 1.944 GB, free: 39.79 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005493/3.22, allocations: 482.6 kB / 1.944 GB, free: 39.32 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006131/3.221, allocations: 1.077 MB / 1.945 GB, free: 38 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006783/3.222, allocations: 0.5517 MB / 1.946 GB, free: 37.44 MB / 0.948 GB Notification: Performance of pre-optimization done (n=60): time 3.236e-06/3.222, allocations: 0 / 1.946 GB, free: 37.44 MB / 0.948 GB Notification: Performance of matching and sorting (n=60): time 0.001998/3.224, allocations: 0.9909 MB / 1.947 GB, free: 36.44 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/3.224, allocations: 55.91 kB / 1.947 GB, free: 36.37 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001135/3.225, allocations: 1.01 MB / 1.948 GB, free: 35.36 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.81e-05/3.225, allocations: 33.7 kB / 1.948 GB, free: 35.32 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/3.225, allocations: 440.3 kB / 1.948 GB, free: 34.88 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/3.225, allocations: 201 kB / 1.948 GB, free: 34.68 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.898e-05/3.225, allocations: 0 / 1.948 GB, free: 34.68 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.334e-05/3.226, allocations: 334 kB / 1.949 GB, free: 34.35 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005165/3.226, allocations: 413.4 kB / 1.949 GB, free: 33.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/3.227, allocations: 0.6456 MB / 1.95 GB, free: 33.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009503/3.228, allocations: 466.8 kB / 1.95 GB, free: 32.74 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/3.228, allocations: 7.906 kB / 1.95 GB, free: 32.73 MB / 0.948 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.001869/3.23, allocations: 1.116 MB / 1.951 GB, free: 31.61 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/3.23, allocations: 4 kB / 1.951 GB, free: 31.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/3.23, allocations: 4 kB / 1.951 GB, free: 31.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.387e-05/3.23, allocations: 12 kB / 1.951 GB, free: 31.59 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001331/3.231, allocations: 283.6 kB / 1.952 GB, free: 31.31 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.105e-05/3.231, allocations: 8 kB / 1.952 GB, free: 31.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001422/3.232, allocations: 187.2 kB / 1.952 GB, free: 31.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001182/3.233, allocations: 59.97 kB / 1.952 GB, free: 31.06 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,absIndSte.on,$PRE.onOff.pulseStart,onOff.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * 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.0001885/3.233, allocations: 128.7 kB / 1.952 GB, free: 30.93 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001711/3.233, allocations: 130.4 kB / 1.952 GB, free: 30.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002371/3.235, allocations: 1.207 MB / 1.953 GB, free: 29.58 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.114e-05/3.235, allocations: 8 kB / 1.953 GB, free: 29.57 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/3.235, allocations: 0 / 1.953 GB, free: 29.57 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001582/3.237, allocations: 1.03 MB / 1.954 GB, free: 28.52 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004002/3.241, allocations: 2.669 MB / 1.957 GB, free: 25.78 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/3.241, allocations: 4 kB / 1.957 GB, free: 25.77 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/3.242, allocations: 235.9 kB / 1.957 GB, free: 25.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/3.242, allocations: 15.98 kB / 1.957 GB, free: 25.53 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.452e-05/3.242, allocations: 19.97 kB / 1.957 GB, free: 25.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/3.242, allocations: 7.906 kB / 1.957 GB, free: 25.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/3.242, allocations: 8 kB / 1.957 GB, free: 25.49 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002586/3.245, allocations: 2.003 MB / 1.959 GB, free: 23.42 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006215/3.246, allocations: 383.2 kB / 1.959 GB, free: 23.02 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002027/3.246, allocations: 11.92 kB / 1.959 GB, free: 23.01 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00124/3.247, allocations: 151.6 kB / 1.96 GB, free: 22.86 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001292/3.247, allocations: 44.44 kB / 1.96 GB, free: 22.82 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/3.247, allocations: 51.95 kB / 1.96 GB, free: 22.77 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009814/3.248, allocations: 0.7742 MB / 1.96 GB, free: 21.99 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001544/3.25, allocations: 0.4911 MB / 1.961 GB, free: 21.5 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 2 (absIndSte.vol1.dynBal.U,absIndSte.vol2.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,absIndSte.on,onOff.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (65): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 1 * 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.001087/3.251, allocations: 0.6677 MB / 1.962 GB, free: 20.83 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001251/3.252, allocations: 0.9127 MB / 1.963 GB, free: 19.92 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/3.252, allocations: 0 / 1.963 GB, free: 19.92 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006128/3.253, allocations: 0.4941 MB / 1.963 GB, free: 19.42 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002292/3.255, allocations: 0.5207 MB / 1.964 GB, free: 18.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/3.259, allocations: 2.034 MB / 1.965 GB, free: 16.81 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001049/3.26, allocations: 1.399 MB / 1.967 GB, free: 15.38 MB / 0.948 GB Notification: Performance of SimCode: time 4.9e-07/3.26, allocations: 0 / 1.967 GB, free: 15.38 MB / 0.948 GB Notification: Performance of Templates: time 0.4529/3.713, allocations: 25.78 MB / 1.992 GB, free: 266.4 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteam.pipe 2>&1)