Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.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.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") translateModel(Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.552/1.552, allocations: 289.8 MB / 297.1 MB, free: 6.645 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.001239/0.001239, allocations: 181.2 kB / 366.3 MB, free: 1.945 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.73/1.73, allocations: 205.1 MB / 0.6256 GB, free: 5.797 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.001018/0.001018, allocations: 92.97 kB / 0.7396 GB, free: 39.64 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.031e-05/1.033e-05, allocations: 4 kB / 0.859 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7645/0.7645, allocations: 116.3 MB / 0.9726 GB, free: 68.09 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.097/5.862, allocations: 2.347 GB / 3.32 GB, free: 106.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/5.862, allocations: 91.89 kB / 3.32 GB, free: 106.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 11.86/17.72, allocations: 3.373 GB / 6.693 GB, free: 72.54 MB / 1.089 GB Notification: Performance of Transformations before backend: time 0.000898/17.73, allocations: 114.2 kB / 6.693 GB, free: 72.52 MB / 1.089 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.02727/17.75, allocations: 5.515 MB / 6.699 GB, free: 70.25 MB / 1.089 GB Notification: Performance of prepare preOptimizeDAE: time 5.692e-05/17.75, allocations: 10.62 kB / 6.699 GB, free: 70.25 MB / 1.089 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01444/17.77, allocations: 2.231 MB / 6.701 GB, free: 69.96 MB / 1.089 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01664/17.78, allocations: 4.216 MB / 6.705 GB, free: 69.22 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003342/17.79, allocations: 0.8452 MB / 6.706 GB, free: 69.21 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002104/17.79, allocations: 228.4 kB / 6.706 GB, free: 69.2 MB / 1.089 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01109/17.8, allocations: 3.651 MB / 6.709 GB, free: 69.19 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01626/17.82, allocations: 3.708 MB / 6.713 GB, free: 68.83 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001772/17.82, allocations: 9.453 kB / 6.713 GB, free: 68.83 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001498/17.82, allocations: 0 / 6.713 GB, free: 68.83 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000222/17.82, allocations: 160.6 kB / 6.713 GB, free: 68.82 MB / 1.089 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04905/17.87, allocations: 19.33 MB / 6.732 GB, free: 60.43 MB / 1.089 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005919/17.87, allocations: 2.578 MB / 6.735 GB, free: 60.35 MB / 1.089 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003206/17.88, allocations: 1.424 MB / 6.736 GB, free: 60.34 MB / 1.089 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001196/17.88, allocations: 0.6976 MB / 6.737 GB, free: 59.68 MB / 1.089 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004442/17.88, allocations: 1.736 MB / 6.738 GB, free: 59.59 MB / 1.089 GB Notification: Performance of pre-optimization done (n=251): time 9.858e-06/17.88, allocations: 0 / 6.738 GB, free: 59.59 MB / 1.089 GB Notification: Performance of matching and sorting (n=251): time 0.01084/17.89, allocations: 3.199 MB / 6.742 GB, free: 59.3 MB / 1.089 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/17.89, allocations: 101.6 kB / 6.742 GB, free: 59.21 MB / 1.089 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008157/17.9, allocations: 2.463 MB / 6.744 GB, free: 58.9 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.001372/17.9, allocations: 32.08 kB / 6.744 GB, free: 58.87 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.002585/17.91, allocations: 1.22 MB / 6.745 GB, free: 58.23 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.002158/17.91, allocations: 0.8017 MB / 6.746 GB, free: 57.69 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/17.91, allocations: 1.5 kB / 6.746 GB, free: 57.69 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.0004668/17.91, allocations: 424.7 kB / 6.746 GB, free: 57.38 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004042/17.91, allocations: 1.344 MB / 6.748 GB, free: 57.37 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005236/17.92, allocations: 2.173 MB / 6.75 GB, free: 56.49 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005927/17.93, allocations: 1.699 MB / 6.752 GB, free: 56.42 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.135e-05/17.93, allocations: 3.562 kB / 6.752 GB, free: 56.42 MB / 1.089 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01423/17.94, allocations: 3.967 MB / 6.755 GB, free: 56.05 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 0.001978/17.94, allocations: 6.055 MB / 6.761 GB, free: 49.64 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.94e-05/17.94, allocations: 12.44 kB / 6.761 GB, free: 49.64 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.722e-05/17.94, allocations: 30.75 kB / 6.761 GB, free: 49.64 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008043/17.95, allocations: 1.268 MB / 6.763 GB, free: 49.6 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003606/17.95, allocations: 6.061 MB / 6.769 GB, free: 43.73 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009214/17.96, allocations: 0.7762 MB / 6.769 GB, free: 43.59 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00161/17.96, allocations: 174.2 kB / 6.769 GB, free: 43.59 MB / 1.089 GB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/17.96, allocations: 4.281 kB / 6.769 GB, free: 43.59 MB / 1.089 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01126/17.98, allocations: 3.509 MB / 6.773 GB, free: 43.44 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.694e-05/17.98, allocations: 14.12 kB / 6.773 GB, free: 43.44 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.538e-05/17.98, allocations: 33.22 kB / 6.773 GB, free: 43.44 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006105/17.98, allocations: 1.168 MB / 6.774 GB, free: 43.39 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-05/17.98, allocations: 41.8 kB / 6.774 GB, free: 43.39 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007526/17.99, allocations: 0.7324 MB / 6.775 GB, free: 43.28 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00112/17.99, allocations: 170.5 kB / 6.775 GB, free: 43.28 MB / 1.089 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,$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,hexCroUnm.flowRegime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (403): * Single equations (assignments): 392 * 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.001869/17.99, allocations: 180.7 kB / 6.775 GB, free: 43.12 MB / 1.089 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002132/17.99, allocations: 397.1 kB / 6.776 GB, free: 42.91 MB / 1.089 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/18.01, allocations: 3.792 MB / 6.779 GB, free: 42.67 MB / 1.089 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-05/18.01, allocations: 29.06 kB / 6.779 GB, free: 42.67 MB / 1.089 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.616e-05/18.01, allocations: 3.312 kB / 6.779 GB, free: 42.67 MB / 1.089 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.373e-05/18.01, allocations: 12.98 kB / 6.779 GB, free: 42.67 MB / 1.089 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/18.03, allocations: 7.76 MB / 6.787 GB, free: 41.98 MB / 1.089 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.363e-05/18.03, allocations: 6.844 kB / 6.787 GB, free: 41.98 MB / 1.089 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004998/18.03, allocations: 0.9518 MB / 6.788 GB, free: 41.95 MB / 1.089 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.21e-05/18.03, allocations: 14.94 kB / 6.788 GB, free: 41.95 MB / 1.089 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004094/18.03, allocations: 60.11 kB / 6.788 GB, free: 41.95 MB / 1.089 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002369/18.04, allocations: 5.982 MB / 6.794 GB, free: 36.08 MB / 1.089 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-05/18.04, allocations: 8.188 kB / 6.794 GB, free: 36.08 MB / 1.089 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009532/18.04, allocations: 4.138 MB / 6.798 GB, free: 34.78 MB / 1.089 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003807/18.05, allocations: 0.958 MB / 6.799 GB, free: 34.45 MB / 1.089 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001708/18.05, allocations: 13.28 kB / 6.799 GB, free: 34.45 MB / 1.089 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007062/18.06, allocations: 0.6294 MB / 6.799 GB, free: 34.43 MB / 1.089 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004606/18.06, allocations: 175.1 kB / 6.799 GB, free: 34.42 MB / 1.089 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005383/18.06, allocations: 136.1 kB / 6.8 GB, free: 34.42 MB / 1.089 GB Notification: Performance of sort global known variables: time 0.005094/18.06, allocations: 1.78 MB / 6.801 GB, free: 34.24 MB / 1.089 GB Notification: Performance of remove unused functions: time 0.01398/18.08, allocations: 2.651 MB / 6.804 GB, free: 33.94 MB / 1.089 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,hexPar.flowRegime,hexCou.flowRegime,hexCroC1Mix.flowRegime,hexCroC1Unm.flowRegime,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (283): * Single equations (assignments): 269 * 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.01292/18.09, allocations: 6.984 MB / 6.811 GB, free: 30.18 MB / 1.089 GB Notification: Performance of simCode: created initialization part: time 0.01644/18.11, allocations: 5.618 MB / 6.816 GB, free: 29.9 MB / 1.089 GB Notification: Performance of simCode: created event and clocks part: time 2.22e-05/18.11, allocations: 6.719 kB / 6.816 GB, free: 29.9 MB / 1.089 GB Notification: Performance of simCode: created simulation system equations: time 0.005062/18.11, allocations: 1.783 MB / 6.818 GB, free: 29.82 MB / 1.089 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01105/18.12, allocations: 1.444 MB / 6.819 GB, free: 29.7 MB / 1.089 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02521/18.15, allocations: 6.251 MB / 6.826 GB, free: 28.11 MB / 1.089 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008396/18.16, allocations: 2.937 MB / 6.828 GB, free: 27.26 MB / 1.089 GB Notification: Performance of SimCode: time 2.795e-06/18.16, allocations: 0.5 kB / 6.828 GB, free: 27.26 MB / 1.089 GB Notification: Performance of Templates: time 1.078/19.23, allocations: 124 MB / 6.949 GB, free: 170.8 MB / 1.12 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)