Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") [: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.53/1.53, allocations: 285.5 MB / 292.8 MB, free: 10.5 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.001358/0.001358, allocations: 181.3 kB / 361.1 MB, free: 7.117 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.671/1.671, allocations: 205.1 MB / 0.6195 GB, free: 10.35 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.0009899/0.0009896, allocations: 87.69 kB / 0.7326 GB, free: 44.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 9.849e-06/9.868e-06, allocations: 4 kB / 0.8511 GB, free: 3.02 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7356/0.7356, allocations: 115.3 MB / 0.9637 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.283/6.019, allocations: 2.357 GB / 3.321 GB, free: 161.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/6.019, allocations: 87.95 kB / 3.321 GB, free: 161.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.639/9.659, allocations: 0.9467 GB / 4.268 GB, free: 133.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001967/9.659, allocations: 47.19 kB / 4.268 GB, free: 133.4 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: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.006885/9.666, allocations: 2.122 MB / 4.27 GB, free: 132.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/9.666, allocations: 12.53 kB / 4.27 GB, free: 132.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003611/9.669, allocations: 0.588 MB / 4.271 GB, free: 132.4 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004095/9.674, allocations: 1.414 MB / 4.272 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006815/9.674, allocations: 186.3 kB / 4.272 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002069/9.674, allocations: 71.91 kB / 4.272 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001909/9.676, allocations: 0.9914 MB / 4.273 GB, free: 132.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/9.678, allocations: 1.11 MB / 4.274 GB, free: 131.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.853e-05/9.678, allocations: 0 / 4.274 GB, free: 131.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/9.678, allocations: 0 / 4.274 GB, free: 131.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.141e-05/9.678, allocations: 45.11 kB / 4.274 GB, free: 131.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009395/9.688, allocations: 5.255 MB / 4.279 GB, free: 130 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/9.689, allocations: 0.7731 MB / 4.28 GB, free: 129.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005696/9.69, allocations: 415.3 kB / 4.281 GB, free: 129.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001121/9.691, allocations: 0.8444 MB / 4.281 GB, free: 129.1 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007581/9.692, allocations: 0.4934 MB / 4.282 GB, free: 129 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 4.499e-06/9.692, allocations: 2.406 kB / 4.282 GB, free: 129 MB / 0.948 GB Notification: Performance of matching and sorting (n=82): time 0.002793/9.694, allocations: 1.007 MB / 4.283 GB, free: 128.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/9.695, allocations: 191.5 kB / 4.283 GB, free: 128.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/9.696, allocations: 0.9138 MB / 4.284 GB, free: 128.5 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001409/9.696, allocations: 34.95 kB / 4.284 GB, free: 128.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004167/9.697, allocations: 459.6 kB / 4.284 GB, free: 128.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002691/9.697, allocations: 270.6 kB / 4.285 GB, free: 128.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.226e-05/9.697, allocations: 0 / 4.285 GB, free: 128.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000112/9.697, allocations: 347.8 kB / 4.285 GB, free: 127.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000646/9.698, allocations: 403.5 kB / 4.285 GB, free: 127.9 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000878/9.699, allocations: 0.7152 MB / 4.286 GB, free: 127.5 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/9.7, allocations: 0.5385 MB / 4.287 GB, free: 127.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/9.7, allocations: 3.844 kB / 4.287 GB, free: 127.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002599/9.702, allocations: 1.252 MB / 4.288 GB, free: 127.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006555/9.703, allocations: 2.035 MB / 4.29 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/9.703, allocations: 7.625 kB / 4.29 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.598e-05/9.703, allocations: 10.34 kB / 4.29 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001981/9.705, allocations: 359.8 kB / 4.29 GB, free: 125.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007384/9.706, allocations: 1.212 MB / 4.291 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002064/9.708, allocations: 214.9 kB / 4.292 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/9.708, allocations: 61.92 kB / 4.292 GB, free: 124.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/9.708, allocations: 3.094 kB / 4.292 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002273/9.71, allocations: 1.082 MB / 4.293 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/9.71, allocations: 6.312 kB / 4.293 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/9.71, allocations: 14.94 kB / 4.293 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001576/9.712, allocations: 337.8 kB / 4.293 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/9.712, allocations: 13.72 kB / 4.293 GB, free: 124.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001912/9.714, allocations: 193.2 kB / 4.293 GB, free: 124 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000138/9.714, allocations: 64.89 kB / 4.293 GB, free: 124 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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.0004086/9.715, allocations: 134.4 kB / 4.293 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003785/9.715, allocations: 140.8 kB / 4.294 GB, free: 123.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002941/9.718, allocations: 1.155 MB / 4.295 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/9.718, allocations: 7.25 kB / 4.295 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/9.718, allocations: 0 / 4.295 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.153e-05/9.718, allocations: 3.141 kB / 4.295 GB, free: 123.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005184/9.723, allocations: 2.57 MB / 4.297 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/9.723, allocations: 3.344 kB / 4.297 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001354/9.725, allocations: 263.1 kB / 4.297 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.327e-05/9.725, allocations: 8.969 kB / 4.297 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.633e-05/9.725, allocations: 27.47 kB / 4.297 GB, free: 123.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004976/9.725, allocations: 1.196 MB / 4.299 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/9.725, allocations: 5.125 kB / 4.299 GB, free: 122.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003162/9.728, allocations: 1.993 MB / 4.301 GB, free: 121.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009288/9.729, allocations: 359.3 kB / 4.301 GB, free: 121.3 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/9.73, allocations: 3.938 kB / 4.301 GB, free: 121.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/9.731, allocations: 143.4 kB / 4.301 GB, free: 121.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/9.731, allocations: 72.23 kB / 4.301 GB, free: 121.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001026/9.731, allocations: 43.5 kB / 4.301 GB, free: 121.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001123/9.732, allocations: 0.6786 MB / 4.302 GB, free: 121.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004096/9.737, allocations: 0.9872 MB / 4.303 GB, free: 121 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * 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.004508/9.741, allocations: 2.35 MB / 4.305 GB, free: 120.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004002/9.745, allocations: 1.773 MB / 4.307 GB, free: 120.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/9.745, allocations: 1.312 kB / 4.307 GB, free: 120.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.00103/9.746, allocations: 0.533 MB / 4.307 GB, free: 120.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003303/9.749, allocations: 0.4963 MB / 4.308 GB, free: 120.3 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005693/9.755, allocations: 2.098 MB / 4.31 GB, free: 119.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001356/9.757, allocations: 1.415 MB / 4.311 GB, free: 118.9 MB / 0.948 GB Notification: Performance of SimCode: time 1.854e-06/9.757, allocations: 2.094 kB / 4.311 GB, free: 118.9 MB / 0.948 GB Notification: Performance of Templates: time 0.08095/9.838, allocations: 43.57 MB / 4.354 GB, free: 117.6 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)