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: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) [: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 1.049/1.049, allocations: 127.4 MB / 134.6 MB, free: 4.113 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.001458/0.001458, allocations: 181.3 kB / 164.4 MB, free: 6.895 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.77/1.77, allocations: 205.1 MB / 399.1 MB, free: 6.102 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.001064/0.001064, allocations: 81.23 kB / 476.3 MB, free: 8.859 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3413/0.3424, allocations: 82.89 MB / 0.5461 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.5421, allocations: 76.75 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.199/1.741, allocations: 373.9 MB / 0.9861 GB, free: 106.7 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/1.742, allocations: 92.69 kB / 0.9862 GB, free: 106.7 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 2.912/4.653, allocations: 0.7703 GB / 1.757 GB, free: 75.49 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.674e-05/4.653, allocations: 8.656 kB / 1.757 GB, free: 75.49 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002443/4.656, allocations: 260.4 kB / 1.757 GB, free: 75.37 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1447/4.8, allocations: 43.98 MB / 1.8 GB, free: 47.52 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001989/4.801, allocations: 44 kB / 1.8 GB, free: 47.47 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008813/4.802, allocations: 84 kB / 1.8 GB, free: 47.39 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003622/4.805, allocations: 0.8684 MB / 1.801 GB, free: 46.52 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002524/4.808, allocations: 1.179 MB / 1.802 GB, free: 45.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.022e-05/4.808, allocations: 4 kB / 1.802 GB, free: 45.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.832e-05/4.808, allocations: 0 / 1.802 GB, free: 45.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.478e-05/4.808, allocations: 43.94 kB / 1.802 GB, free: 45.22 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01017/4.818, allocations: 8.284 MB / 1.81 GB, free: 36.36 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008489/4.819, allocations: 365.4 kB / 1.81 GB, free: 35.99 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002642/4.82, allocations: 184.5 kB / 1.811 GB, free: 35.81 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005767/4.82, allocations: 0.6713 MB / 1.811 GB, free: 34.99 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.227e-05/4.82, allocations: 38.56 kB / 1.811 GB, free: 34.95 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=42): time 5.21e-06/4.82, allocations: 0 / 1.811 GB, free: 34.95 MB / 0.6511 GB Notification: Performance of matching and sorting (n=42): time 0.001377/4.822, allocations: 482.4 kB / 1.812 GB, free: 34.47 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/4.822, allocations: 55.41 kB / 1.812 GB, free: 34.4 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001805/4.823, allocations: 1.183 MB / 1.813 GB, free: 33.22 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001025/4.824, allocations: 29.7 kB / 1.813 GB, free: 33.19 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005494/4.824, allocations: 0.7023 MB / 1.814 GB, free: 32.47 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002351/4.824, allocations: 149.8 kB / 1.814 GB, free: 32.32 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/4.824, allocations: 0 / 1.814 GB, free: 32.32 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001229/4.825, allocations: 338 kB / 1.814 GB, free: 31.99 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/4.825, allocations: 189.4 kB / 1.814 GB, free: 31.81 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000551/4.825, allocations: 0.5712 MB / 1.815 GB, free: 31.05 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008881/4.826, allocations: 321.1 kB / 1.815 GB, free: 30.74 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.139e-05/4.826, allocations: 4 kB / 1.815 GB, free: 30.73 MB / 0.6511 GB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001832/4.828, allocations: 0.8264 MB / 1.816 GB, free: 29.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/4.828, allocations: 11.42 kB / 1.816 GB, free: 29.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/4.828, allocations: 12 kB / 1.816 GB, free: 29.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.655e-05/4.828, allocations: 16 kB / 1.816 GB, free: 29.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008519/4.829, allocations: 243.4 kB / 1.816 GB, free: 29.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.298e-05/4.829, allocations: 27.86 kB / 1.816 GB, free: 29.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001955/4.831, allocations: 182.9 kB / 1.816 GB, free: 29.42 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/4.831, allocations: 47.98 kB / 1.816 GB, free: 29.38 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.0002219/4.832, allocations: 136.6 kB / 1.817 GB, free: 29.23 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004451/4.832, allocations: 158 kB / 1.817 GB, free: 29.08 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001732/4.834, allocations: 0.539 MB / 1.817 GB, free: 28.53 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.83e-05/4.834, allocations: 8 kB / 1.817 GB, free: 28.52 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/4.834, allocations: 0 / 1.817 GB, free: 28.52 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007589/4.835, allocations: 0.503 MB / 1.818 GB, free: 27.97 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004739/4.839, allocations: 1.718 MB / 1.819 GB, free: 26.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.224e-06/4.839, allocations: 4.125 kB / 1.819 GB, free: 26.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006472/4.84, allocations: 147.8 kB / 1.82 GB, free: 26.05 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/4.84, allocations: 7.938 kB / 1.82 GB, free: 26.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.127e-05/4.84, allocations: 4 kB / 1.82 GB, free: 26.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/4.84, allocations: 4 kB / 1.82 GB, free: 26.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/4.84, allocations: 4 kB / 1.82 GB, free: 26.04 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001588/4.842, allocations: 0.8896 MB / 1.82 GB, free: 25.1 MB / 0.6511 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002107/4.844, allocations: 1.567 MB / 1.822 GB, free: 23.48 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/4.845, allocations: 322.8 kB / 1.822 GB, free: 23.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005656/4.845, allocations: 4 kB / 1.822 GB, free: 23.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001379/4.847, allocations: 103.7 kB / 1.822 GB, free: 23.04 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/4.847, allocations: 28.28 kB / 1.822 GB, free: 23.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.474e-05/4.847, allocations: 29.89 kB / 1.822 GB, free: 22.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.001713/4.849, allocations: 0.8802 MB / 1.823 GB, free: 22.11 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004458/4.853, allocations: 0.8343 MB / 1.824 GB, free: 21.28 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.002724/4.856, allocations: 0.9676 MB / 1.825 GB, free: 20.41 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001334/4.857, allocations: 496.8 kB / 1.826 GB, free: 19.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/4.857, allocations: 4.375 kB / 1.826 GB, free: 19.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004198/4.858, allocations: 195.8 kB / 1.826 GB, free: 19.73 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005412/4.863, allocations: 0.7994 MB / 1.826 GB, free: 18.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006625/4.87, allocations: 2.152 MB / 1.829 GB, free: 16.77 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002224/4.872, allocations: 1.553 MB / 1.83 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of SimCode: time 1.944e-06/4.872, allocations: 0 / 1.83 GB, free: 15.19 MB / 0.6511 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)