Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Validation.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 7.0.1/package.mo): time 2.129/2.129, allocations: 253.1 MB / 260.4 MB, free: 7.52 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001573/0.001573, allocations: 181.2 kB / 319.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.826/1.826, allocations: 205.4 MB / 0.5704 GB, free: 15.04 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001348/0.001347, allocations: 98.81 kB / 0.6746 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.576e-06/8.737e-06, allocations: 0 / 0.7843 GB, free: 102.5 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2263/0.2263, allocations: 106.3 MB / 0.888 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.12/6.346, allocations: 2.442 GB / 3.33 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002935/6.346, allocations: 85.95 kB / 3.33 GB, free: 216.3 MB / 0.8698 GB Notification: Performance of FrontEnd: time 3.269/9.616, allocations: 0.7636 GB / 4.093 GB, free: 109.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001302/9.616, allocations: 31.44 kB / 4.093 GB, free: 109.4 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.006663/9.623, allocations: 1.556 MB / 4.095 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/9.623, allocations: 12.03 kB / 4.095 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004387/9.627, allocations: 482.1 kB / 4.095 GB, free: 107.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003817/9.631, allocations: 1.028 MB / 4.096 GB, free: 106.2 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001241/9.632, allocations: 177.9 kB / 4.096 GB, free: 106.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003055/9.633, allocations: 48 kB / 4.096 GB, free: 106 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002388/9.635, allocations: 0.7615 MB / 4.097 GB, free: 105.3 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/9.637, allocations: 0.8309 MB / 4.098 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.303e-05/9.637, allocations: 3.984 kB / 4.098 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/9.637, allocations: 0 / 4.098 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/9.637, allocations: 34 kB / 4.098 GB, free: 104.4 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01128/9.649, allocations: 4.116 MB / 4.102 GB, free: 100 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/9.65, allocations: 0.5353 MB / 4.103 GB, free: 99.5 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008273/9.651, allocations: 330.3 kB / 4.103 GB, free: 99.17 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/9.652, allocations: 0.6411 MB / 4.104 GB, free: 98.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/9.653, allocations: 443.8 kB / 4.104 GB, free: 97.96 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=57): time 3.476e-06/9.653, allocations: 0 / 4.104 GB, free: 97.96 MB / 0.8698 GB Notification: Performance of matching and sorting (n=57): time 0.002879/9.656, allocations: 0.7374 MB / 4.105 GB, free: 97.21 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/9.656, allocations: 85.61 kB / 4.105 GB, free: 97.11 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001132/9.657, allocations: 0.5669 MB / 4.105 GB, free: 96.54 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/9.658, allocations: 29.7 kB / 4.105 GB, free: 96.5 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000304/9.658, allocations: 309.7 kB / 4.106 GB, free: 96.19 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/9.658, allocations: 201 kB / 4.106 GB, free: 95.99 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.3e-05/9.658, allocations: 0 / 4.106 GB, free: 95.99 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.273e-05/9.658, allocations: 330 kB / 4.106 GB, free: 95.66 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007254/9.659, allocations: 265.2 kB / 4.106 GB, free: 95.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008366/9.66, allocations: 426.8 kB / 4.107 GB, free: 94.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/9.661, allocations: 337.2 kB / 4.107 GB, free: 94.6 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/9.661, allocations: 0 / 4.107 GB, free: 94.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00256/9.664, allocations: 0.7765 MB / 4.108 GB, free: 93.82 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000204/9.664, allocations: 0.8789 MB / 4.109 GB, free: 92.87 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.177e-05/9.664, allocations: 8 kB / 4.109 GB, free: 92.86 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.165e-05/9.664, allocations: 4 kB / 4.109 GB, free: 92.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002794/9.667, allocations: 255.7 kB / 4.109 GB, free: 92.61 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008604/9.668, allocations: 1.211 MB / 4.11 GB, free: 91.35 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002423/9.67, allocations: 171.5 kB / 4.11 GB, free: 91.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001678/9.67, allocations: 31.97 kB / 4.11 GB, free: 91.15 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/9.67, allocations: 4 kB / 4.11 GB, free: 91.14 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002226/9.673, allocations: 0.6626 MB / 4.111 GB, free: 90.48 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/9.673, allocations: 0 / 4.111 GB, free: 90.48 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/9.673, allocations: 8 kB / 4.111 GB, free: 90.47 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002184/9.675, allocations: 243.7 kB / 4.111 GB, free: 90.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/9.675, allocations: 7.984 kB / 4.111 GB, free: 90.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002299/9.677, allocations: 175.5 kB / 4.111 GB, free: 90.05 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/9.677, allocations: 31.97 kB / 4.111 GB, free: 90.02 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * 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.0003226/9.678, allocations: 124.8 kB / 4.112 GB, free: 89.89 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002361/9.678, allocations: 94.91 kB / 4.112 GB, free: 89.8 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003044/9.681, allocations: 0.8597 MB / 4.112 GB, free: 88.93 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.528e-05/9.681, allocations: 8 kB / 4.112 GB, free: 88.93 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.027e-06/9.681, allocations: 0 / 4.112 GB, free: 88.93 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/9.681, allocations: 3.984 kB / 4.112 GB, free: 88.92 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005415/9.687, allocations: 1.943 MB / 4.114 GB, free: 86.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.348e-06/9.687, allocations: 0 / 4.114 GB, free: 86.92 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002181/9.689, allocations: 239.9 kB / 4.115 GB, free: 86.68 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.266e-05/9.689, allocations: 4 kB / 4.115 GB, free: 86.68 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/9.689, allocations: 15.89 kB / 4.115 GB, free: 86.66 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005769/9.69, allocations: 1.199 MB / 4.116 GB, free: 85.42 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/9.69, allocations: 4.031 kB / 4.116 GB, free: 85.41 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002655/9.692, allocations: 1.071 MB / 4.117 GB, free: 84.22 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007156/9.693, allocations: 279.7 kB / 4.117 GB, free: 83.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/9.693, allocations: 7.984 kB / 4.117 GB, free: 83.92 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002428/9.696, allocations: 167.7 kB / 4.117 GB, free: 83.76 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/9.696, allocations: 56.3 kB / 4.117 GB, free: 83.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/9.696, allocations: 31.97 kB / 4.117 GB, free: 83.67 MB / 0.8698 GB Notification: Performance of sort global known variables: time 0.0008208/9.697, allocations: 447.1 kB / 4.118 GB, free: 83.24 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002608/9.7, allocations: 0.5848 MB / 4.118 GB, free: 82.65 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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.003188/9.703, allocations: 1.891 MB / 4.12 GB, free: 80.88 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.003828/9.707, allocations: 1.132 MB / 4.121 GB, free: 79.73 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.947e-06/9.707, allocations: 8 kB / 4.121 GB, free: 79.73 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/9.708, allocations: 418.6 kB / 4.122 GB, free: 79.32 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003531/9.712, allocations: 336 kB / 4.122 GB, free: 78.99 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004908/9.717, allocations: 1.336 MB / 4.123 GB, free: 77.59 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001346/9.718, allocations: 1.16 MB / 4.124 GB, free: 76.39 MB / 0.8698 GB Notification: Performance of SimCode: time 1.313e-06/9.718, allocations: 0 / 4.124 GB, free: 76.39 MB / 0.8698 GB Notification: Performance of Templates: time 0.07264/9.791, allocations: 30.23 MB / 4.154 GB, free: 46.42 MB / 0.8698 GB