Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.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.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness") translateModel(Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.6/1.6, allocations: 289.8 MB / 297.1 MB, free: 6.703 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.001199/0.001199, allocations: 181.3 kB / 366.3 MB, free: 2.02 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.753/1.753, allocations: 205.2 MB / 0.6256 GB, free: 5.914 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.0009212/0.0009212, allocations: 92.5 kB / 0.7395 GB, free: 39.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.464e-06/7.604e-06, allocations: 0 / 0.859 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.841/0.841, allocations: 116.3 MB / 0.9726 GB, free: 68.05 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.851/5.692, allocations: 2.089 GB / 3.062 GB, free: 355.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002406/5.693, allocations: 84.58 kB / 3.062 GB, free: 355.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.08/8.773, allocations: 1.001 GB / 4.063 GB, free: 58.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 9.353e-05/8.773, allocations: 35.98 kB / 4.063 GB, free: 58.79 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.005557/8.779, allocations: 1.76 MB / 4.065 GB, free: 56.97 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/8.779, allocations: 8.031 kB / 4.065 GB, free: 56.96 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003189/8.782, allocations: 0.5993 MB / 4.065 GB, free: 56.36 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002234/8.784, allocations: 1.051 MB / 4.066 GB, free: 55.27 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005849/8.785, allocations: 185.9 kB / 4.067 GB, free: 55.09 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/8.785, allocations: 52 kB / 4.067 GB, free: 55.04 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001585/8.787, allocations: 1.05 MB / 4.068 GB, free: 53.98 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/8.788, allocations: 1.033 MB / 4.069 GB, free: 52.93 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.257e-05/8.788, allocations: 0 / 4.069 GB, free: 52.93 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.68e-05/8.788, allocations: 4 kB / 4.069 GB, free: 52.93 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.913e-05/8.788, allocations: 45.98 kB / 4.069 GB, free: 52.88 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006021/8.794, allocations: 4.107 MB / 4.073 GB, free: 48.54 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009769/8.795, allocations: 0.7249 MB / 4.073 GB, free: 47.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005832/8.796, allocations: 0.507 MB / 4.074 GB, free: 47.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009547/8.797, allocations: 0.6126 MB / 4.074 GB, free: 46.57 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/8.797, allocations: 47.2 kB / 4.075 GB, free: 46.52 MB / 0.948 GB Notification: Performance of pre-optimization done (n=76): time 2.585e-06/8.797, allocations: 0 / 4.075 GB, free: 46.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=76): time 0.002357/8.799, allocations: 1.19 MB / 4.076 GB, free: 45.32 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/8.799, allocations: 67.95 kB / 4.076 GB, free: 45.24 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006234/8.8, allocations: 0.563 MB / 4.076 GB, free: 44.68 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 8.177e-05/8.8, allocations: 29.7 kB / 4.076 GB, free: 44.64 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001624/8.8, allocations: 332.3 kB / 4.077 GB, free: 44.31 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001559/8.8, allocations: 252.2 kB / 4.077 GB, free: 44.06 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.952e-05/8.8, allocations: 0 / 4.077 GB, free: 44.06 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.836e-05/8.8, allocations: 334 kB / 4.077 GB, free: 43.73 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005107/8.801, allocations: 405.4 kB / 4.078 GB, free: 43.33 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006163/8.802, allocations: 0.5348 MB / 4.078 GB, free: 42.75 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001103/8.803, allocations: 0.6159 MB / 4.079 GB, free: 42.13 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/8.803, allocations: 0 / 4.079 GB, free: 42.13 MB / 0.948 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.002001/8.805, allocations: 1.217 MB / 4.08 GB, free: 40.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001248/8.805, allocations: 455.6 kB / 4.08 GB, free: 40.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/8.805, allocations: 0 / 4.08 GB, free: 40.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.804e-05/8.805, allocations: 4 kB / 4.08 GB, free: 40.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/8.807, allocations: 287.6 kB / 4.081 GB, free: 40.14 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006442/8.807, allocations: 1.219 MB / 4.082 GB, free: 38.88 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00137/8.809, allocations: 187.5 kB / 4.082 GB, free: 38.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001246/8.809, allocations: 35.97 kB / 4.082 GB, free: 38.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 8.786e-06/8.809, allocations: 4 kB / 4.082 GB, free: 38.66 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001833/8.811, allocations: 1.099 MB / 4.083 GB, free: 37.55 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/8.811, allocations: 4 kB / 4.083 GB, free: 37.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.935e-06/8.811, allocations: 4 kB / 4.083 GB, free: 37.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/8.812, allocations: 271.8 kB / 4.083 GB, free: 37.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.149e-06/8.812, allocations: 7.938 kB / 4.083 GB, free: 37.27 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/8.813, allocations: 183.4 kB / 4.084 GB, free: 37.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.887e-05/8.813, allocations: 35.97 kB / 4.084 GB, free: 37.06 MB / 0.948 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.0002832/8.814, allocations: 120.8 kB / 4.084 GB, free: 36.93 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/8.814, allocations: 94.88 kB / 4.084 GB, free: 36.84 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/8.816, allocations: 1.259 MB / 4.085 GB, free: 35.56 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/8.816, allocations: 11.98 kB / 4.085 GB, free: 35.55 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/8.816, allocations: 4 kB / 4.085 GB, free: 35.55 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/8.816, allocations: 7.969 kB / 4.085 GB, free: 35.54 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004169/8.82, allocations: 2.642 MB / 4.088 GB, free: 32.81 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/8.82, allocations: 7.938 kB / 4.088 GB, free: 32.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001349/8.822, allocations: 267.9 kB / 4.088 GB, free: 32.54 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/8.822, allocations: 4 kB / 4.088 GB, free: 32.54 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-05/8.822, allocations: 27.88 kB / 4.088 GB, free: 32.51 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004876/8.822, allocations: 1.199 MB / 4.089 GB, free: 31.26 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.504e-06/8.822, allocations: 11.94 kB / 4.089 GB, free: 31.25 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002116/8.825, allocations: 1.536 MB / 4.091 GB, free: 29.57 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005643/8.825, allocations: 315.6 kB / 4.091 GB, free: 29.24 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/8.825, allocations: 7.906 kB / 4.091 GB, free: 29.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001357/8.827, allocations: 167.8 kB / 4.091 GB, free: 29.07 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001347/8.827, allocations: 52.33 kB / 4.091 GB, free: 29.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.92e-05/8.827, allocations: 35.97 kB / 4.091 GB, free: 28.98 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.000584/8.827, allocations: 443.1 kB / 4.092 GB, free: 28.55 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002585/8.83, allocations: 0.694 MB / 4.092 GB, free: 27.86 MB / 0.948 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.003989/8.834, allocations: 2.625 MB / 4.095 GB, free: 25.04 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00316/8.837, allocations: 1.609 MB / 4.096 GB, free: 23.42 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/8.837, allocations: 0 / 4.096 GB, free: 23.42 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008608/8.838, allocations: 0.5379 MB / 4.097 GB, free: 22.88 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002437/8.841, allocations: 412.2 kB / 4.097 GB, free: 22.47 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01582/8.856, allocations: 2.421 MB / 4.1 GB, free: 19.96 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001081/8.858, allocations: 1.243 MB / 4.101 GB, free: 18.69 MB / 0.948 GB Notification: Performance of SimCode: time 1.303e-06/8.858, allocations: 0 / 4.101 GB, free: 18.69 MB / 0.948 GB Notification: Performance of Templates: time 0.525/9.383, allocations: 38.36 MB / 4.138 GB, free: 239.1 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.makefile (rm -f Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; mkfifo Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe >> ../files/Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.sim & ./Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.MassExchangers.Examples.ConstantEffectiveness.pipe 2>&1)