Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") [: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.202/2.202, allocations: 284.9 MB / 292.2 MB, free: 1.156 MB / 226.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001717/0.001717, allocations: 188.5 kB / 360.4 MB, free: 15.55 MB / 290.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.836/1.836, allocations: 205.1 MB / 0.6188 GB, free: 6.34 MB / 466.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001302/0.001302, allocations: 95.66 kB / 0.7318 GB, free: 47.09 MB / 0.5184 GB Notification: Performance of FrontEnd - loaded program: time 1.172e-05/1.188e-05, allocations: 0 / 0.8502 GB, free: 13.43 MB / 0.5965 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6587/0.6588, allocations: 115.2 MB / 0.9628 GB, free: 86.15 MB / 0.6746 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.846/5.505, allocations: 2.088 GB / 3.051 GB, free: 1.762 MB / 0.9402 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/5.505, allocations: 79.69 kB / 3.051 GB, free: 1.723 MB / 0.9402 GB Notification: Performance of FrontEnd: time 4.681/10.19, allocations: 1.001 GB / 4.052 GB, free: 73.2 MB / 0.9402 GB Notification: Performance of Transformations before backend: time 0.0001459/10.19, allocations: 31.94 kB / 4.052 GB, free: 73.17 MB / 0.9402 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.007989/10.19, allocations: 1.759 MB / 4.054 GB, free: 71.36 MB / 0.9402 GB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/10.19, allocations: 12.78 kB / 4.054 GB, free: 71.35 MB / 0.9402 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005719/10.2, allocations: 0.5915 MB / 4.054 GB, free: 70.75 MB / 0.9402 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004124/10.2, allocations: 1.054 MB / 4.055 GB, free: 69.66 MB / 0.9402 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001247/10.21, allocations: 185.9 kB / 4.056 GB, free: 69.47 MB / 0.9402 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/10.21, allocations: 59.92 kB / 4.056 GB, free: 69.41 MB / 0.9402 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003084/10.21, allocations: 1.047 MB / 4.057 GB, free: 68.37 MB / 0.9402 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003512/10.21, allocations: 1.044 MB / 4.058 GB, free: 67.3 MB / 0.9402 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.026e-05/10.21, allocations: 4 kB / 4.058 GB, free: 67.3 MB / 0.9402 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/10.21, allocations: 0 / 4.058 GB, free: 67.3 MB / 0.9402 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-05/10.21, allocations: 41.98 kB / 4.058 GB, free: 67.26 MB / 0.9402 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01222/10.23, allocations: 4.101 MB / 4.062 GB, free: 62.93 MB / 0.9402 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/10.23, allocations: 0.7233 MB / 4.062 GB, free: 62.2 MB / 0.9402 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/10.23, allocations: 0.5132 MB / 4.063 GB, free: 61.68 MB / 0.9402 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001605/10.23, allocations: 0.6125 MB / 4.064 GB, free: 60.96 MB / 0.9402 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.573e-05/10.23, allocations: 43.22 kB / 4.064 GB, free: 60.91 MB / 0.9402 GB Notification: Performance of pre-optimization done (n=76): time 8.796e-06/10.23, allocations: 0 / 4.064 GB, free: 60.91 MB / 0.9402 GB Notification: Performance of matching and sorting (n=76): time 0.004784/10.24, allocations: 1.19 MB / 4.065 GB, free: 59.71 MB / 0.9402 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/10.24, allocations: 60.06 kB / 4.065 GB, free: 59.64 MB / 0.9402 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/10.24, allocations: 0.5668 MB / 4.065 GB, free: 59.07 MB / 0.9402 GB Notification: Performance of collectPreVariables (initialization): time 0.000295/10.24, allocations: 29.7 kB / 4.065 GB, free: 59.03 MB / 0.9402 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/10.24, allocations: 332.2 kB / 4.066 GB, free: 58.7 MB / 0.9402 GB Notification: Performance of collectInitialBindings (initialization): time 0.000287/10.24, allocations: 248.2 kB / 4.066 GB, free: 58.45 MB / 0.9402 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/10.24, allocations: 0 / 4.066 GB, free: 58.45 MB / 0.9402 GB Notification: Performance of setup shared object (initialization): time 8.34e-05/10.24, allocations: 337.9 kB / 4.066 GB, free: 58.12 MB / 0.9402 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/10.24, allocations: 413.4 kB / 4.067 GB, free: 57.71 MB / 0.9402 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/10.24, allocations: 0.5315 MB / 4.067 GB, free: 57.14 MB / 0.9402 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002174/10.24, allocations: 0.6159 MB / 4.068 GB, free: 56.52 MB / 0.9402 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.079e-05/10.24, allocations: 0 / 4.068 GB, free: 56.52 MB / 0.9402 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00411/10.25, allocations: 1.217 MB / 4.069 GB, free: 55.3 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001196/10.25, allocations: 453.3 kB / 4.069 GB, free: 54.82 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/10.25, allocations: 0 / 4.069 GB, free: 54.82 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.644e-05/10.25, allocations: 4 kB / 4.069 GB, free: 54.82 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003395/10.25, allocations: 299.5 kB / 4.07 GB, free: 54.52 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009282/10.25, allocations: 1.207 MB / 4.071 GB, free: 53.27 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002681/10.25, allocations: 187.5 kB / 4.071 GB, free: 53.09 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/10.25, allocations: 39.97 kB / 4.071 GB, free: 53.05 MB / 0.9402 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/10.25, allocations: 7.938 kB / 4.071 GB, free: 53.04 MB / 0.9402 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003543/10.26, allocations: 1.091 MB / 4.072 GB, free: 51.95 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/10.26, allocations: 4 kB / 4.072 GB, free: 51.95 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/10.26, allocations: 7.906 kB / 4.072 GB, free: 51.94 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00267/10.26, allocations: 271.8 kB / 4.072 GB, free: 51.67 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/10.26, allocations: 4 kB / 4.072 GB, free: 51.67 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002562/10.26, allocations: 179.4 kB / 4.073 GB, free: 51.49 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/10.26, allocations: 43.95 kB / 4.073 GB, free: 51.45 MB / 0.9402 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 2 (hex.i1_w,hex.i2_w) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003589/10.26, allocations: 124.8 kB / 4.073 GB, free: 51.32 MB / 0.9402 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003144/10.26, allocations: 94.78 kB / 4.073 GB, free: 51.23 MB / 0.9402 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004275/10.27, allocations: 1.267 MB / 4.074 GB, free: 49.95 MB / 0.9402 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/10.27, allocations: 4 kB / 4.074 GB, free: 49.95 MB / 0.9402 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/10.27, allocations: 4 kB / 4.074 GB, free: 49.95 MB / 0.9402 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/10.27, allocations: 7.891 kB / 4.074 GB, free: 49.94 MB / 0.9402 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007444/10.28, allocations: 2.636 MB / 4.077 GB, free: 47.21 MB / 0.9402 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/10.28, allocations: 4 kB / 4.077 GB, free: 47.21 MB / 0.9402 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002703/10.28, allocations: 274.6 kB / 4.077 GB, free: 46.94 MB / 0.9402 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-05/10.28, allocations: 8 kB / 4.077 GB, free: 46.93 MB / 0.9402 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001446/10.28, allocations: 19.97 kB / 4.077 GB, free: 46.91 MB / 0.9402 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005892/10.28, allocations: 1.207 MB / 4.078 GB, free: 45.66 MB / 0.9402 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.304e-06/10.28, allocations: 4 kB / 4.078 GB, free: 45.66 MB / 0.9402 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003696/10.28, allocations: 1.522 MB / 4.08 GB, free: 43.98 MB / 0.9402 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009136/10.28, allocations: 315.7 kB / 4.08 GB, free: 43.65 MB / 0.9402 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002751/10.28, allocations: 11.92 kB / 4.08 GB, free: 43.64 MB / 0.9402 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002737/10.29, allocations: 171.7 kB / 4.08 GB, free: 43.47 MB / 0.9402 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002052/10.29, allocations: 56.34 kB / 4.08 GB, free: 43.41 MB / 0.9402 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/10.29, allocations: 43.89 kB / 4.08 GB, free: 43.37 MB / 0.9402 GB Notification: Performance of sort global known variables: time 0.0008185/10.29, allocations: 443.1 kB / 4.081 GB, free: 42.94 MB / 0.9402 GB Notification: Performance of remove unused functions: time 0.002814/10.29, allocations: 0.6862 MB / 4.081 GB, free: 42.25 MB / 0.9402 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004156/10.29, allocations: 2.617 MB / 4.084 GB, free: 39.45 MB / 0.9402 GB Notification: Performance of simCode: created initialization part: time 0.004908/10.3, allocations: 1.605 MB / 4.085 GB, free: 37.83 MB / 0.9402 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/10.3, allocations: 384 / 4.085 GB, free: 37.83 MB / 0.9402 GB Notification: Performance of simCode: created simulation system equations: time 0.001604/10.3, allocations: 0.556 MB / 4.086 GB, free: 37.27 MB / 0.9402 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004067/10.31, allocations: 420.6 kB / 4.086 GB, free: 36.87 MB / 0.9402 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03025/10.34, allocations: 2.424 MB / 4.089 GB, free: 34.36 MB / 0.9402 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001617/10.34, allocations: 1.236 MB / 4.09 GB, free: 33.09 MB / 0.9402 GB Notification: Performance of SimCode: time 1.272e-06/10.34, allocations: 0 / 4.09 GB, free: 33.09 MB / 0.9402 GB Notification: Performance of Templates: time 0.136/10.47, allocations: 38.35 MB / 4.127 GB, free: 10.89 MB / 0.9559 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)