Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 183.8 kB / 7.798 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4484/0.4484, allocations: 90.84 MB / 99.06 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.251/1.251, allocations: 221.4 MB / 342.8 MB, free: 5.109 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009748/0.0009748, allocations: 94.8 kB / 415.5 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 8.095e-06/8.115e-06, allocations: 4 kB / 493.9 MB, free: 8.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3255, allocations: 72.3 MB / 0.5529 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5363/0.8619, allocations: 377.6 MB / 0.9216 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002172/0.8622, allocations: 90.83 kB / 0.9217 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.587/3.449, allocations: 0.8137 GB / 1.735 GB, free: 63.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003353/3.45, allocations: 61.22 kB / 1.735 GB, free: 63.41 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.005548/3.455, allocations: 2.181 MB / 1.738 GB, free: 62.5 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/3.455, allocations: 14 kB / 1.738 GB, free: 62.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001195/3.456, allocations: 263.3 kB / 1.738 GB, free: 62.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05449/3.511, allocations: 24.81 MB / 1.762 GB, free: 61.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-05/3.511, allocations: 42.31 kB / 1.762 GB, free: 61.08 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004524/3.512, allocations: 86.44 kB / 1.762 GB, free: 61.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002331/3.514, allocations: 0.8756 MB / 1.763 GB, free: 61.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002127/3.516, allocations: 1.204 MB / 1.764 GB, free: 60.86 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.119e-05/3.516, allocations: 7.469 kB / 1.764 GB, free: 60.86 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.986e-05/3.516, allocations: 2.781 kB / 1.764 GB, free: 60.86 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.427e-05/3.516, allocations: 46.44 kB / 1.764 GB, free: 60.85 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007778/3.524, allocations: 7.592 MB / 1.772 GB, free: 56.53 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005853/3.525, allocations: 345.6 kB / 1.772 GB, free: 56.52 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003405/3.525, allocations: 273.5 kB / 1.772 GB, free: 56.5 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006786/3.526, allocations: 1.161 MB / 1.773 GB, free: 55.19 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.665e-05/3.526, allocations: 41.59 kB / 1.773 GB, free: 55.15 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=59): time 2.424e-06/3.526, allocations: 0 / 1.773 GB, free: 55.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=59): time 0.001348/3.527, allocations: 0.6223 MB / 1.774 GB, free: 55.02 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/3.527, allocations: 65.55 kB / 1.774 GB, free: 54.96 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001413/3.529, allocations: 1.202 MB / 1.775 GB, free: 54.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.674e-05/3.529, allocations: 29.2 kB / 1.775 GB, free: 54.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003734/3.529, allocations: 0.6557 MB / 1.776 GB, free: 54.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002402/3.529, allocations: 202.6 kB / 1.776 GB, free: 54.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.892e-05/3.529, allocations: 3.094 kB / 1.776 GB, free: 54.26 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.748e-05/3.529, allocations: 340.3 kB / 1.777 GB, free: 53.95 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/3.53, allocations: 222.1 kB / 1.777 GB, free: 53.95 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004585/3.53, allocations: 0.5799 MB / 1.777 GB, free: 53.52 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006719/3.531, allocations: 367.2 kB / 1.778 GB, free: 53.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.318e-06/3.531, allocations: 0 / 1.778 GB, free: 53.51 MB / 0.6198 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001447/3.532, allocations: 0.9034 MB / 1.779 GB, free: 53.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/3.532, allocations: 9.594 kB / 1.779 GB, free: 53.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/3.532, allocations: 8.672 kB / 1.779 GB, free: 53.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/3.532, allocations: 18.91 kB / 1.779 GB, free: 53.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007447/3.533, allocations: 233.1 kB / 1.779 GB, free: 53.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.654e-05/3.533, allocations: 20.44 kB / 1.779 GB, free: 53.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/3.535, allocations: 177.9 kB / 1.779 GB, free: 53.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.333e-05/3.535, allocations: 52.42 kB / 1.779 GB, free: 53.33 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (111): * Single equations (assignments): 111 * 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.0001655/3.535, allocations: 134.5 kB / 1.779 GB, free: 53.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001986/3.535, allocations: 167.2 kB / 1.779 GB, free: 53.13 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/3.537, allocations: 0.763 MB / 1.78 GB, free: 53.05 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/3.537, allocations: 10.45 kB / 1.78 GB, free: 53.05 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/3.537, allocations: 3.969 kB / 1.78 GB, free: 53.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008656/3.537, allocations: 0.6887 MB / 1.781 GB, free: 52.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003373/3.541, allocations: 2.179 MB / 1.783 GB, free: 52.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/3.541, allocations: 0 / 1.783 GB, free: 52.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007628/3.542, allocations: 191.9 kB / 1.783 GB, free: 52.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.448e-06/3.542, allocations: 6.969 kB / 1.783 GB, free: 52.41 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.01e-05/3.542, allocations: 6.844 kB / 1.783 GB, free: 52.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/3.542, allocations: 7.875 kB / 1.783 GB, free: 52.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/3.542, allocations: 6.781 kB / 1.783 GB, free: 52.41 MB / 0.6198 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00151/3.543, allocations: 1.322 MB / 1.784 GB, free: 51.95 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006711/3.544, allocations: 370.9 kB / 1.785 GB, free: 51.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002147/3.544, allocations: 7.562 kB / 1.785 GB, free: 51.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/3.545, allocations: 121.8 kB / 1.785 GB, free: 51.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/3.545, allocations: 46.08 kB / 1.785 GB, free: 51.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.38e-05/3.545, allocations: 36.36 kB / 1.785 GB, free: 51.75 MB / 0.6198 GB Notification: Performance of sort global known variables: time 0.001106/3.546, allocations: 0.9046 MB / 1.786 GB, free: 51.64 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002225/3.549, allocations: 0.7064 MB / 1.787 GB, free: 51.51 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (eigPor.vol1.dynBal.U,eigPor.vol2.dynBal.U,eigPor.vol3.dynBal.U,eigPor.vol4.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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 Backend phase and start with SimCode phase: time 0.001464/3.55, allocations: 0.961 MB / 1.787 GB, free: 51.28 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009797/3.551, allocations: 0.6189 MB / 1.788 GB, free: 51.27 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/3.551, allocations: 5.781 kB / 1.788 GB, free: 51.27 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0003809/3.552, allocations: 315.4 kB / 1.788 GB, free: 51.27 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004394/3.556, allocations: 0.9207 MB / 1.789 GB, free: 51.25 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/3.56, allocations: 2.325 MB / 1.792 GB, free: 50.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/3.561, allocations: 1.591 MB / 1.793 GB, free: 49.84 MB / 0.6198 GB Notification: Performance of SimCode: time 9.92e-07/3.561, allocations: 0 / 1.793 GB, free: 49.84 MB / 0.6198 GB Notification: Performance of Templates: time 0.05234/3.614, allocations: 32.77 MB / 1.825 GB, free: 47.28 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)