Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.497/1.497, allocations: 285.5 MB / 292.8 MB, free: 10.56 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.00107/0.00107, allocations: 189.3 kB / 361.1 MB, free: 7.137 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.657/1.657, allocations: 205.1 MB / 0.6195 GB, free: 10.38 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.00103/0.00103, allocations: 99.91 kB / 0.7326 GB, free: 44.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.798e-06/9.918e-06, allocations: 4 kB / 0.8511 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6749/0.6749, allocations: 115.3 MB / 0.9637 GB, free: 78.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8908/1.566, allocations: 412.5 MB / 1.366 GB, free: 152 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002147/1.566, allocations: 90.95 kB / 1.367 GB, free: 152 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.452/4.018, allocations: 0.7939 GB / 2.16 GB, free: 129.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003498/4.018, allocations: 58.69 kB / 2.161 GB, free: 129.8 MB / 0.9323 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.006873/4.025, allocations: 2.182 MB / 2.163 GB, free: 128.3 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/4.025, allocations: 7.812 kB / 2.163 GB, free: 128.3 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/4.027, allocations: 272.8 kB / 2.163 GB, free: 128.2 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05532/4.082, allocations: 24.3 MB / 2.187 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.922e-05/4.082, allocations: 42 kB / 2.187 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005907/4.083, allocations: 92.22 kB / 2.187 GB, free: 113.8 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002786/4.086, allocations: 0.8752 MB / 2.188 GB, free: 113.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002977/4.089, allocations: 1.203 MB / 2.189 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.203e-05/4.089, allocations: 7.016 kB / 2.189 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001719/4.089, allocations: 0.7188 kB / 2.189 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.236e-05/4.089, allocations: 42.5 kB / 2.189 GB, free: 112.7 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008793/4.098, allocations: 7.594 MB / 2.196 GB, free: 105.9 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005626/4.098, allocations: 350.7 kB / 2.197 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003169/4.099, allocations: 273.4 kB / 2.197 GB, free: 105.3 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006609/4.099, allocations: 1.159 MB / 2.198 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/4.099, allocations: 46.97 kB / 2.198 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=59): time 2.855e-06/4.099, allocations: 3.312 kB / 2.198 GB, free: 103.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=59): time 0.001276/4.101, allocations: 0.6157 MB / 2.199 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.977e-05/4.101, allocations: 59.91 kB / 2.199 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/4.102, allocations: 1.193 MB / 2.2 GB, free: 102 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.587e-05/4.102, allocations: 25.7 kB / 2.2 GB, free: 101.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003502/4.103, allocations: 0.6524 MB / 2.201 GB, free: 101.3 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/4.103, allocations: 209 kB / 2.201 GB, free: 101.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/4.103, allocations: 3.062 kB / 2.201 GB, free: 101.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 6.468e-05/4.103, allocations: 341.9 kB / 2.201 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002989/4.103, allocations: 225.9 kB / 2.201 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004354/4.104, allocations: 0.5808 MB / 2.202 GB, free: 99.77 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006341/4.104, allocations: 361.5 kB / 2.202 GB, free: 99.43 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.613e-06/4.104, allocations: 4 kB / 2.202 GB, free: 99.43 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00134/4.106, allocations: 0.8977 MB / 2.203 GB, free: 98.53 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/4.106, allocations: 7.25 kB / 2.203 GB, free: 98.52 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.191e-05/4.106, allocations: 8 kB / 2.203 GB, free: 98.52 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.553e-05/4.106, allocations: 16.69 kB / 2.203 GB, free: 98.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007183/4.106, allocations: 231 kB / 2.203 GB, free: 98.28 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/4.106, allocations: 23.92 kB / 2.203 GB, free: 98.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/4.108, allocations: 179.4 kB / 2.203 GB, free: 98.09 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-05/4.108, allocations: 51.98 kB / 2.204 GB, free: 98.04 MB / 0.9323 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.0001365/4.108, allocations: 128.7 kB / 2.204 GB, free: 97.91 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001839/4.108, allocations: 169.9 kB / 2.204 GB, free: 97.74 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/4.109, allocations: 0.7661 MB / 2.205 GB, free: 96.96 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/4.11, allocations: 8 kB / 2.205 GB, free: 96.96 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/4.11, allocations: 0 / 2.205 GB, free: 96.96 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008509/4.11, allocations: 0.6984 MB / 2.205 GB, free: 96.21 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003106/4.113, allocations: 2.172 MB / 2.207 GB, free: 94 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/4.114, allocations: 4 kB / 2.207 GB, free: 93.99 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007236/4.114, allocations: 186 kB / 2.208 GB, free: 93.82 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/4.114, allocations: 4 kB / 2.208 GB, free: 93.81 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/4.114, allocations: 11.98 kB / 2.208 GB, free: 93.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/4.114, allocations: 11.75 kB / 2.208 GB, free: 93.79 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.349e-06/4.114, allocations: 4.938 kB / 2.208 GB, free: 93.79 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001531/4.116, allocations: 1.316 MB / 2.209 GB, free: 92.39 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007105/4.117, allocations: 366.7 kB / 2.209 GB, free: 92.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/4.117, allocations: 7.656 kB / 2.209 GB, free: 92.01 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/4.118, allocations: 123.8 kB / 2.209 GB, free: 91.9 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.553e-05/4.118, allocations: 44.34 kB / 2.209 GB, free: 91.86 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.313e-05/4.118, allocations: 35.97 kB / 2.209 GB, free: 91.82 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001018/4.119, allocations: 0.8943 MB / 2.21 GB, free: 90.94 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002209/4.121, allocations: 0.7016 MB / 2.211 GB, free: 90.23 MB / 0.9323 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.001363/4.123, allocations: 0.9663 MB / 2.212 GB, free: 89.45 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0008442/4.123, allocations: 0.6208 MB / 2.213 GB, free: 88.83 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/4.124, allocations: 0 / 2.213 GB, free: 88.83 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003684/4.124, allocations: 317.1 kB / 2.213 GB, free: 88.52 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004519/4.128, allocations: 0.9336 MB / 2.214 GB, free: 87.65 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005428/4.134, allocations: 2.318 MB / 2.216 GB, free: 85.43 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00141/4.135, allocations: 1.592 MB / 2.218 GB, free: 83.82 MB / 0.9323 GB Notification: Performance of SimCode: time 2.013e-06/4.135, allocations: 0 / 2.218 GB, free: 83.82 MB / 0.9323 GB Notification: Performance of Templates: time 0.04732/4.183, allocations: 32.94 MB / 2.25 GB, free: 51.7 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)