Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.46/2.46, allocations: 284.9 MB / 292.2 MB, free: 10.71 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001688/0.001688, allocations: 189.2 kB / 360.4 MB, free: 7.473 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205.2 MB / 0.6188 GB, free: 12.39 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001295/0.001294, allocations: 95.42 kB / 0.7318 GB, free: 44.95 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.129e-05/1.139e-05, allocations: 4 kB / 0.8502 GB, free: 3.828 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6371/0.6372, allocations: 115.2 MB / 0.9628 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.645, allocations: 412.3 MB / 1.365 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/1.646, allocations: 92.33 kB / 1.365 GB, free: 151.1 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.527/5.173, allocations: 0.7939 GB / 2.159 GB, free: 150 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003934/5.174, allocations: 55.44 kB / 2.159 GB, free: 150 MB / 0.948 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.00771/5.181, allocations: 2.18 MB / 2.162 GB, free: 149 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/5.181, allocations: 9.75 kB / 2.162 GB, free: 149 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/5.183, allocations: 269 kB / 2.162 GB, free: 148.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09084/5.274, allocations: 24.29 MB / 2.186 GB, free: 142.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.942e-05/5.274, allocations: 46.59 kB / 2.186 GB, free: 142.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003221/5.274, allocations: 88.03 kB / 2.186 GB, free: 142.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003161/5.278, allocations: 0.8768 MB / 2.187 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003595/5.281, allocations: 1.206 MB / 2.188 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.39e-05/5.281, allocations: 3.938 kB / 2.188 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/5.282, allocations: 3.5 kB / 2.188 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.26e-05/5.282, allocations: 41.44 kB / 2.188 GB, free: 141.8 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01424/5.296, allocations: 7.608 MB / 2.195 GB, free: 135.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/5.297, allocations: 350.1 kB / 2.196 GB, free: 135.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006688/5.298, allocations: 264.6 kB / 2.196 GB, free: 135 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009759/5.299, allocations: 1.162 MB / 2.197 GB, free: 133.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.646e-05/5.299, allocations: 43.59 kB / 2.197 GB, free: 133.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=59): time 3.045e-06/5.299, allocations: 2.719 kB / 2.197 GB, free: 133.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=59): time 0.002511/5.301, allocations: 0.62 MB / 2.198 GB, free: 133.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.866e-05/5.302, allocations: 58.03 kB / 2.198 GB, free: 133.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002991/5.305, allocations: 1.197 MB / 2.199 GB, free: 132.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002247/5.305, allocations: 28.55 kB / 2.199 GB, free: 132.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006465/5.305, allocations: 0.6598 MB / 2.199 GB, free: 132 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004325/5.306, allocations: 209.5 kB / 2.2 GB, free: 131.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/5.306, allocations: 0 / 2.2 GB, free: 131.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000107/5.306, allocations: 337.7 kB / 2.2 GB, free: 131.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000641/5.307, allocations: 224.6 kB / 2.2 GB, free: 131.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009515/5.308, allocations: 0.5854 MB / 2.201 GB, free: 130.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/5.309, allocations: 351.8 kB / 2.201 GB, free: 130.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.526e-05/5.309, allocations: 3.438 kB / 2.201 GB, free: 130.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.00321/5.312, allocations: 0.8997 MB / 2.202 GB, free: 130.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.633e-05/5.312, allocations: 5.688 kB / 2.202 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.582e-05/5.312, allocations: 13.94 kB / 2.202 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.429e-05/5.313, allocations: 16.19 kB / 2.202 GB, free: 130.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001632/5.314, allocations: 235.7 kB / 2.202 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.402e-05/5.314, allocations: 17.62 kB / 2.202 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00285/5.317, allocations: 173 kB / 2.202 GB, free: 130.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001769/5.317, allocations: 52.3 kB / 2.202 GB, free: 130.1 MB / 0.948 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.0002771/5.318, allocations: 138.8 kB / 2.203 GB, free: 129.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005284/5.318, allocations: 167.1 kB / 2.203 GB, free: 129.8 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002751/5.321, allocations: 0.7627 MB / 2.204 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.005e-05/5.321, allocations: 5.344 kB / 2.204 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/5.321, allocations: 0 / 2.204 GB, free: 129.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001671/5.323, allocations: 0.6969 MB / 2.204 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006802/5.33, allocations: 2.164 MB / 2.206 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.28e-05/5.33, allocations: 10.06 kB / 2.206 GB, free: 127.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0015/5.331, allocations: 194.6 kB / 2.207 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.408e-05/5.331, allocations: 5.188 kB / 2.207 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-05/5.331, allocations: 14.83 kB / 2.207 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.105e-06/5.331, allocations: 2.562 kB / 2.207 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/5.331, allocations: 6.469 kB / 2.207 GB, free: 127.4 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003213/5.334, allocations: 1.316 MB / 2.208 GB, free: 126.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001458/5.336, allocations: 370.2 kB / 2.208 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004521/5.336, allocations: 5.562 kB / 2.208 GB, free: 126.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002295/5.339, allocations: 115.5 kB / 2.208 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/5.339, allocations: 54.09 kB / 2.208 GB, free: 126.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/5.339, allocations: 35.31 kB / 2.208 GB, free: 126.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.002102/5.341, allocations: 0.8925 MB / 2.209 GB, free: 125.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003863/5.345, allocations: 0.706 MB / 2.21 GB, free: 125.5 MB / 0.948 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.348, allocations: 0.9657 MB / 2.211 GB, free: 125.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001784/5.349, allocations: 0.6166 MB / 2.211 GB, free: 124.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/5.349, allocations: 3.25 kB / 2.211 GB, free: 124.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007709/5.35, allocations: 312.4 kB / 2.212 GB, free: 124.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009269/5.359, allocations: 0.9281 MB / 2.213 GB, free: 124.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007892/5.367, allocations: 2.32 MB / 2.215 GB, free: 123.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002049/5.37, allocations: 1.589 MB / 2.217 GB, free: 122.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.653e-06/5.37, allocations: 3.156 kB / 2.217 GB, free: 122.2 MB / 0.948 GB Notification: Performance of Templates: time 0.08838/5.458, allocations: 32.94 MB / 2.249 GB, free: 96.4 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.EightPortHeatMassExchanger.pipe 2>&1)