Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.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.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.509/2.509, allocations: 284.8 MB / 292.1 MB, free: 10.78 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.001692/0.001691, allocations: 189.2 kB / 360.3 MB, free: 7.547 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.852/1.852, allocations: 205.1 MB / 0.6187 GB, free: 13.22 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.00125/0.001249, allocations: 81.61 kB / 0.7317 GB, free: 45.12 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2897/0.291, allocations: 121.4 MB / 0.8502 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6161/0.9072, allocations: 115.2 MB / 0.9627 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.033/1.94, allocations: 412.3 MB / 1.365 GB, free: 155.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002788/1.941, allocations: 92.66 kB / 1.365 GB, free: 155.9 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 3.867/5.807, allocations: 0.7961 GB / 2.162 GB, free: 130.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 7.055e-05/5.807, allocations: 12.75 kB / 2.162 GB, free: 130.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0022/5.809, allocations: 262.9 kB / 2.162 GB, free: 130.6 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09654/5.906, allocations: 24.3 MB / 2.186 GB, free: 116.3 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.708e-05/5.906, allocations: 48.11 kB / 2.186 GB, free: 116.3 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003984/5.907, allocations: 88.19 kB / 2.186 GB, free: 116.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003253/5.91, allocations: 0.8702 MB / 2.187 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004078/5.914, allocations: 1.207 MB / 2.188 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.503e-05/5.914, allocations: 3.031 kB / 2.188 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/5.914, allocations: 2.969 kB / 2.188 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.847e-05/5.914, allocations: 38.8 kB / 2.188 GB, free: 115.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01422/5.929, allocations: 7.597 MB / 2.195 GB, free: 108.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001268/5.93, allocations: 347.7 kB / 2.196 GB, free: 108.3 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007359/5.931, allocations: 280.4 kB / 2.196 GB, free: 108.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/5.932, allocations: 1.16 MB / 2.197 GB, free: 106.9 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/5.932, allocations: 42.8 kB / 2.197 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=59): time 4.027e-06/5.932, allocations: 0 / 2.197 GB, free: 106.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=59): time 0.002835/5.935, allocations: 0.6207 MB / 2.198 GB, free: 106.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.296e-05/5.935, allocations: 57.97 kB / 2.198 GB, free: 106.4 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003433/5.938, allocations: 1.196 MB / 2.199 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002917/5.939, allocations: 28.95 kB / 2.199 GB, free: 105.8 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007204/5.939, allocations: 0.6551 MB / 2.199 GB, free: 105.2 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005045/5.94, allocations: 205.1 kB / 2.2 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.487e-05/5.94, allocations: 0 / 2.2 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001162/5.94, allocations: 347.2 kB / 2.2 GB, free: 104.7 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007667/5.941, allocations: 224.7 kB / 2.2 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009878/5.942, allocations: 0.5854 MB / 2.201 GB, free: 104 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001429/5.943, allocations: 361.9 kB / 2.201 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.268e-05/5.943, allocations: 2.656 kB / 2.201 GB, free: 103.8 MB / 0.9323 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.003264/5.947, allocations: 0.8982 MB / 2.202 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/5.947, allocations: 4 kB / 2.202 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.301e-05/5.947, allocations: 12 kB / 2.202 GB, free: 103.3 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.993e-05/5.947, allocations: 16 kB / 2.202 GB, free: 103.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/5.948, allocations: 234.6 kB / 2.202 GB, free: 103 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.86e-05/5.949, allocations: 23.39 kB / 2.202 GB, free: 103 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003079/5.952, allocations: 176.6 kB / 2.202 GB, free: 102.8 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00025/5.952, allocations: 51.98 kB / 2.202 GB, free: 102.8 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.0003069/5.952, allocations: 132.7 kB / 2.203 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006399/5.953, allocations: 165.9 kB / 2.203 GB, free: 102.5 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002618/5.956, allocations: 0.7612 MB / 2.204 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/5.956, allocations: 11.98 kB / 2.204 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/5.956, allocations: 0 / 2.204 GB, free: 101.7 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001579/5.957, allocations: 0.6912 MB / 2.204 GB, free: 101 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01026/5.968, allocations: 2.178 MB / 2.206 GB, free: 98.74 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.97e-05/5.968, allocations: 4 kB / 2.206 GB, free: 98.73 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002258/5.97, allocations: 185.7 kB / 2.206 GB, free: 98.56 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.861e-05/5.97, allocations: 8 kB / 2.207 GB, free: 98.55 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001655/5.97, allocations: 8 kB / 2.207 GB, free: 98.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.639e-05/5.97, allocations: 11.92 kB / 2.207 GB, free: 98.54 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/5.97, allocations: 4 kB / 2.207 GB, free: 98.53 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004399/5.975, allocations: 1.323 MB / 2.208 GB, free: 97.13 MB / 0.9323 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004368/5.979, allocations: 2.13 MB / 2.21 GB, free: 94.92 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/5.981, allocations: 362.7 kB / 2.21 GB, free: 94.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006898/5.981, allocations: 7.594 kB / 2.21 GB, free: 94.54 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002649/5.984, allocations: 117.6 kB / 2.21 GB, free: 94.43 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002116/5.984, allocations: 48.33 kB / 2.21 GB, free: 94.39 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001351/5.984, allocations: 35.98 kB / 2.21 GB, free: 94.35 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.002199/5.987, allocations: 0.8942 MB / 2.211 GB, free: 93.47 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.005085/5.992, allocations: 0.8578 MB / 2.212 GB, free: 92.61 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.002381/5.994, allocations: 0.9565 MB / 2.213 GB, free: 91.84 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001725/5.996, allocations: 0.6207 MB / 2.214 GB, free: 91.23 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 7.154e-06/5.996, allocations: 0 / 2.214 GB, free: 91.23 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007198/5.997, allocations: 309.7 kB / 2.214 GB, free: 90.92 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009191/6.006, allocations: 0.937 MB / 2.215 GB, free: 90.06 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007964/6.014, allocations: 2.323 MB / 2.217 GB, free: 87.83 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002211/6.016, allocations: 1.601 MB / 2.219 GB, free: 86.22 MB / 0.9323 GB Notification: Performance of SimCode: time 1.503e-06/6.016, allocations: 0 / 2.219 GB, free: 86.22 MB / 0.9323 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Interfaces_Examples_EightPortHeatMassExchanger.fmu > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)