Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.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 Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.422/2.422, allocations: 284.8 MB / 292.1 MB, free: 10.77 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.001699/0.001699, allocations: 181.2 kB / 360.3 MB, free: 7.531 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.975/1.975, allocations: 205.1 MB / 0.6187 GB, free: 13.19 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.001376/0.001375, allocations: 98.19 kB / 0.7317 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2913/0.2928, allocations: 121.4 MB / 0.8502 GB, free: 3.93 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.713/1.006, allocations: 115.3 MB / 0.9628 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.082/2.088, allocations: 406.4 MB / 1.36 GB, free: 322.4 MB / 1.01 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/2.088, allocations: 88.86 kB / 1.36 GB, free: 322.4 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 1.932/4.021, allocations: 435.5 MB / 1.785 GB, free: 269.7 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/4.021, allocations: 11.28 kB / 1.785 GB, free: 269.7 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000751/4.022, allocations: 132.8 kB / 1.785 GB, free: 269.6 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04405/4.066, allocations: 12.73 MB / 1.798 GB, free: 269 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/4.066, allocations: 27.47 kB / 1.798 GB, free: 268.9 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000139/4.066, allocations: 41.56 kB / 1.798 GB, free: 268.9 MB / 1.01 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001389/4.067, allocations: 455.8 kB / 1.798 GB, free: 268.9 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/4.069, allocations: 0.6341 MB / 1.799 GB, free: 268.8 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.475e-05/4.069, allocations: 3.797 kB / 1.799 GB, free: 268.8 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.729e-05/4.069, allocations: 2.625 kB / 1.799 GB, free: 268.8 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.714e-05/4.069, allocations: 18.16 kB / 1.799 GB, free: 268.8 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006256/4.075, allocations: 3.543 MB / 1.802 GB, free: 267 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006085/4.076, allocations: 196.8 kB / 1.802 GB, free: 267 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/4.076, allocations: 143.8 kB / 1.802 GB, free: 267 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005659/4.077, allocations: 0.6647 MB / 1.803 GB, free: 266.2 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.279e-05/4.077, allocations: 43.16 kB / 1.803 GB, free: 266.2 MB / 1.01 GB Notification: Performance of pre-optimization done (n=31): time 2.775e-06/4.077, allocations: 0 / 1.803 GB, free: 266.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=31): time 0.001263/4.078, allocations: 359 kB / 1.803 GB, free: 266.1 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/4.078, allocations: 61.61 kB / 1.804 GB, free: 266.1 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/4.08, allocations: 0.6362 MB / 1.804 GB, free: 265.9 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001/4.08, allocations: 27.86 kB / 1.804 GB, free: 265.9 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/4.08, allocations: 375.3 kB / 1.805 GB, free: 265.7 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001557/4.08, allocations: 114.9 kB / 1.805 GB, free: 265.7 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/4.08, allocations: 0 / 1.805 GB, free: 265.7 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.504e-05/4.08, allocations: 320.9 kB / 1.805 GB, free: 265.4 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003103/4.081, allocations: 121.6 kB / 1.805 GB, free: 265.4 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/4.081, allocations: 335.7 kB / 1.805 GB, free: 265.1 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/4.082, allocations: 199.5 kB / 1.806 GB, free: 265.1 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/4.082, allocations: 0 / 1.806 GB, free: 265.1 MB / 1.01 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001479/4.083, allocations: 486.9 kB / 1.806 GB, free: 265 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/4.083, allocations: 9.016 kB / 1.806 GB, free: 265 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/4.083, allocations: 11.12 kB / 1.806 GB, free: 265 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/4.083, allocations: 7.719 kB / 1.806 GB, free: 265 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008371/4.084, allocations: 125.8 kB / 1.806 GB, free: 265 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.121e-05/4.084, allocations: 14.23 kB / 1.806 GB, free: 265 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001353/4.086, allocations: 77.84 kB / 1.806 GB, free: 265 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/4.086, allocations: 25.16 kB / 1.806 GB, free: 265 MB / 1.01 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 0.0001768/4.086, allocations: 124.2 kB / 1.806 GB, free: 264.9 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/4.086, allocations: 93.38 kB / 1.807 GB, free: 264.9 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/4.088, allocations: 434.5 kB / 1.807 GB, free: 264.8 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/4.088, allocations: 1.906 kB / 1.807 GB, free: 264.8 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/4.088, allocations: 0 / 1.807 GB, free: 264.8 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008509/4.089, allocations: 408 kB / 1.807 GB, free: 264.6 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00314/4.092, allocations: 1.227 MB / 1.809 GB, free: 264.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.133e-06/4.092, allocations: 0 / 1.809 GB, free: 264.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006792/4.093, allocations: 82.86 kB / 1.809 GB, free: 264.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.068e-06/4.093, allocations: 0 / 1.809 GB, free: 264.3 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.922e-05/4.093, allocations: 10.72 kB / 1.809 GB, free: 264.3 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/4.093, allocations: 10.84 kB / 1.809 GB, free: 264.3 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/4.093, allocations: 3.906 kB / 1.809 GB, free: 264.3 MB / 1.01 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00166/4.094, allocations: 0.7484 MB / 1.809 GB, free: 264 MB / 1.01 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002262/4.097, allocations: 1.361 MB / 1.811 GB, free: 263.3 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006828/4.098, allocations: 224.5 kB / 1.811 GB, free: 263.2 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/4.098, allocations: 7.031 kB / 1.811 GB, free: 263.2 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00104/4.099, allocations: 64.42 kB / 1.811 GB, free: 263.2 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.212e-05/4.099, allocations: 25.34 kB / 1.811 GB, free: 263.2 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.525e-05/4.099, allocations: 16.31 kB / 1.811 GB, free: 263.2 MB / 1.01 GB Notification: Performance of sort global known variables: time 0.001053/4.1, allocations: 0.4931 MB / 1.812 GB, free: 263.1 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.003009/4.103, allocations: 441.5 kB / 1.812 GB, free: 263.1 MB / 1.01 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.001663/4.105, allocations: 0.5477 MB / 1.812 GB, free: 262.9 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0009534/4.106, allocations: 342.8 kB / 1.813 GB, free: 262.9 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/4.106, allocations: 0 / 1.813 GB, free: 262.9 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0003857/4.106, allocations: 160.6 kB / 1.813 GB, free: 262.9 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004831/4.111, allocations: 463.3 kB / 1.813 GB, free: 262.9 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003837/4.115, allocations: 1.175 MB / 1.815 GB, free: 262.6 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001099/4.116, allocations: 1.145 MB / 1.816 GB, free: 261.9 MB / 1.01 GB Notification: Performance of SimCode: time 2.284e-06/4.116, allocations: 0 / 1.816 GB, free: 261.9 MB / 1.01 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_FourPortHeatMassExchanger.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)