Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.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.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") [: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.362/2.362, allocations: 284.9 MB / 292.2 MB, free: 10.72 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.001634/0.001634, allocations: 189.2 kB / 360.4 MB, free: 7.461 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.815/1.815, allocations: 205.1 MB / 0.6188 GB, free: 12.41 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.001341/0.00134, allocations: 86.02 kB / 0.7318 GB, free: 44.97 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.211e-05/1.227e-05, allocations: 4 kB / 0.8502 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6501/0.6501, allocations: 115.2 MB / 0.9628 GB, free: 78.21 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.682, allocations: 406.4 MB / 1.36 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/1.683, allocations: 92.02 kB / 1.36 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.836/3.518, allocations: 434.2 MB / 1.784 GB, free: 210.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000138/3.519, allocations: 23.84 kB / 1.784 GB, free: 210.6 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: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002916/3.521, allocations: 1.263 MB / 1.785 GB, free: 209.4 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/3.522, allocations: 8.031 kB / 1.785 GB, free: 209.4 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005844/3.522, allocations: 133.5 kB / 1.785 GB, free: 209.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04275/3.565, allocations: 12.74 MB / 1.798 GB, free: 196.7 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.807e-05/3.565, allocations: 21.73 kB / 1.798 GB, free: 196.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/3.565, allocations: 44 kB / 1.798 GB, free: 196.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001376/3.566, allocations: 455.9 kB / 1.798 GB, free: 196.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/3.568, allocations: 0.63 MB / 1.799 GB, free: 195.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/3.568, allocations: 7.938 kB / 1.799 GB, free: 195.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.576e-05/3.568, allocations: 3.062 kB / 1.799 GB, free: 195.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/3.568, allocations: 23.91 kB / 1.799 GB, free: 195.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005748/3.574, allocations: 3.543 MB / 1.802 GB, free: 191.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/3.575, allocations: 193.8 kB / 1.802 GB, free: 191.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003243/3.575, allocations: 149.8 kB / 1.802 GB, free: 191.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005512/3.575, allocations: 0.668 MB / 1.803 GB, free: 190.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/3.576, allocations: 38.47 kB / 1.803 GB, free: 190.6 MB / 0.948 GB Notification: Performance of pre-optimization done (n=31): time 3.497e-06/3.576, allocations: 0 / 1.803 GB, free: 190.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=31): time 0.001146/3.577, allocations: 361.5 kB / 1.804 GB, free: 190.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.576e-05/3.577, allocations: 55.41 kB / 1.804 GB, free: 190.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001151/3.578, allocations: 0.6406 MB / 1.804 GB, free: 189.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.262e-05/3.578, allocations: 25.7 kB / 1.804 GB, free: 189.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002561/3.578, allocations: 378.9 kB / 1.805 GB, free: 189.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001407/3.578, allocations: 106.4 kB / 1.805 GB, free: 189 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/3.578, allocations: 0 / 1.805 GB, free: 189 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.719e-05/3.579, allocations: 326 kB / 1.805 GB, free: 188.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002971/3.579, allocations: 120.2 kB / 1.805 GB, free: 188.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/3.579, allocations: 331.2 kB / 1.805 GB, free: 188.2 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006212/3.58, allocations: 197.9 kB / 1.806 GB, free: 188 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/3.58, allocations: 4 kB / 1.806 GB, free: 188 MB / 0.948 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.001284/3.581, allocations: 494.2 kB / 1.806 GB, free: 187.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/3.581, allocations: 7.5 kB / 1.806 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/3.581, allocations: 7.938 kB / 1.806 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-05/3.581, allocations: 11.98 kB / 1.806 GB, free: 187.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007847/3.582, allocations: 115.9 kB / 1.806 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/3.582, allocations: 15.16 kB / 1.806 GB, free: 187.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/3.583, allocations: 81.48 kB / 1.806 GB, free: 187.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/3.583, allocations: 24 kB / 1.806 GB, free: 187.3 MB / 0.948 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.0001556/3.584, allocations: 128 kB / 1.806 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001636/3.584, allocations: 82.97 kB / 1.807 GB, free: 187.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001361/3.585, allocations: 435.7 kB / 1.807 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/3.585, allocations: 7.938 kB / 1.807 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/3.585, allocations: 7.562 kB / 1.807 GB, free: 186.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008171/3.586, allocations: 409.8 kB / 1.807 GB, free: 186.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002757/3.589, allocations: 1.216 MB / 1.809 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/3.589, allocations: 0 / 1.809 GB, free: 184.9 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006678/3.589, allocations: 83.55 kB / 1.809 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.798e-06/3.589, allocations: 4 kB / 1.809 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/3.59, allocations: 11.98 kB / 1.809 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/3.59, allocations: 3.375 kB / 1.809 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.602e-06/3.59, allocations: 7.906 kB / 1.809 GB, free: 184.8 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001469/3.591, allocations: 0.7435 MB / 1.809 GB, free: 184 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005046/3.592, allocations: 235.8 kB / 1.81 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001735/3.592, allocations: 1.25 kB / 1.81 GB, free: 183.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009526/3.593, allocations: 50.45 kB / 1.81 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/3.593, allocations: 23.88 kB / 1.81 GB, free: 183.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.804e-05/3.593, allocations: 19.98 kB / 1.81 GB, free: 183.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0009015/3.594, allocations: 0.4945 MB / 1.81 GB, free: 183.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001553/3.595, allocations: 363.2 kB / 1.811 GB, free: 182.8 MB / 0.948 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.001232/3.597, allocations: 0.5603 MB / 1.811 GB, free: 182.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008281/3.597, allocations: 343.1 kB / 1.811 GB, free: 182 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/3.597, allocations: 4 kB / 1.811 GB, free: 182 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/3.598, allocations: 160.6 kB / 1.812 GB, free: 181.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004098/3.602, allocations: 469.9 kB / 1.812 GB, free: 181.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003221/3.605, allocations: 1.168 MB / 1.813 GB, free: 180.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009015/3.606, allocations: 1.141 MB / 1.814 GB, free: 179.1 MB / 0.948 GB Notification: Performance of SimCode: time 1.223e-06/3.606, allocations: 0 / 1.814 GB, free: 179.1 MB / 0.948 GB Notification: Performance of Templates: time 0.04447/3.651, allocations: 17.17 MB / 1.831 GB, free: 162.1 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (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 & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)