Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") [: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.577/1.577, allocations: 289.8 MB / 297.1 MB, free: 9.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001114/0.001114, allocations: 179 kB / 366.3 MB, free: 15.68 MB / 302.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.439/1.439, allocations: 205.1 MB / 0.6256 GB, free: 2.207 MB / 446.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008511/0.000851, allocations: 83.36 kB / 0.7395 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 8.586e-06/8.606e-06, allocations: 2.781 kB / 0.859 GB, free: 157 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2198, allocations: 116.3 MB / 0.9726 GB, free: 54.33 MB / 0.6387 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.666/5.885, allocations: 2.354 GB / 3.327 GB, free: 316.8 MB / 0.9512 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003221/5.886, allocations: 84 kB / 3.327 GB, free: 316.8 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.143/9.029, allocations: 0.9143 GB / 4.241 GB, free: 146.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001233/9.029, allocations: 35.59 kB / 4.241 GB, free: 146.7 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.005319/9.035, allocations: 1.925 MB / 4.243 GB, free: 144.8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/9.035, allocations: 8.031 kB / 4.243 GB, free: 144.7 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003126/9.038, allocations: 0.5602 MB / 4.244 GB, free: 144.2 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002841/9.041, allocations: 1.23 MB / 4.245 GB, free: 142.9 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006127/9.041, allocations: 185.9 kB / 4.245 GB, free: 142.7 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/9.042, allocations: 60 kB / 4.245 GB, free: 142.7 MB / 0.9825 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001645/9.043, allocations: 0.9607 MB / 4.246 GB, free: 141.7 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/9.045, allocations: 1.031 MB / 4.247 GB, free: 140.7 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.31e-05/9.045, allocations: 4 kB / 4.247 GB, free: 140.7 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.72e-05/9.045, allocations: 4 kB / 4.247 GB, free: 140.7 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.005e-05/9.045, allocations: 41.89 kB / 4.247 GB, free: 140.6 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008433/9.053, allocations: 4.918 MB / 4.252 GB, free: 135.5 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/9.055, allocations: 0.8174 MB / 4.253 GB, free: 134.6 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005461/9.055, allocations: 459.3 kB / 4.253 GB, free: 134.2 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/9.056, allocations: 0.8459 MB / 4.254 GB, free: 133.2 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007525/9.057, allocations: 0.6187 MB / 4.255 GB, free: 132.5 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 3.146e-06/9.057, allocations: 0 / 4.255 GB, free: 132.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.0028/9.06, allocations: 1.09 MB / 4.256 GB, free: 131.4 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/9.06, allocations: 145.2 kB / 4.256 GB, free: 131.3 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/9.061, allocations: 0.742 MB / 4.257 GB, free: 130.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001212/9.061, allocations: 33.64 kB / 4.257 GB, free: 130.5 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003352/9.061, allocations: 392.3 kB / 4.257 GB, free: 130.1 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/9.062, allocations: 256.2 kB / 4.257 GB, free: 129.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.067e-05/9.062, allocations: 4 kB / 4.257 GB, free: 129.8 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001046/9.062, allocations: 345.8 kB / 4.258 GB, free: 129.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005563/9.062, allocations: 393.8 kB / 4.258 GB, free: 129.1 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007288/9.063, allocations: 0.5927 MB / 4.258 GB, free: 128.4 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/9.065, allocations: 0.5763 MB / 4.259 GB, free: 127.8 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.448e-06/9.065, allocations: 0 / 4.259 GB, free: 127.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002497/9.067, allocations: 1.231 MB / 4.26 GB, free: 126.6 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002776/9.067, allocations: 1.147 MB / 4.261 GB, free: 125.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/9.067, allocations: 3.938 kB / 4.261 GB, free: 125.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-05/9.067, allocations: 8 kB / 4.261 GB, free: 125.4 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001372/9.069, allocations: 271.7 kB / 4.262 GB, free: 125.1 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/9.069, allocations: 11.94 kB / 4.262 GB, free: 125.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/9.07, allocations: 191.1 kB / 4.262 GB, free: 124.9 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001356/9.071, allocations: 55.95 kB / 4.262 GB, free: 124.8 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.878e-06/9.071, allocations: 4 kB / 4.262 GB, free: 124.8 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00221/9.073, allocations: 1.094 MB / 4.263 GB, free: 123.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/9.073, allocations: 4 kB / 4.263 GB, free: 123.7 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/9.073, allocations: 11.98 kB / 4.263 GB, free: 123.7 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/9.074, allocations: 272 kB / 4.263 GB, free: 123.4 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/9.074, allocations: 15.94 kB / 4.263 GB, free: 123.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/9.076, allocations: 171.2 kB / 4.263 GB, free: 123.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001169/9.076, allocations: 51.97 kB / 4.263 GB, free: 123.2 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003503/9.076, allocations: 207.7 kB / 4.264 GB, free: 123 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/9.076, allocations: 126.5 kB / 4.264 GB, free: 122.9 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00276/9.079, allocations: 1.251 MB / 4.265 GB, free: 121.6 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/9.079, allocations: 15.91 kB / 4.265 GB, free: 121.6 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/9.079, allocations: 0 / 4.265 GB, free: 121.6 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/9.079, allocations: 3.984 kB / 4.265 GB, free: 121.6 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004654/9.084, allocations: 2.685 MB / 4.268 GB, free: 118.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.624e-06/9.084, allocations: 4 kB / 4.268 GB, free: 118.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/9.085, allocations: 216.1 kB / 4.268 GB, free: 118.6 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/9.085, allocations: 11.91 kB / 4.268 GB, free: 118.6 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.056e-05/9.085, allocations: 23.97 kB / 4.268 GB, free: 118.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/9.085, allocations: 7.938 kB / 4.268 GB, free: 118.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/9.085, allocations: 4 kB / 4.268 GB, free: 118.6 MB / 0.9825 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003057/9.088, allocations: 2.105 MB / 4.27 GB, free: 116.4 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000638/9.089, allocations: 348.2 kB / 4.27 GB, free: 116 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/9.089, allocations: 16 kB / 4.27 GB, free: 116 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/9.09, allocations: 135.8 kB / 4.27 GB, free: 115.8 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001311/9.09, allocations: 60.52 kB / 4.27 GB, free: 115.8 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001064/9.091, allocations: 47.97 kB / 4.271 GB, free: 115.7 MB / 0.9825 GB Notification: Performance of sort global known variables: time 0.0007226/9.091, allocations: 0.5576 MB / 4.271 GB, free: 115.2 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003114/9.094, allocations: 0.9357 MB / 4.272 GB, free: 114.2 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003732/9.098, allocations: 2.448 MB / 4.274 GB, free: 112 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002548/9.101, allocations: 1.675 MB / 4.276 GB, free: 110.3 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/9.101, allocations: 0 / 4.276 GB, free: 110.3 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0007147/9.102, allocations: 0.6044 MB / 4.277 GB, free: 109.7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/9.104, allocations: 421.7 kB / 4.277 GB, free: 109.3 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004141/9.108, allocations: 1.828 MB / 4.279 GB, free: 107.4 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001032/9.109, allocations: 1.31 MB / 4.28 GB, free: 106 MB / 0.9825 GB Notification: Performance of SimCode: time 1.243e-06/9.109, allocations: 0 / 4.28 GB, free: 106 MB / 0.9825 GB Notification: Performance of Templates: time 0.06129/9.17, allocations: 40.18 MB / 4.319 GB, free: 66.15 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)