Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") translateModel(IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") [: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/Complex 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 186.9 kB / 7.803 MB, free: 2.473 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4772/0.4772, allocations: 90.87 MB / 99.08 MB, free: 14.93 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.248/1.248, allocations: 221.4 MB / 342.8 MB, free: 5.207 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 99.2 kB / 415.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 7.363e-06/7.514e-06, allocations: 0 / 493.9 MB, free: 8.098 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4205/0.4205, allocations: 72.3 MB / 0.5529 GB, free: 73.38 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.285/4.705, allocations: 2.141 GB / 2.694 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/4.706, allocations: 80.17 kB / 2.694 GB, free: 112.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 11.51/16.21, allocations: 3.407 GB / 6.101 GB, free: 23.43 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0007261/16.21, allocations: 119.9 kB / 6.102 GB, free: 23.31 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.023/16.24, allocations: 5.699 MB / 6.107 GB, free: 18.45 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/16.24, allocations: 9.781 kB / 6.107 GB, free: 18.44 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01367/16.25, allocations: 2.23 MB / 6.109 GB, free: 16.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01537/16.27, allocations: 4.308 MB / 6.114 GB, free: 11.93 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003122/16.27, allocations: 0.8373 MB / 6.114 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001699/16.27, allocations: 211.9 kB / 6.115 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008477/16.28, allocations: 3.527 MB / 6.118 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006811/16.29, allocations: 3.774 MB / 6.122 GB, free: 3.465 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.436e-05/16.29, allocations: 3.938 kB / 6.122 GB, free: 3.461 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003824/16.29, allocations: 8 kB / 6.122 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001379/16.29, allocations: 158 kB / 6.122 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4687/16.76, allocations: 19.37 MB / 6.141 GB, free: 96.96 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004126/16.76, allocations: 2.515 MB / 6.143 GB, free: 96.93 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001956/16.76, allocations: 1.407 MB / 6.145 GB, free: 96.92 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008403/16.76, allocations: 0.7035 MB / 6.145 GB, free: 96.26 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002553/16.77, allocations: 1.739 MB / 6.147 GB, free: 96.17 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=247): time 4.618e-06/16.77, allocations: 0 / 6.147 GB, free: 96.17 MB / 0.7605 GB Notification: Performance of matching and sorting (n=247): time 0.007255/16.77, allocations: 3.166 MB / 6.15 GB, free: 96.1 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/16.77, allocations: 111.4 kB / 6.15 GB, free: 96 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00414/16.78, allocations: 2.466 MB / 6.153 GB, free: 95.75 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0007787/16.78, allocations: 32.83 kB / 6.153 GB, free: 95.71 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/16.78, allocations: 1.228 MB / 6.154 GB, free: 95.45 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009126/16.78, allocations: 0.796 MB / 6.155 GB, free: 95.02 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000236/16.78, allocations: 0 / 6.155 GB, free: 95.02 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000175/16.78, allocations: 423.7 kB / 6.155 GB, free: 94.71 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002136/16.78, allocations: 1.331 MB / 6.156 GB, free: 94.71 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002599/16.79, allocations: 2.126 MB / 6.158 GB, free: 93.89 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003819/16.79, allocations: 1.693 MB / 6.16 GB, free: 93.84 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.269e-05/16.79, allocations: 2.688 kB / 6.16 GB, free: 93.84 MB / 0.7605 GB Notification: Performance of matching and sorting (n=399) (initialization): time 0.009328/16.8, allocations: 3.941 MB / 6.164 GB, free: 93.54 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001119/16.8, allocations: 5.956 MB / 6.17 GB, free: 87.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.414e-05/16.8, allocations: 16.41 kB / 6.17 GB, free: 87.25 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.852e-05/16.8, allocations: 35.11 kB / 6.17 GB, free: 87.24 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007417/16.81, allocations: 1.267 MB / 6.171 GB, free: 87.24 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002969/16.81, allocations: 6.052 MB / 6.177 GB, free: 81.4 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007824/16.82, allocations: 0.7803 MB / 6.178 GB, free: 81.32 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001102/16.82, allocations: 167.8 kB / 6.178 GB, free: 81.32 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/16.82, allocations: 2.156 kB / 6.178 GB, free: 81.32 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007333/16.83, allocations: 3.495 MB / 6.181 GB, free: 81.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.873e-05/16.83, allocations: 16.44 kB / 6.181 GB, free: 81.24 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/16.83, allocations: 30.62 kB / 6.181 GB, free: 81.24 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005534/16.83, allocations: 1.161 MB / 6.182 GB, free: 81.24 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.07e-05/16.83, allocations: 40.31 kB / 6.182 GB, free: 81.24 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006761/16.84, allocations: 0.7368 MB / 6.183 GB, free: 81.18 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000542/16.84, allocations: 171.8 kB / 6.183 GB, free: 81.18 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,hexPar.flowRegime_nominal,hexCou.flowRegime_nominal,hexCroC1Mix.flowRegime_nominal,hexCroC1Unm.flowRegime_nominal,hexCroUnm.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (398): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001127/16.84, allocations: 176.9 kB / 6.183 GB, free: 81.07 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001231/16.84, allocations: 396 kB / 6.184 GB, free: 80.87 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008403/16.85, allocations: 3.755 MB / 6.188 GB, free: 80.68 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/16.85, allocations: 28.62 kB / 6.188 GB, free: 80.68 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.728e-06/16.85, allocations: 3.562 kB / 6.188 GB, free: 80.68 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.696e-05/16.85, allocations: 19.09 kB / 6.188 GB, free: 80.68 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01541/16.87, allocations: 7.756 MB / 6.195 GB, free: 80.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/16.87, allocations: 5.281 kB / 6.195 GB, free: 80.05 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004717/16.87, allocations: 0.9465 MB / 6.196 GB, free: 80.05 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.425e-05/16.87, allocations: 15.09 kB / 6.196 GB, free: 80.05 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000255/16.87, allocations: 58.52 kB / 6.196 GB, free: 80.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001878/16.87, allocations: 5.975 MB / 6.202 GB, free: 74.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.284e-06/16.87, allocations: 9.219 kB / 6.202 GB, free: 74.21 MB / 0.7605 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.007428/16.88, allocations: 4.119 MB / 6.206 GB, free: 72.91 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002814/16.88, allocations: 0.9687 MB / 6.207 GB, free: 72.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008233/16.88, allocations: 9.562 kB / 6.207 GB, free: 72.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005512/16.89, allocations: 0.6652 MB / 6.208 GB, free: 72.6 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000335/16.89, allocations: 168.7 kB / 6.208 GB, free: 72.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003493/16.89, allocations: 137 kB / 6.208 GB, free: 72.59 MB / 0.7605 GB Notification: Performance of sort global known variables: time 0.00302/16.89, allocations: 1.788 MB / 6.21 GB, free: 72.41 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.009492/16.9, allocations: 2.658 MB / 6.212 GB, free: 72.29 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (279): * Single equations (assignments): 265 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009834/16.91, allocations: 6.982 MB / 6.219 GB, free: 69.04 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0128/16.93, allocations: 5.572 MB / 6.225 GB, free: 68.89 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/16.93, allocations: 4.156 kB / 6.225 GB, free: 68.89 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004286/16.93, allocations: 1.738 MB / 6.226 GB, free: 68.88 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01128/16.94, allocations: 1.425 MB / 6.228 GB, free: 68.86 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01648/16.96, allocations: 6.242 MB / 6.234 GB, free: 67.36 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00379/16.96, allocations: 2.938 MB / 6.237 GB, free: 66.58 MB / 0.7605 GB Notification: Performance of SimCode: time 7.82e-07/16.96, allocations: 0 / 6.237 GB, free: 66.58 MB / 0.7605 GB Notification: Performance of Templates: time 0.2115/17.17, allocations: 123.4 MB / 6.357 GB, free: 59.69 MB / 0.7605 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)