Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.715/1.715, allocations: 289.8 MB / 297.1 MB, free: 12.71 MB / 242.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001374/0.001374, allocations: 178 kB / 366.3 MB, free: 11.95 MB / 290.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.676/1.676, allocations: 205.1 MB / 0.6256 GB, free: 2.031 MB / 466.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009303/0.0009305, allocations: 89.52 kB / 0.7395 GB, free: 47.06 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 0.2875/0.2884, allocations: 122.4 MB / 0.8591 GB, free: 7.121 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7871/1.076, allocations: 116.3 MB / 0.9726 GB, free: 81.45 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/2.108, allocations: 413.4 MB / 1.376 GB, free: 160.7 MB / 0.8621 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003348/2.109, allocations: 95.58 kB / 1.376 GB, free: 160.6 MB / 0.8621 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.77/4.879, allocations: 0.7961 GB / 2.173 GB, free: 135.8 MB / 0.9402 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/4.879, allocations: 7.781 kB / 2.173 GB, free: 135.8 MB / 0.9402 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/4.881, allocations: 261.7 kB / 2.173 GB, free: 135.7 MB / 0.9402 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0604/4.941, allocations: 24.3 MB / 2.197 GB, free: 122 MB / 0.9402 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/4.941, allocations: 45.16 kB / 2.197 GB, free: 122 MB / 0.9402 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004588/4.942, allocations: 86.16 kB / 2.197 GB, free: 121.9 MB / 0.9402 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002649/4.944, allocations: 0.8764 MB / 2.198 GB, free: 121.5 MB / 0.9402 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003094/4.948, allocations: 1.205 MB / 2.199 GB, free: 120.8 MB / 0.9402 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-05/4.948, allocations: 8.875 kB / 2.199 GB, free: 120.8 MB / 0.9402 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002046/4.948, allocations: 2.969 kB / 2.199 GB, free: 120.8 MB / 0.9402 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.862e-05/4.948, allocations: 35 kB / 2.199 GB, free: 120.8 MB / 0.9402 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009927/4.958, allocations: 7.61 MB / 2.206 GB, free: 114.1 MB / 0.9402 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007461/4.959, allocations: 346 kB / 2.207 GB, free: 114 MB / 0.9402 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000378/4.959, allocations: 270.1 kB / 2.207 GB, free: 113.9 MB / 0.9402 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007025/4.96, allocations: 1.162 MB / 2.208 GB, free: 112.5 MB / 0.9402 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.886e-05/4.96, allocations: 42.09 kB / 2.208 GB, free: 112.5 MB / 0.9402 GB Notification: Performance of pre-optimization done (n=59): time 3.056e-06/4.96, allocations: 0 / 2.208 GB, free: 112.5 MB / 0.9402 GB Notification: Performance of matching and sorting (n=59): time 0.001617/4.962, allocations: 0.6226 MB / 2.209 GB, free: 112.1 MB / 0.9402 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.721e-05/4.962, allocations: 55.06 kB / 2.209 GB, free: 112.1 MB / 0.9402 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002276/4.964, allocations: 1.198 MB / 2.21 GB, free: 111.5 MB / 0.9402 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/4.964, allocations: 31.33 kB / 2.21 GB, free: 111.4 MB / 0.9402 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004935/4.964, allocations: 0.6542 MB / 2.21 GB, free: 110.9 MB / 0.9402 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002753/4.965, allocations: 201.1 kB / 2.211 GB, free: 110.7 MB / 0.9402 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.806e-05/4.965, allocations: 0 / 2.211 GB, free: 110.7 MB / 0.9402 GB Notification: Performance of setup shared object (initialization): time 7.023e-05/4.965, allocations: 347.4 kB / 2.211 GB, free: 110.4 MB / 0.9402 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/4.965, allocations: 219.9 kB / 2.211 GB, free: 110.3 MB / 0.9402 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005283/4.966, allocations: 0.5836 MB / 2.212 GB, free: 109.7 MB / 0.9402 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008735/4.967, allocations: 365.9 kB / 2.212 GB, free: 109.5 MB / 0.9402 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/4.967, allocations: 2.594 kB / 2.212 GB, free: 109.5 MB / 0.9402 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001933/4.969, allocations: 0.8965 MB / 2.213 GB, free: 109.1 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/4.969, allocations: 5.594 kB / 2.213 GB, free: 109.1 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/4.969, allocations: 8.969 kB / 2.213 GB, free: 109.1 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.354e-05/4.969, allocations: 17.28 kB / 2.213 GB, free: 109.1 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007899/4.97, allocations: 238.4 kB / 2.213 GB, free: 109 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/4.97, allocations: 21.64 kB / 2.213 GB, free: 109 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/4.971, allocations: 172.3 kB / 2.213 GB, free: 108.9 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/4.971, allocations: 45.5 kB / 2.213 GB, free: 108.9 MB / 0.9402 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.0002141/4.972, allocations: 145.1 kB / 2.214 GB, free: 108.8 MB / 0.9402 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004644/4.972, allocations: 168.6 kB / 2.214 GB, free: 108.7 MB / 0.9402 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001908/4.974, allocations: 0.7554 MB / 2.215 GB, free: 108.3 MB / 0.9402 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.581e-05/4.974, allocations: 6.969 kB / 2.215 GB, free: 108.3 MB / 0.9402 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/4.974, allocations: 0 / 2.215 GB, free: 108.3 MB / 0.9402 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/4.975, allocations: 0.6991 MB / 2.215 GB, free: 107.8 MB / 0.9402 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004773/4.98, allocations: 2.168 MB / 2.217 GB, free: 106.4 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/4.98, allocations: 1 kB / 2.217 GB, free: 106.4 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007905/4.981, allocations: 200.4 kB / 2.218 GB, free: 106.3 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-05/4.981, allocations: 5.156 kB / 2.218 GB, free: 106.3 MB / 0.9402 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/4.981, allocations: 6.25 kB / 2.218 GB, free: 106.3 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.195e-06/4.981, allocations: 7.938 kB / 2.218 GB, free: 106.3 MB / 0.9402 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/4.981, allocations: 5.219 kB / 2.218 GB, free: 106.3 MB / 0.9402 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002328/4.983, allocations: 1.316 MB / 2.219 GB, free: 105.4 MB / 0.9402 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.003039/4.986, allocations: 2.126 MB / 2.221 GB, free: 103.9 MB / 0.9402 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001132/4.987, allocations: 373.1 kB / 2.221 GB, free: 103.6 MB / 0.9402 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006275/4.988, allocations: 6.75 kB / 2.221 GB, free: 103.6 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/4.99, allocations: 115 kB / 2.221 GB, free: 103.6 MB / 0.9402 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/4.99, allocations: 51.03 kB / 2.221 GB, free: 103.6 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/4.99, allocations: 39.44 kB / 2.221 GB, free: 103.5 MB / 0.9402 GB Notification: Performance of sort global known variables: time 0.002233/4.992, allocations: 0.8904 MB / 2.222 GB, free: 103 MB / 0.9402 GB Notification: Performance of remove unused functions: time 0.004273/4.997, allocations: 0.8617 MB / 2.223 GB, free: 102.2 MB / 0.9402 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.00199/4.999, allocations: 0.968 MB / 2.224 GB, free: 101.4 MB / 0.9402 GB Notification: Performance of simCode: created initialization part: time 0.001202/5, allocations: 0.6249 MB / 2.225 GB, free: 100.8 MB / 0.9402 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/5, allocations: 0 / 2.225 GB, free: 100.8 MB / 0.9402 GB Notification: Performance of simCode: created simulation system equations: time 0.00048/5, allocations: 309.7 kB / 2.225 GB, free: 100.5 MB / 0.9402 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005253/5.006, allocations: 0.9281 MB / 2.226 GB, free: 99.6 MB / 0.9402 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005763/5.011, allocations: 2.321 MB / 2.228 GB, free: 97.37 MB / 0.9402 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001651/5.013, allocations: 1.598 MB / 2.23 GB, free: 95.77 MB / 0.9402 GB Notification: Performance of SimCode: time 1.122e-06/5.013, allocations: 0 / 2.23 GB, free: 95.77 MB / 0.9402 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)