Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness") translateModel(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.594/1.594, allocations: 285.5 MB / 292.8 MB, free: 10.45 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.00123/0.00123, allocations: 185.2 kB / 361.1 MB, free: 7.094 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.821/1.821, allocations: 205.1 MB / 0.6195 GB, free: 10.32 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.001121/0.001121, allocations: 92.39 kB / 0.7326 GB, free: 44.23 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.055e-06/8.466e-06, allocations: 0 / 0.8511 GB, free: 3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9365/0.9366, allocations: 115.3 MB / 0.9637 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.319/6.256, allocations: 2.324 GB / 3.287 GB, free: 123.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002255/6.256, allocations: 86.08 kB / 3.288 GB, free: 123.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.538/8.794, allocations: 0.7869 GB / 4.075 GB, free: 69.82 MB / 0.948 GB Notification: Performance of Transformations before backend: time 8.464e-05/8.794, allocations: 27.98 kB / 4.075 GB, free: 69.8 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.004046/8.798, allocations: 1.559 MB / 4.076 GB, free: 68.18 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.397e-05/8.798, allocations: 8.531 kB / 4.076 GB, free: 68.18 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002311/8.801, allocations: 482.1 kB / 4.077 GB, free: 67.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001937/8.802, allocations: 1.037 MB / 4.078 GB, free: 66.62 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006317/8.803, allocations: 177.9 kB / 4.078 GB, free: 66.45 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/8.803, allocations: 44 kB / 4.078 GB, free: 66.41 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001198/8.804, allocations: 0.7654 MB / 4.078 GB, free: 65.64 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/8.806, allocations: 0.831 MB / 4.079 GB, free: 64.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/8.806, allocations: 0 / 4.079 GB, free: 64.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/8.806, allocations: 4 kB / 4.079 GB, free: 64.78 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/8.806, allocations: 37.98 kB / 4.079 GB, free: 64.75 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005955/8.812, allocations: 4.109 MB / 4.083 GB, free: 60.38 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007252/8.813, allocations: 0.5389 MB / 4.084 GB, free: 59.83 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004125/8.813, allocations: 330.3 kB / 4.084 GB, free: 59.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007309/8.814, allocations: 0.6408 MB / 4.085 GB, free: 58.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005416/8.814, allocations: 443.7 kB / 4.085 GB, free: 58.29 MB / 0.948 GB Notification: Performance of pre-optimization done (n=57): time 2.404e-06/8.814, allocations: 0 / 4.085 GB, free: 58.29 MB / 0.948 GB Notification: Performance of matching and sorting (n=57): time 0.001712/8.816, allocations: 0.7337 MB / 4.086 GB, free: 57.55 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/8.816, allocations: 89.48 kB / 4.086 GB, free: 57.44 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006545/8.817, allocations: 0.5746 MB / 4.087 GB, free: 56.86 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.217e-05/8.817, allocations: 25.7 kB / 4.087 GB, free: 56.83 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002186/8.817, allocations: 312.1 kB / 4.087 GB, free: 56.52 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/8.817, allocations: 189.2 kB / 4.087 GB, free: 56.33 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.493e-05/8.817, allocations: 0 / 4.087 GB, free: 56.33 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.606e-05/8.817, allocations: 329.9 kB / 4.087 GB, free: 56 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003764/8.818, allocations: 265.2 kB / 4.088 GB, free: 55.74 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004486/8.818, allocations: 422.8 kB / 4.088 GB, free: 55.27 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006657/8.819, allocations: 333.2 kB / 4.088 GB, free: 54.94 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/8.819, allocations: 0 / 4.088 GB, free: 54.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0013/8.82, allocations: 0.7726 MB / 4.089 GB, free: 54.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002245/8.82, allocations: 0.8828 MB / 4.09 GB, free: 53.21 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/8.82, allocations: 4 kB / 4.09 GB, free: 53.21 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.306e-05/8.82, allocations: 4 kB / 4.09 GB, free: 53.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/8.822, allocations: 259.6 kB / 4.09 GB, free: 52.95 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005857/8.823, allocations: 1.215 MB / 4.091 GB, free: 51.69 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/8.824, allocations: 171.5 kB / 4.092 GB, free: 51.52 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.441e-05/8.824, allocations: 39.97 kB / 4.092 GB, free: 51.48 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 9.227e-06/8.824, allocations: 6.188 kB / 4.092 GB, free: 51.48 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001191/8.825, allocations: 0.6548 MB / 4.092 GB, free: 50.82 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/8.825, allocations: 4 kB / 4.092 GB, free: 50.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.054e-06/8.825, allocations: 7.984 kB / 4.092 GB, free: 50.81 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/8.826, allocations: 235.9 kB / 4.093 GB, free: 50.58 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/8.826, allocations: 11.92 kB / 4.093 GB, free: 50.57 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001096/8.827, allocations: 175.4 kB / 4.093 GB, free: 50.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.238e-05/8.827, allocations: 31.97 kB / 4.093 GB, free: 50.37 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.0001899/8.828, allocations: 125 kB / 4.093 GB, free: 50.24 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/8.828, allocations: 98.8 kB / 4.093 GB, free: 50.14 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001681/8.83, allocations: 0.8636 MB / 4.094 GB, free: 49.27 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.09e-05/8.83, allocations: 12 kB / 4.094 GB, free: 49.26 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/8.83, allocations: 0 / 4.094 GB, free: 49.26 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/8.83, allocations: 3.984 kB / 4.094 GB, free: 49.25 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002895/8.832, allocations: 1.938 MB / 4.096 GB, free: 47.24 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/8.832, allocations: 4 kB / 4.096 GB, free: 47.23 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/8.834, allocations: 231.9 kB / 4.096 GB, free: 47.01 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/8.834, allocations: 8 kB / 4.096 GB, free: 47 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.65e-05/8.834, allocations: 11.98 kB / 4.096 GB, free: 46.99 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003915/8.834, allocations: 1.199 MB / 4.097 GB, free: 45.74 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/8.834, allocations: 7.906 kB / 4.097 GB, free: 45.73 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001375/8.835, allocations: 1.065 MB / 4.098 GB, free: 44.55 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000359/8.836, allocations: 279.7 kB / 4.098 GB, free: 44.26 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/8.836, allocations: 11.98 kB / 4.098 GB, free: 44.25 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001215/8.837, allocations: 159.8 kB / 4.099 GB, free: 44.09 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/8.837, allocations: 64.2 kB / 4.099 GB, free: 44.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.551e-05/8.837, allocations: 31.97 kB / 4.099 GB, free: 44 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.0004712/8.838, allocations: 447.1 kB / 4.099 GB, free: 43.56 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001679/8.84, allocations: 0.5926 MB / 4.1 GB, free: 42.97 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.002188/8.842, allocations: 1.882 MB / 4.102 GB, free: 41.01 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.00197/8.844, allocations: 1.14 MB / 4.103 GB, free: 39.85 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/8.844, allocations: 4.062 kB / 4.103 GB, free: 39.85 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007106/8.845, allocations: 421.4 kB / 4.103 GB, free: 39.43 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001663/8.846, allocations: 333.1 kB / 4.103 GB, free: 39.11 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00302/8.849, allocations: 1.358 MB / 4.105 GB, free: 37.68 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007937/8.85, allocations: 1.175 MB / 4.106 GB, free: 36.48 MB / 0.948 GB Notification: Performance of SimCode: time 7.82e-07/8.85, allocations: 0 / 4.106 GB, free: 36.48 MB / 0.948 GB Notification: Performance of Templates: time 0.04126/8.891, allocations: 30.22 MB / 4.135 GB, free: 6.395 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1)