Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0/package.mo): time 0.7297/0.7297, allocations: 127.4 MB / 134.6 MB, free: 4.082 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001263/0.001263, allocations: 181.3 kB / 164.4 MB, free: 6.887 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2/2, allocations: 205.1 MB / 399.1 MB, free: 6.055 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009998/0.0009997, allocations: 93.64 kB / 476.3 MB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 9.267e-06/9.307e-06, allocations: 4 kB / 0.546 GB, free: 42.74 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2134, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.289/1.503, allocations: 373.9 MB / 0.986 GB, free: 108.5 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003672/1.503, allocations: 92.06 kB / 0.9861 GB, free: 108.5 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.796/4.299, allocations: 0.7681 GB / 1.754 GB, free: 76.86 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0003843/4.3, allocations: 57.33 kB / 1.754 GB, free: 76.84 MB / 0.6511 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.007661/4.307, allocations: 2.172 MB / 1.756 GB, free: 75.61 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/4.307, allocations: 8.062 kB / 1.756 GB, free: 75.61 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001943/4.309, allocations: 269 kB / 1.757 GB, free: 75.48 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1314/4.441, allocations: 43.98 MB / 1.8 GB, free: 49.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/4.441, allocations: 44 kB / 1.8 GB, free: 49.16 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005233/4.441, allocations: 88 kB / 1.8 GB, free: 49.07 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002637/4.444, allocations: 0.8645 MB / 1.801 GB, free: 48.21 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002837/4.447, allocations: 1.179 MB / 1.802 GB, free: 46.95 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.937e-05/4.447, allocations: 0 / 1.802 GB, free: 46.95 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/4.447, allocations: 4 kB / 1.802 GB, free: 46.95 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.772e-05/4.447, allocations: 36 kB / 1.802 GB, free: 46.91 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01013/4.457, allocations: 8.289 MB / 1.81 GB, free: 38.04 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007695/4.458, allocations: 365.7 kB / 1.81 GB, free: 37.68 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/4.458, allocations: 188.5 kB / 1.81 GB, free: 37.49 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000411/4.459, allocations: 0.6632 MB / 1.811 GB, free: 36.68 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/4.459, allocations: 42.5 kB / 1.811 GB, free: 36.63 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=42): time 3.657e-06/4.459, allocations: 0 / 1.811 GB, free: 36.63 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42): time 0.00133/4.46, allocations: 482.4 kB / 1.812 GB, free: 36.15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.502e-05/4.46, allocations: 55.41 kB / 1.812 GB, free: 36.09 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00211/4.462, allocations: 1.183 MB / 1.813 GB, free: 34.91 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001146/4.463, allocations: 25.7 kB / 1.813 GB, free: 34.88 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004428/4.463, allocations: 0.712 MB / 1.813 GB, free: 34.16 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001839/4.463, allocations: 153.8 kB / 1.814 GB, free: 34 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.89e-05/4.463, allocations: 0 / 1.814 GB, free: 34 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.828e-05/4.463, allocations: 334 kB / 1.814 GB, free: 33.67 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003153/4.464, allocations: 190 kB / 1.814 GB, free: 33.49 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004559/4.464, allocations: 0.5674 MB / 1.815 GB, free: 32.73 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007028/4.465, allocations: 321.1 kB / 1.815 GB, free: 32.42 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/4.465, allocations: 0 / 1.815 GB, free: 32.42 MB / 0.6511 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001537/4.466, allocations: 0.8226 MB / 1.816 GB, free: 31.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/4.466, allocations: 10.34 kB / 1.816 GB, free: 31.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/4.466, allocations: 8.906 kB / 1.816 GB, free: 31.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.491e-05/4.466, allocations: 23.94 kB / 1.816 GB, free: 31.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/4.467, allocations: 239.7 kB / 1.816 GB, free: 31.32 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/4.467, allocations: 27.86 kB / 1.816 GB, free: 31.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001564/4.469, allocations: 182.9 kB / 1.816 GB, free: 31.11 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.267e-05/4.469, allocations: 47.98 kB / 1.816 GB, free: 31.06 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 106 * 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.0001612/4.469, allocations: 144.5 kB / 1.816 GB, free: 30.91 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/4.469, allocations: 158 kB / 1.817 GB, free: 30.76 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001143/4.471, allocations: 0.5358 MB / 1.817 GB, free: 30.21 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/4.471, allocations: 4 kB / 1.817 GB, free: 30.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.607e-06/4.471, allocations: 3 kB / 1.817 GB, free: 30.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005854/4.471, allocations: 0.5108 MB / 1.818 GB, free: 29.64 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003153/4.474, allocations: 1.708 MB / 1.819 GB, free: 27.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/4.474, allocations: 8.125 kB / 1.819 GB, free: 27.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000587/4.475, allocations: 135.8 kB / 1.819 GB, free: 27.74 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/4.475, allocations: 8 kB / 1.819 GB, free: 27.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.631e-05/4.475, allocations: 8 kB / 1.819 GB, free: 27.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.793e-06/4.475, allocations: 7.938 kB / 1.819 GB, free: 27.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/4.475, allocations: 0 / 1.819 GB, free: 27.72 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00114/4.476, allocations: 0.8973 MB / 1.82 GB, free: 26.77 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005888/4.477, allocations: 322.8 kB / 1.821 GB, free: 26.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/4.477, allocations: 6.734 kB / 1.821 GB, free: 26.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008387/4.478, allocations: 103.8 kB / 1.821 GB, free: 26.33 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/4.478, allocations: 36.16 kB / 1.821 GB, free: 26.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/4.478, allocations: 19.98 kB / 1.821 GB, free: 26.28 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.00117/4.479, allocations: 0.8802 MB / 1.822 GB, free: 25.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002511/4.482, allocations: 0.6857 MB / 1.822 GB, free: 24.72 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001456/4.483, allocations: 0.9734 MB / 1.823 GB, free: 23.85 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007906/4.484, allocations: 495.8 kB / 1.824 GB, free: 23.37 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/4.484, allocations: 1.062 kB / 1.824 GB, free: 23.37 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002547/4.484, allocations: 196.1 kB / 1.824 GB, free: 23.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003368/4.488, allocations: 0.8097 MB / 1.825 GB, free: 22.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003959/4.492, allocations: 2.146 MB / 1.827 GB, free: 20.21 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009945/4.493, allocations: 1.545 MB / 1.828 GB, free: 18.63 MB / 0.6511 GB Notification: Performance of SimCode: time 7.51e-07/4.493, allocations: 0 / 1.828 GB, free: 18.63 MB / 0.6511 GB Notification: Performance of Templates: time 0.05142/4.544, allocations: 30.54 MB / 1.858 GB, free: 4.68 MB / 0.6667 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)