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: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") [: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.664/1.664, allocations: 289.8 MB / 297.1 MB, free: 6.629 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.001283/0.001282, allocations: 185.3 kB / 366.3 MB, free: 1.922 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.786/1.786, allocations: 205.2 MB / 0.6256 GB, free: 5.73 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.001116/0.001116, allocations: 92.83 kB / 0.7395 GB, free: 39.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.218e-05/1.22e-05, allocations: 4 kB / 0.859 GB, free: 13.29 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7669/0.7669, allocations: 116.3 MB / 0.9726 GB, free: 68.44 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9662/1.733, allocations: 413.4 MB / 1.376 GB, free: 75.14 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/1.733, allocations: 95.59 kB / 1.376 GB, free: 75.09 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.46/4.194, allocations: 0.7939 GB / 2.17 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001929/4.194, allocations: 59.84 kB / 2.17 GB, free: 113.8 MB / 0.9636 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 0.00415/4.198, allocations: 2.184 MB / 2.172 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/4.198, allocations: 7.531 kB / 2.172 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008723/4.199, allocations: 262.2 kB / 2.173 GB, free: 112.1 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0525/4.251, allocations: 24.3 MB / 2.196 GB, free: 97.79 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.14e-05/4.251, allocations: 43.56 kB / 2.197 GB, free: 97.79 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/4.252, allocations: 91.41 kB / 2.197 GB, free: 97.78 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001809/4.254, allocations: 0.8764 MB / 2.197 GB, free: 97.38 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/4.255, allocations: 1.203 MB / 2.199 GB, free: 96.65 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.927e-05/4.256, allocations: 5.312 kB / 2.199 GB, free: 96.65 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/4.256, allocations: 2.719 kB / 2.199 GB, free: 96.65 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.59e-05/4.256, allocations: 48.3 kB / 2.199 GB, free: 96.64 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008734/4.264, allocations: 7.591 MB / 2.206 GB, free: 89.95 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006391/4.265, allocations: 356.3 kB / 2.206 GB, free: 89.79 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003654/4.266, allocations: 271.4 kB / 2.207 GB, free: 89.67 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007225/4.266, allocations: 1.157 MB / 2.208 GB, free: 88.32 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.878e-05/4.266, allocations: 54.98 kB / 2.208 GB, free: 88.27 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=59): time 4.378e-06/4.266, allocations: 3.656 kB / 2.208 GB, free: 88.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=59): time 0.001413/4.268, allocations: 0.6208 MB / 2.208 GB, free: 87.96 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.133e-05/4.268, allocations: 57.03 kB / 2.209 GB, free: 87.89 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001521/4.269, allocations: 1.192 MB / 2.21 GB, free: 87.28 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 8.695e-05/4.269, allocations: 28.33 kB / 2.21 GB, free: 87.25 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004057/4.27, allocations: 0.6559 MB / 2.21 GB, free: 86.68 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002377/4.27, allocations: 204.4 kB / 2.211 GB, free: 86.5 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/4.27, allocations: 0 / 2.211 GB, free: 86.5 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.46e-05/4.27, allocations: 346.6 kB / 2.211 GB, free: 86.17 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/4.271, allocations: 220.5 kB / 2.211 GB, free: 86.07 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005063/4.271, allocations: 0.587 MB / 2.212 GB, free: 85.48 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006886/4.272, allocations: 363.1 kB / 2.212 GB, free: 85.31 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/4.272, allocations: 2.594 kB / 2.212 GB, free: 85.31 MB / 0.9636 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001482/4.273, allocations: 0.8995 MB / 2.213 GB, free: 84.88 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/4.273, allocations: 3.438 kB / 2.213 GB, free: 84.88 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.41e-05/4.273, allocations: 11.44 kB / 2.213 GB, free: 84.88 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.84e-05/4.273, allocations: 15.31 kB / 2.213 GB, free: 84.88 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007838/4.274, allocations: 232.5 kB / 2.213 GB, free: 84.83 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.533e-05/4.274, allocations: 22.45 kB / 2.213 GB, free: 84.82 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001398/4.276, allocations: 172.7 kB / 2.213 GB, free: 84.74 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.745e-05/4.276, allocations: 52.83 kB / 2.213 GB, free: 84.73 MB / 0.9636 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.0001612/4.276, allocations: 133.4 kB / 2.214 GB, free: 84.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00022/4.276, allocations: 166.7 kB / 2.214 GB, free: 84.51 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001595/4.278, allocations: 0.7603 MB / 2.214 GB, free: 84.1 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-05/4.278, allocations: 10.27 kB / 2.214 GB, free: 84.1 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/4.278, allocations: 1.219 kB / 2.214 GB, free: 84.1 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00095/4.279, allocations: 0.7054 MB / 2.215 GB, free: 83.62 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003681/4.282, allocations: 2.167 MB / 2.217 GB, free: 81.85 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.672e-06/4.282, allocations: 4 kB / 2.217 GB, free: 81.85 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000754/4.283, allocations: 193.2 kB / 2.217 GB, free: 81.67 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/4.283, allocations: 4 kB / 2.217 GB, free: 81.66 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.123e-05/4.283, allocations: 11.98 kB / 2.217 GB, free: 81.65 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.232e-06/4.283, allocations: 4 kB / 2.217 GB, free: 81.65 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.971e-06/4.283, allocations: 4 kB / 2.217 GB, free: 81.64 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001773/4.285, allocations: 1.319 MB / 2.219 GB, free: 80.25 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008119/4.286, allocations: 362.7 kB / 2.219 GB, free: 79.87 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/4.286, allocations: 7.984 kB / 2.219 GB, free: 79.86 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/4.287, allocations: 118.6 kB / 2.219 GB, free: 79.76 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/4.287, allocations: 52.27 kB / 2.219 GB, free: 79.71 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.448e-05/4.287, allocations: 31.98 kB / 2.219 GB, free: 79.68 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001267/4.289, allocations: 0.8981 MB / 2.22 GB, free: 78.79 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.002628/4.291, allocations: 0.7016 MB / 2.221 GB, free: 78.09 MB / 0.9636 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.001785/4.293, allocations: 0.9582 MB / 2.222 GB, free: 77.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001105/4.294, allocations: 0.6182 MB / 2.222 GB, free: 76.69 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/4.294, allocations: 0 / 2.222 GB, free: 76.69 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0003883/4.294, allocations: 309.7 kB / 2.223 GB, free: 76.39 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004806/4.299, allocations: 0.9331 MB / 2.224 GB, free: 75.52 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004593/4.304, allocations: 2.325 MB / 2.226 GB, free: 73.16 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001102/4.305, allocations: 1.59 MB / 2.227 GB, free: 71.54 MB / 0.9636 GB Notification: Performance of SimCode: time 8.41e-07/4.305, allocations: 0 / 2.227 GB, free: 71.54 MB / 0.9636 GB Notification: Performance of Templates: time 0.05114/4.356, allocations: 32.92 MB / 2.26 GB, free: 39.29 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (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 & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)