Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",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.42/1.42, allocations: 285.5 MB / 292.8 MB, free: 9.84 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.001106/0.001106, allocations: 188.9 kB / 361.1 MB, free: 372 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.1 MB / 0.6195 GB, free: 2.957 MB / 442.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008773/0.0008775, allocations: 86.92 kB / 0.7326 GB, free: 1.164 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.4528/0.4537, allocations: 121.4 MB / 0.8511 GB, free: 151.9 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1839/0.6376, allocations: 115.3 MB / 0.9638 GB, free: 56.32 MB / 0.6355 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7394/1.377, allocations: 406.6 MB / 1.361 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/1.377, allocations: 88.95 kB / 1.361 GB, free: 13.36 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 1.132/2.509, allocations: 435.5 MB / 1.786 GB, free: 53.25 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 3.646e-05/2.51, allocations: 12.5 kB / 1.786 GB, free: 53.24 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005327/2.51, allocations: 134.5 kB / 1.786 GB, free: 53.11 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02466/2.535, allocations: 12.74 MB / 1.799 GB, free: 40.18 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/2.535, allocations: 20 kB / 1.799 GB, free: 40.16 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001381/2.535, allocations: 47.94 kB / 1.799 GB, free: 40.12 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008747/2.536, allocations: 451.9 kB / 1.799 GB, free: 39.68 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009468/2.537, allocations: 0.6345 MB / 1.8 GB, free: 39.01 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/2.537, allocations: 4 kB / 1.8 GB, free: 39 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.131e-05/2.537, allocations: 7.891 kB / 1.8 GB, free: 39 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.75e-05/2.537, allocations: 20 kB / 1.8 GB, free: 38.98 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003637/2.541, allocations: 3.536 MB / 1.803 GB, free: 35.25 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/2.541, allocations: 197.8 kB / 1.804 GB, free: 35.05 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001722/2.541, allocations: 152.7 kB / 1.804 GB, free: 34.89 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003473/2.541, allocations: 0.6648 MB / 1.804 GB, free: 34.08 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.785e-05/2.541, allocations: 39.09 kB / 1.804 GB, free: 34.04 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 2.264e-06/2.541, allocations: 0 / 1.804 GB, free: 34.04 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.0007373/2.542, allocations: 357 kB / 1.805 GB, free: 33.68 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.911e-05/2.542, allocations: 59.39 kB / 1.805 GB, free: 33.61 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007172/2.543, allocations: 0.6414 MB / 1.805 GB, free: 32.96 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/2.543, allocations: 25.7 kB / 1.805 GB, free: 32.93 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/2.543, allocations: 386.8 kB / 1.806 GB, free: 32.54 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.715e-05/2.543, allocations: 110.5 kB / 1.806 GB, free: 32.43 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/2.543, allocations: 3.938 kB / 1.806 GB, free: 32.43 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 4.636e-05/2.543, allocations: 322 kB / 1.806 GB, free: 32.11 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/2.544, allocations: 117 kB / 1.806 GB, free: 32 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/2.544, allocations: 335.4 kB / 1.807 GB, free: 31.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003621/2.544, allocations: 193.5 kB / 1.807 GB, free: 31.38 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/2.544, allocations: 8 kB / 1.807 GB, free: 31.38 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0007526/2.545, allocations: 488.6 kB / 1.807 GB, free: 30.89 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/2.545, allocations: 11.28 kB / 1.807 GB, free: 30.88 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/2.545, allocations: 4 kB / 1.807 GB, free: 30.88 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/2.545, allocations: 8 kB / 1.807 GB, free: 30.87 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003816/2.545, allocations: 119.8 kB / 1.807 GB, free: 30.75 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/2.545, allocations: 16 kB / 1.807 GB, free: 30.74 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006478/2.546, allocations: 83.39 kB / 1.807 GB, free: 30.66 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.824e-05/2.546, allocations: 27.98 kB / 1.808 GB, free: 30.63 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 57 * 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 9.089e-05/2.546, allocations: 120.8 kB / 1.808 GB, free: 30.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/2.546, allocations: 82.97 kB / 1.808 GB, free: 30.42 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007366/2.547, allocations: 448.3 kB / 1.808 GB, free: 29.97 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.404e-06/2.547, allocations: 4 kB / 1.808 GB, free: 29.96 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/2.547, allocations: 0 / 1.808 GB, free: 29.96 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004879/2.548, allocations: 405.5 kB / 1.809 GB, free: 29.54 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001529/2.549, allocations: 1.221 MB / 1.81 GB, free: 28.25 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/2.549, allocations: 0 / 1.81 GB, free: 28.25 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003386/2.549, allocations: 79.89 kB / 1.81 GB, free: 28.18 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/2.549, allocations: 12.14 kB / 1.81 GB, free: 28.16 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.397e-05/2.55, allocations: 4 kB / 1.81 GB, free: 28.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/2.55, allocations: 3.906 kB / 1.81 GB, free: 28.16 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/2.55, allocations: 4 kB / 1.81 GB, free: 28.15 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008083/2.55, allocations: 0.7514 MB / 1.811 GB, free: 27.34 MB / 0.948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001097/2.551, allocations: 1.361 MB / 1.812 GB, free: 25.91 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003141/2.552, allocations: 227.9 kB / 1.812 GB, free: 25.67 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/2.552, allocations: 3.906 kB / 1.812 GB, free: 25.67 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005161/2.552, allocations: 55.89 kB / 1.812 GB, free: 25.61 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.752e-05/2.553, allocations: 27.81 kB / 1.812 GB, free: 25.59 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.364e-05/2.553, allocations: 19.98 kB / 1.812 GB, free: 25.57 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004676/2.553, allocations: 0.4952 MB / 1.813 GB, free: 25.08 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001636/2.555, allocations: 435.2 kB / 1.813 GB, free: 24.65 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0008786/2.556, allocations: 0.5553 MB / 1.814 GB, free: 24.09 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0004262/2.556, allocations: 340.4 kB / 1.814 GB, free: 23.76 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/2.556, allocations: 4.125 kB / 1.814 GB, free: 23.75 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/2.556, allocations: 167.8 kB / 1.814 GB, free: 23.59 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001909/2.558, allocations: 460 kB / 1.815 GB, free: 23.14 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001895/2.56, allocations: 1.174 MB / 1.816 GB, free: 21.93 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005793/2.561, allocations: 1.144 MB / 1.817 GB, free: 20.75 MB / 0.948 GB Notification: Performance of SimCode: time 2.81e-07/2.561, allocations: 0 / 1.817 GB, free: 20.75 MB / 0.948 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)