Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.02/2.02, allocations: 387.2 MB / 394.5 MB, free: 13.24 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 182.1 kB / 487 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 221.3 MB / 0.7819 GB, free: 6.727 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009992/0.0009991, allocations: 105.4 kB / 0.9213 GB, free: 43.65 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 0.3574/0.3584, allocations: 148.5 MB / 1.066 GB, free: 7.449 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8597/1.218, allocations: 142.3 MB / 1.205 GB, free: 72.78 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.129/2.347, allocations: 425.4 MB / 1.621 GB, free: 185.3 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002509/2.347, allocations: 92.3 kB / 1.621 GB, free: 185.2 MB / 1.01 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.892/5.239, allocations: 0.8159 GB / 2.437 GB, free: 183.1 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/5.24, allocations: 7.719 kB / 2.437 GB, free: 183.1 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009521/5.24, allocations: 274.3 kB / 2.437 GB, free: 183 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05576/5.296, allocations: 24.8 MB / 2.461 GB, free: 181.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.878e-05/5.296, allocations: 45.62 kB / 2.461 GB, free: 181.8 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/5.297, allocations: 82.62 kB / 2.461 GB, free: 181.8 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001606/5.298, allocations: 0.8777 MB / 2.462 GB, free: 181.8 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/5.3, allocations: 1.203 MB / 2.463 GB, free: 181.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.699e-05/5.3, allocations: 6.188 kB / 2.463 GB, free: 181.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.726e-05/5.3, allocations: 0 / 2.463 GB, free: 181.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-05/5.3, allocations: 41.53 kB / 2.463 GB, free: 181.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007404/5.308, allocations: 7.604 MB / 2.471 GB, free: 177.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005652/5.308, allocations: 358.5 kB / 2.471 GB, free: 177.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000337/5.308, allocations: 269.1 kB / 2.471 GB, free: 177.3 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006388/5.309, allocations: 1.164 MB / 2.473 GB, free: 176 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/5.309, allocations: 38.88 kB / 2.473 GB, free: 175.9 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 2.905e-06/5.309, allocations: 0 / 2.473 GB, free: 175.9 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.001313/5.31, allocations: 0.6195 MB / 2.473 GB, free: 175.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.951e-05/5.311, allocations: 62.34 kB / 2.473 GB, free: 175.7 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/5.312, allocations: 1.203 MB / 2.474 GB, free: 175.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 8.103e-05/5.312, allocations: 29.64 kB / 2.474 GB, free: 175.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003594/5.312, allocations: 0.6569 MB / 2.475 GB, free: 175.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002254/5.313, allocations: 206.6 kB / 2.475 GB, free: 175.2 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/5.313, allocations: 3 kB / 2.475 GB, free: 175.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.604e-05/5.313, allocations: 339.4 kB / 2.476 GB, free: 174.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002898/5.313, allocations: 223.5 kB / 2.476 GB, free: 174.9 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004394/5.313, allocations: 0.5828 MB / 2.476 GB, free: 174.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/5.314, allocations: 364.2 kB / 2.477 GB, free: 174.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/5.314, allocations: 2.75 kB / 2.477 GB, free: 174.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.0014/5.316, allocations: 0.8996 MB / 2.478 GB, free: 174.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/5.316, allocations: 3.406 kB / 2.478 GB, free: 174.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/5.316, allocations: 10.72 kB / 2.478 GB, free: 174.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.311e-05/5.316, allocations: 15.12 kB / 2.478 GB, free: 174.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000742/5.316, allocations: 236.2 kB / 2.478 GB, free: 174.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.9e-05/5.316, allocations: 24.31 kB / 2.478 GB, free: 174.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/5.318, allocations: 172.4 kB / 2.478 GB, free: 174.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.878e-05/5.318, allocations: 51.81 kB / 2.478 GB, free: 174.3 MB / 1.151 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.0002002/5.318, allocations: 141 kB / 2.478 GB, free: 174.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002165/5.318, allocations: 171.6 kB / 2.478 GB, free: 174.1 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001484/5.32, allocations: 0.7641 MB / 2.479 GB, free: 174 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/5.32, allocations: 11.66 kB / 2.479 GB, free: 174 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/5.32, allocations: 0 / 2.479 GB, free: 174 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008404/5.321, allocations: 0.6942 MB / 2.48 GB, free: 173.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003391/5.324, allocations: 2.172 MB / 2.482 GB, free: 173.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.3e-06/5.324, allocations: 0 / 2.482 GB, free: 173.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000748/5.325, allocations: 197.7 kB / 2.482 GB, free: 173.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/5.325, allocations: 2.781 kB / 2.482 GB, free: 173.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.03e-05/5.325, allocations: 10.38 kB / 2.482 GB, free: 173.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/5.325, allocations: 3.375 kB / 2.482 GB, free: 173.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/5.325, allocations: 9.25 kB / 2.482 GB, free: 173.3 MB / 1.151 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001611/5.327, allocations: 1.321 MB / 2.483 GB, free: 172.9 MB / 1.151 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002173/5.329, allocations: 2.129 MB / 2.486 GB, free: 172 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007833/5.33, allocations: 379.6 kB / 2.486 GB, free: 171.9 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/5.33, allocations: 3.719 kB / 2.486 GB, free: 171.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001076/5.331, allocations: 123.7 kB / 2.486 GB, free: 171.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/5.331, allocations: 41.77 kB / 2.486 GB, free: 171.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.655e-05/5.331, allocations: 37.52 kB / 2.486 GB, free: 171.8 MB / 1.151 GB Notification: Performance of sort global known variables: time 0.001163/5.332, allocations: 0.9026 MB / 2.487 GB, free: 171.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.003158/5.335, allocations: 0.8621 MB / 2.488 GB, free: 171.6 MB / 1.151 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.001516/5.337, allocations: 0.9605 MB / 2.489 GB, free: 171.4 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001114/5.338, allocations: 0.6226 MB / 2.489 GB, free: 171.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.908e-06/5.338, allocations: 2.844 kB / 2.489 GB, free: 171.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0004281/5.338, allocations: 309.1 kB / 2.49 GB, free: 171.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004275/5.343, allocations: 0.9207 MB / 2.491 GB, free: 171.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004538/5.347, allocations: 2.337 MB / 2.493 GB, free: 170.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/5.348, allocations: 1.603 MB / 2.494 GB, free: 169.9 MB / 1.151 GB Notification: Performance of SimCode: time 1.262e-06/5.348, allocations: 6.719 kB / 2.494 GB, free: 169.9 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_9_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)