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: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.408/1.408, allocations: 285.5 MB / 292.8 MB, free: 10.42 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.001006/0.001006, allocations: 181.3 kB / 361.1 MB, free: 7.109 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.151/1.151, allocations: 205.1 MB / 0.6195 GB, free: 10.3 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.0007875/0.0007875, allocations: 97.84 kB / 0.7326 GB, free: 44.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2038/0.2047, allocations: 121.4 MB / 0.8511 GB, free: 2.906 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5267/0.7314, allocations: 115.3 MB / 0.9638 GB, free: 78.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6944/1.426, allocations: 412.4 MB / 1.367 GB, free: 154.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/1.426, allocations: 92.44 kB / 1.367 GB, free: 154.2 MB / 0.8542 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.253/3.679, allocations: 0.7961 GB / 2.163 GB, free: 128 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/3.68, allocations: 9.219 kB / 2.163 GB, free: 128 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/3.681, allocations: 264.1 kB / 2.163 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05293/3.734, allocations: 24.31 MB / 2.187 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.132e-05/3.734, allocations: 40.5 kB / 2.187 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004016/3.734, allocations: 90.44 kB / 2.187 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002114/3.737, allocations: 0.8699 MB / 2.188 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0023/3.739, allocations: 1.212 MB / 2.189 GB, free: 112.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.033e-05/3.739, allocations: 0 / 2.189 GB, free: 112.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001345/3.739, allocations: 2.969 kB / 2.189 GB, free: 112.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-05/3.739, allocations: 37.88 kB / 2.189 GB, free: 112.5 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00823/3.747, allocations: 7.587 MB / 2.196 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/3.748, allocations: 352.9 kB / 2.197 GB, free: 105.6 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/3.748, allocations: 273 kB / 2.197 GB, free: 105.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006442/3.749, allocations: 1.162 MB / 2.198 GB, free: 104.2 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/3.749, allocations: 47.09 kB / 2.198 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=59): time 2.614e-06/3.749, allocations: 3.938 kB / 2.198 GB, free: 104.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=59): time 0.001526/3.751, allocations: 0.6183 MB / 2.199 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/3.751, allocations: 57.62 kB / 2.199 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/3.752, allocations: 1.199 MB / 2.2 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.863e-05/3.752, allocations: 28.39 kB / 2.2 GB, free: 102.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003556/3.753, allocations: 0.6563 MB / 2.201 GB, free: 102 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/3.753, allocations: 201.1 kB / 2.201 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.875e-05/3.753, allocations: 3.938 kB / 2.201 GB, free: 101.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.028e-05/3.753, allocations: 345.8 kB / 2.201 GB, free: 101.4 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003057/3.753, allocations: 222 kB / 2.201 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004555/3.754, allocations: 0.5806 MB / 2.202 GB, free: 100.5 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006465/3.754, allocations: 361.1 kB / 2.202 GB, free: 100.2 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.421e-06/3.754, allocations: 4 kB / 2.202 GB, free: 100.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00143/3.756, allocations: 0.8941 MB / 2.203 GB, free: 99.25 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/3.756, allocations: 7.938 kB / 2.203 GB, free: 99.25 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/3.756, allocations: 8 kB / 2.203 GB, free: 99.24 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.318e-05/3.756, allocations: 16 kB / 2.203 GB, free: 99.22 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007038/3.757, allocations: 233.8 kB / 2.203 GB, free: 99 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.542e-05/3.757, allocations: 23.92 kB / 2.203 GB, free: 98.98 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001442/3.758, allocations: 172.7 kB / 2.204 GB, free: 98.82 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.735e-05/3.758, allocations: 51.98 kB / 2.204 GB, free: 98.77 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.0001711/3.758, allocations: 143.8 kB / 2.204 GB, free: 98.62 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002671/3.759, allocations: 169.2 kB / 2.204 GB, free: 98.46 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/3.76, allocations: 0.7569 MB / 2.205 GB, free: 97.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/3.76, allocations: 8 kB / 2.205 GB, free: 97.69 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/3.76, allocations: 0 / 2.205 GB, free: 97.69 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008782/3.761, allocations: 0.6951 MB / 2.205 GB, free: 96.95 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003433/3.764, allocations: 2.17 MB / 2.207 GB, free: 94.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.932e-06/3.764, allocations: 9.25 kB / 2.207 GB, free: 94.72 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007068/3.765, allocations: 184.8 kB / 2.208 GB, free: 94.55 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/3.765, allocations: 7.984 kB / 2.208 GB, free: 94.54 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.884e-05/3.765, allocations: 8 kB / 2.208 GB, free: 94.53 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.28e-06/3.765, allocations: 7.938 kB / 2.208 GB, free: 94.52 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/3.765, allocations: 4 kB / 2.208 GB, free: 94.52 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001482/3.767, allocations: 1.32 MB / 2.209 GB, free: 93.12 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002066/3.769, allocations: 2.126 MB / 2.211 GB, free: 90.91 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007255/3.77, allocations: 366.7 kB / 2.211 GB, free: 90.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003639/3.77, allocations: 5.125 kB / 2.211 GB, free: 90.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001199/3.771, allocations: 124.2 kB / 2.212 GB, free: 90.42 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.306e-05/3.771, allocations: 48.34 kB / 2.212 GB, free: 90.38 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.734e-05/3.771, allocations: 35.97 kB / 2.212 GB, free: 90.34 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.0009473/3.772, allocations: 0.891 MB / 2.212 GB, free: 89.46 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002873/3.775, allocations: 0.8648 MB / 2.213 GB, free: 88.59 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.001223/3.776, allocations: 0.9689 MB / 2.214 GB, free: 87.81 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007912/3.777, allocations: 0.6253 MB / 2.215 GB, free: 87.19 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/3.777, allocations: 0 / 2.215 GB, free: 87.19 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0003526/3.778, allocations: 309.7 kB / 2.215 GB, free: 86.89 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003771/3.781, allocations: 0.9219 MB / 2.216 GB, free: 86.02 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003655/3.785, allocations: 2.329 MB / 2.218 GB, free: 83.78 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001002/3.786, allocations: 1.6 MB / 2.22 GB, free: 82.18 MB / 0.9323 GB Notification: Performance of SimCode: time 4.91e-07/3.786, allocations: 0 / 2.22 GB, free: 82.18 MB / 0.9323 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)