Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.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.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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 8.0.0/package.mo): time 2.315/2.315, allocations: 284.9 MB / 292.2 MB, free: 10.76 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.001678/0.001678, allocations: 181.3 kB / 360.4 MB, free: 7.551 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.842/1.842, allocations: 205.1 MB / 0.6188 GB, free: 13.23 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.001253/0.001252, allocations: 91.09 kB / 0.7318 GB, free: 45.11 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.536e-05/1.554e-05, allocations: 4 kB / 0.8502 GB, free: 4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.671/0.671, allocations: 115.2 MB / 0.9628 GB, free: 78.46 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.428/6.099, allocations: 2.324 GB / 3.286 GB, free: 128.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/6.1, allocations: 85.48 kB / 3.287 GB, free: 128.2 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.404/9.504, allocations: 0.7869 GB / 4.073 GB, free: 75.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001212/9.504, allocations: 31.98 kB / 4.073 GB, free: 75.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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.006226/9.51, allocations: 1.554 MB / 4.075 GB, free: 74.18 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/9.51, allocations: 8.031 kB / 4.075 GB, free: 74.17 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004299/9.515, allocations: 478.1 kB / 4.075 GB, free: 73.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00367/9.518, allocations: 1.031 MB / 4.076 GB, free: 72.63 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001256/9.52, allocations: 169.9 kB / 4.077 GB, free: 72.46 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002785/9.52, allocations: 48 kB / 4.077 GB, free: 72.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002306/9.522, allocations: 0.7654 MB / 4.077 GB, free: 71.65 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002171/9.525, allocations: 0.8271 MB / 4.078 GB, free: 70.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.925e-05/9.525, allocations: 0 / 4.078 GB, free: 70.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/9.525, allocations: 3.984 kB / 4.078 GB, free: 70.79 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-05/9.525, allocations: 37.98 kB / 4.078 GB, free: 70.75 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01104/9.536, allocations: 4.122 MB / 4.082 GB, free: 66.38 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/9.537, allocations: 0.5278 MB / 4.083 GB, free: 65.84 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007817/9.538, allocations: 342.2 kB / 4.083 GB, free: 65.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001043/9.539, allocations: 0.6369 MB / 4.084 GB, free: 64.74 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009845/9.54, allocations: 443.6 kB / 4.084 GB, free: 64.29 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.785e-06/9.54, allocations: 4 kB / 4.084 GB, free: 64.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.002719/9.543, allocations: 0.7375 MB / 4.085 GB, free: 63.54 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/9.543, allocations: 89.59 kB / 4.085 GB, free: 63.43 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001101/9.544, allocations: 0.5591 MB / 4.086 GB, free: 62.87 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/9.544, allocations: 29.7 kB / 4.086 GB, free: 62.84 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002679/9.545, allocations: 324.1 kB / 4.086 GB, free: 62.51 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001956/9.545, allocations: 181.2 kB / 4.086 GB, free: 62.33 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.309e-05/9.545, allocations: 4 kB / 4.086 GB, free: 62.33 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.08e-05/9.545, allocations: 333.9 kB / 4.086 GB, free: 62 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007079/9.546, allocations: 265.2 kB / 4.087 GB, free: 61.74 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008286/9.546, allocations: 427.5 kB / 4.087 GB, free: 61.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/9.548, allocations: 333.2 kB / 4.087 GB, free: 60.94 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.952e-06/9.548, allocations: 4 kB / 4.087 GB, free: 60.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002455/9.55, allocations: 0.7649 MB / 4.088 GB, free: 60.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000186/9.55, allocations: 0.8789 MB / 4.089 GB, free: 59.22 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/9.55, allocations: 0 / 4.089 GB, free: 59.22 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.189e-05/9.55, allocations: 12 kB / 4.089 GB, free: 59.21 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/9.553, allocations: 259.7 kB / 4.089 GB, free: 58.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008667/9.554, allocations: 1.215 MB / 4.09 GB, free: 57.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002387/9.557, allocations: 183.5 kB / 4.091 GB, free: 57.51 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/9.557, allocations: 31.97 kB / 4.091 GB, free: 57.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/9.557, allocations: 5.562 kB / 4.091 GB, free: 57.48 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002213/9.559, allocations: 0.6588 MB / 4.091 GB, free: 56.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/9.559, allocations: 4 kB / 4.091 GB, free: 56.81 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/9.559, allocations: 4 kB / 4.091 GB, free: 56.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002139/9.561, allocations: 243.7 kB / 4.091 GB, free: 56.57 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/9.561, allocations: 4 kB / 4.091 GB, free: 56.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002269/9.564, allocations: 175.4 kB / 4.092 GB, free: 56.39 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/9.564, allocations: 36.08 kB / 4.092 GB, free: 56.36 MB / 0.948 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.0003016/9.564, allocations: 134.6 kB / 4.092 GB, free: 56.22 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002344/9.564, allocations: 90.88 kB / 4.092 GB, free: 56.13 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00307/9.567, allocations: 0.8597 MB / 4.093 GB, free: 55.27 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/9.567, allocations: 4 kB / 4.093 GB, free: 55.26 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/9.567, allocations: 3.984 kB / 4.093 GB, free: 55.26 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/9.567, allocations: 8 kB / 4.093 GB, free: 55.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005314/9.573, allocations: 1.935 MB / 4.095 GB, free: 53.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/9.573, allocations: 4 kB / 4.095 GB, free: 53.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/9.575, allocations: 239.8 kB / 4.095 GB, free: 53 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.504e-05/9.575, allocations: 4 kB / 4.095 GB, free: 53 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-05/9.575, allocations: 15.98 kB / 4.095 GB, free: 52.98 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005881/9.576, allocations: 1.199 MB / 4.096 GB, free: 51.73 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/9.576, allocations: 11.84 kB / 4.096 GB, free: 51.72 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002565/9.578, allocations: 1.065 MB / 4.097 GB, free: 50.54 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007195/9.579, allocations: 283.7 kB / 4.097 GB, free: 50.24 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002463/9.579, allocations: 4 kB / 4.097 GB, free: 50.24 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002316/9.582, allocations: 163.8 kB / 4.098 GB, free: 50.08 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001997/9.582, allocations: 60.27 kB / 4.098 GB, free: 50.02 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001243/9.582, allocations: 31.97 kB / 4.098 GB, free: 49.99 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0008134/9.583, allocations: 443.1 kB / 4.098 GB, free: 49.56 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002513/9.585, allocations: 0.5965 MB / 4.099 GB, free: 48.96 MB / 0.948 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.003019/9.588, allocations: 1.865 MB / 4.1 GB, free: 47.02 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003857/9.592, allocations: 1.14 MB / 4.102 GB, free: 45.87 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 9.688e-06/9.592, allocations: 8.25 kB / 4.102 GB, free: 45.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/9.594, allocations: 421.4 kB / 4.102 GB, free: 45.45 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003386/9.597, allocations: 341.4 kB / 4.102 GB, free: 45.12 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004926/9.602, allocations: 1.363 MB / 4.104 GB, free: 43.69 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001297/9.604, allocations: 1.168 MB / 4.105 GB, free: 42.49 MB / 0.948 GB Notification: Performance of SimCode: time 1.352e-06/9.604, allocations: 0 / 4.105 GB, free: 42.49 MB / 0.948 GB Notification: Performance of Templates: time 0.07173/9.675, allocations: 30.22 MB / 4.134 GB, free: 12.42 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)