Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU") translateModel(BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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/BuildingSystems 2.0.0-master/package.mo): time 0.788/0.788, allocations: 141.8 MB / 149.1 MB, free: 4.582 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 191.1 kB / 181.9 MB, free: 232 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.3 MB / 436 MB, free: 9.434 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00116/0.00116, allocations: 107.7 kB / 0.507 GB, free: 24.12 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002008/0.002008, allocations: 281.4 kB / 0.5884 GB, free: 12.39 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 1.047e-05/1.051e-05, allocations: 4 kB / 0.6759 GB, free: 2.77 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.543/0.543, allocations: 82.76 MB / 0.7567 GB, free: 113 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.297/5.841, allocations: 2.148 GB / 2.905 GB, free: 195.8 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/5.841, allocations: 85.33 kB / 2.905 GB, free: 195.8 MB / 0.6982 GB Notification: Performance of FrontEnd: time 13.65/19.49, allocations: 3.414 GB / 6.319 GB, free: 66.43 MB / 0.8544 GB Notification: Performance of Transformations before backend: time 0.001513/19.49, allocations: 121.1 kB / 6.319 GB, free: 66.42 MB / 0.8544 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.03118/19.53, allocations: 5.712 MB / 6.324 GB, free: 64.42 MB / 0.8544 GB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/19.53, allocations: 9.062 kB / 6.324 GB, free: 64.42 MB / 0.8544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01532/19.54, allocations: 2.225 MB / 6.326 GB, free: 64.13 MB / 0.8544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02369/19.56, allocations: 4.3 MB / 6.331 GB, free: 63.39 MB / 0.8544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.003519/19.57, allocations: 0.8492 MB / 6.331 GB, free: 63.38 MB / 0.8544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002464/19.57, allocations: 208.2 kB / 6.332 GB, free: 63.38 MB / 0.8544 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01197/19.58, allocations: 3.553 MB / 6.335 GB, free: 63.37 MB / 0.8544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01512/19.6, allocations: 3.771 MB / 6.339 GB, free: 63.02 MB / 0.8544 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001936/19.6, allocations: 6.562 kB / 6.339 GB, free: 63.02 MB / 0.8544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001517/19.6, allocations: 3.062 kB / 6.339 GB, free: 63.02 MB / 0.8544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003168/19.6, allocations: 161 kB / 6.339 GB, free: 63.01 MB / 0.8544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05801/19.66, allocations: 19.37 MB / 6.358 GB, free: 54.76 MB / 0.8544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006654/19.67, allocations: 2.558 MB / 6.36 GB, free: 54.71 MB / 0.8544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003236/19.67, allocations: 1.425 MB / 6.362 GB, free: 54.7 MB / 0.8544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001236/19.67, allocations: 0.699 MB / 6.362 GB, free: 54.04 MB / 0.8544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004789/19.67, allocations: 1.736 MB / 6.364 GB, free: 53.95 MB / 0.8544 GB Notification: Performance of pre-optimization done (n=251): time 9.478e-06/19.67, allocations: 0 / 6.364 GB, free: 53.95 MB / 0.8544 GB Notification: Performance of matching and sorting (n=251): time 0.01159/19.69, allocations: 3.197 MB / 6.367 GB, free: 53.67 MB / 0.8544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/19.69, allocations: 107.3 kB / 6.367 GB, free: 53.57 MB / 0.8544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01019/19.7, allocations: 2.462 MB / 6.37 GB, free: 53.27 MB / 0.8544 GB Notification: Performance of collectPreVariables (initialization): time 0.002105/19.7, allocations: 31.7 kB / 6.37 GB, free: 53.23 MB / 0.8544 GB Notification: Performance of collectInitialEqns (initialization): time 0.003062/19.7, allocations: 1.215 MB / 6.371 GB, free: 52.6 MB / 0.8544 GB Notification: Performance of collectInitialBindings (initialization): time 0.001994/19.7, allocations: 0.8105 MB / 6.372 GB, free: 52.05 MB / 0.8544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/19.7, allocations: 1.938 kB / 6.372 GB, free: 52.05 MB / 0.8544 GB Notification: Performance of setup shared object (initialization): time 0.0004028/19.71, allocations: 422.5 kB / 6.372 GB, free: 51.74 MB / 0.8544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003519/19.71, allocations: 1.343 MB / 6.374 GB, free: 51.73 MB / 0.8544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004326/19.71, allocations: 2.167 MB / 6.376 GB, free: 50.86 MB / 0.8544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005435/19.72, allocations: 1.701 MB / 6.377 GB, free: 50.81 MB / 0.8544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.113e-05/19.72, allocations: 3.906 kB / 6.377 GB, free: 50.81 MB / 0.8544 GB Notification: Performance of matching and sorting (n=404) (initialization): time 0.01395/19.73, allocations: 3.961 MB / 6.381 GB, free: 50.51 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 0.00259/19.74, allocations: 6.057 MB / 6.387 GB, free: 44.11 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.65e-05/19.74, allocations: 14.19 kB / 6.387 GB, free: 44.11 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001286/19.74, allocations: 33.53 kB / 6.387 GB, free: 44.11 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008511/19.74, allocations: 1.263 MB / 6.388 GB, free: 44.11 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003399/19.75, allocations: 6.054 MB / 6.394 GB, free: 38.26 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009127/19.76, allocations: 0.777 MB / 6.395 GB, free: 38.12 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001831/19.76, allocations: 181.4 kB / 6.395 GB, free: 38.12 MB / 0.8544 GB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/19.76, allocations: 3.344 kB / 6.395 GB, free: 38.12 MB / 0.8544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01566/19.77, allocations: 3.506 MB / 6.399 GB, free: 38.04 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.108e-05/19.77, allocations: 15.12 kB / 6.399 GB, free: 38.04 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.403e-05/19.77, allocations: 35.03 kB / 6.399 GB, free: 38.03 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006644/19.78, allocations: 1.165 MB / 6.4 GB, free: 38.03 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.16e-05/19.78, allocations: 38.58 kB / 6.4 GB, free: 38.03 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00795/19.79, allocations: 0.7378 MB / 6.401 GB, free: 37.93 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/19.79, allocations: 166.3 kB / 6.401 GB, free: 37.93 MB / 0.8544 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.002155/19.79, allocations: 188 kB / 6.401 GB, free: 37.8 MB / 0.8544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002406/19.8, allocations: 391.4 kB / 6.401 GB, free: 37.6 MB / 0.8544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0119/19.81, allocations: 3.79 MB / 6.405 GB, free: 37.41 MB / 0.8544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.324e-05/19.81, allocations: 30.25 kB / 6.405 GB, free: 37.41 MB / 0.8544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.542e-05/19.81, allocations: 1.562 kB / 6.405 GB, free: 37.41 MB / 0.8544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.315e-05/19.81, allocations: 13.55 kB / 6.405 GB, free: 37.41 MB / 0.8544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02214/19.83, allocations: 7.768 MB / 6.413 GB, free: 36.74 MB / 0.8544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/19.83, allocations: 5.781 kB / 6.413 GB, free: 36.74 MB / 0.8544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005236/19.83, allocations: 0.9568 MB / 6.414 GB, free: 36.74 MB / 0.8544 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.027e-05/19.83, allocations: 14.44 kB / 6.414 GB, free: 36.74 MB / 0.8544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004991/19.84, allocations: 61.06 kB / 6.414 GB, free: 36.74 MB / 0.8544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002502/19.84, allocations: 5.982 MB / 6.419 GB, free: 30.89 MB / 0.8544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.301e-05/19.84, allocations: 7.875 kB / 6.419 GB, free: 30.89 MB / 0.8544 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01003/19.85, allocations: 4.125 MB / 6.424 GB, free: 29.6 MB / 0.8544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004511/19.85, allocations: 0.9653 MB / 6.424 GB, free: 29.26 MB / 0.8544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002045/19.85, allocations: 7.25 kB / 6.424 GB, free: 29.26 MB / 0.8544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007173/19.86, allocations: 0.6271 MB / 6.425 GB, free: 29.25 MB / 0.8544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005313/19.86, allocations: 184.4 kB / 6.425 GB, free: 29.24 MB / 0.8544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006124/19.86, allocations: 135.7 kB / 6.425 GB, free: 29.24 MB / 0.8544 GB Notification: Performance of sort global known variables: time 0.005338/19.87, allocations: 1.78 MB / 6.427 GB, free: 29.06 MB / 0.8544 GB Notification: Performance of remove unused functions: time 0.01523/19.88, allocations: 2.662 MB / 6.43 GB, free: 28.75 MB / 0.8544 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.01379/19.9, allocations: 6.976 MB / 6.437 GB, free: 25.44 MB / 0.8544 GB Notification: Performance of simCode: created initialization part: time 0.01756/19.92, allocations: 5.62 MB / 6.442 GB, free: 25.29 MB / 0.8544 GB Notification: Performance of simCode: created event and clocks part: time 2e-05/19.92, allocations: 2.344 kB / 6.442 GB, free: 25.29 MB / 0.8544 GB Notification: Performance of simCode: created simulation system equations: time 0.005098/19.92, allocations: 1.784 MB / 6.444 GB, free: 25.28 MB / 0.8544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01103/19.93, allocations: 1.444 MB / 6.445 GB, free: 25.26 MB / 0.8544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/19.95, allocations: 6.256 MB / 6.451 GB, free: 23.75 MB / 0.8544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004451/19.96, allocations: 2.939 MB / 6.454 GB, free: 22.96 MB / 0.8544 GB Notification: Performance of SimCode: time 1.623e-06/19.96, allocations: 0 / 6.454 GB, free: 22.96 MB / 0.8544 GB Notification: Performance of Templates: time 0.2421/20.2, allocations: 124.1 MB / 6.575 GB, free: 0.5 MB / 0.87 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.DryCoilEffectivenessNTU.pipe 2>&1)