Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.573/1.573, allocations: 289.8 MB / 297.1 MB, free: 6.715 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.001186/0.001186, allocations: 181.3 kB / 366.3 MB, free: 2.02 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.592/1.592, allocations: 205.1 MB / 0.6256 GB, free: 5.859 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.0009916/0.0009916, allocations: 85.55 kB / 0.7395 GB, free: 39.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.088e-05/1.098e-05, allocations: 4 kB / 0.859 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6708/0.6708, allocations: 116.3 MB / 0.9726 GB, free: 68.37 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.256/4.927, allocations: 2.358 GB / 3.331 GB, free: 84.12 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002213/4.928, allocations: 89.36 kB / 3.331 GB, free: 84.04 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.582/8.51, allocations: 0.9467 GB / 4.278 GB, free: 153.7 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0002293/8.51, allocations: 51.02 kB / 4.278 GB, free: 153.6 MB / 0.9636 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.007855/8.518, allocations: 2.122 MB / 4.28 GB, free: 152.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/8.518, allocations: 11.39 kB / 4.28 GB, free: 152.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003563/8.522, allocations: 0.584 MB / 4.28 GB, free: 152.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003957/8.526, allocations: 1.419 MB / 4.282 GB, free: 152.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006378/8.526, allocations: 191.2 kB / 4.282 GB, free: 152.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002814/8.527, allocations: 66.44 kB / 4.282 GB, free: 152.1 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001905/8.528, allocations: 0.992 MB / 4.283 GB, free: 152.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001816/8.53, allocations: 1.105 MB / 4.284 GB, free: 151.9 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.834e-05/8.53, allocations: 2.562 kB / 4.284 GB, free: 151.9 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/8.53, allocations: 3.906 kB / 4.284 GB, free: 151.9 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-05/8.53, allocations: 45.17 kB / 4.284 GB, free: 151.9 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009286/8.54, allocations: 5.25 MB / 4.289 GB, free: 149.9 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001233/8.541, allocations: 0.7688 MB / 4.29 GB, free: 149.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005442/8.542, allocations: 414 kB / 4.29 GB, free: 149.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009828/8.543, allocations: 0.8434 MB / 4.291 GB, free: 149.1 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007215/8.543, allocations: 0.4956 MB / 4.292 GB, free: 149 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=82): time 5.41e-06/8.543, allocations: 112 / 4.292 GB, free: 149 MB / 0.9636 GB Notification: Performance of matching and sorting (n=82): time 0.002631/8.546, allocations: 1.018 MB / 4.293 GB, free: 148.9 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/8.546, allocations: 192.3 kB / 4.293 GB, free: 148.7 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/8.547, allocations: 0.9173 MB / 4.294 GB, free: 148.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001565/8.548, allocations: 31.14 kB / 4.294 GB, free: 148.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.000413/8.548, allocations: 455.9 kB / 4.294 GB, free: 148.2 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002459/8.548, allocations: 269.1 kB / 4.295 GB, free: 148 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.321e-05/8.548, allocations: 0 / 4.295 GB, free: 148 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001103/8.548, allocations: 349.9 kB / 4.295 GB, free: 147.7 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006295/8.549, allocations: 404.4 kB / 4.295 GB, free: 147.7 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008932/8.55, allocations: 0.7248 MB / 4.296 GB, free: 147.4 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001268/8.551, allocations: 0.5306 MB / 4.296 GB, free: 147.4 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/8.551, allocations: 3.281 kB / 4.296 GB, free: 147.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002516/8.554, allocations: 1.258 MB / 4.298 GB, free: 147.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.000501/8.554, allocations: 2.03 MB / 4.3 GB, free: 145.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/8.554, allocations: 10.34 kB / 4.3 GB, free: 145.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.345e-05/8.554, allocations: 11.66 kB / 4.3 GB, free: 145.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/8.556, allocations: 360.2 kB / 4.3 GB, free: 145.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006591/8.557, allocations: 1.206 MB / 4.301 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/8.559, allocations: 213.2 kB / 4.301 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001581/8.559, allocations: 61.52 kB / 4.301 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.017e-05/8.559, allocations: 3.906 kB / 4.301 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002231/8.561, allocations: 1.077 MB / 4.303 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.823e-05/8.561, allocations: 10.61 kB / 4.303 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/8.561, allocations: 11.5 kB / 4.303 GB, free: 143.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001463/8.563, allocations: 335.5 kB / 4.303 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.36e-05/8.563, allocations: 19.3 kB / 4.303 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001902/8.565, allocations: 187.5 kB / 4.303 GB, free: 143.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/8.565, allocations: 64.14 kB / 4.303 GB, free: 143.8 MB / 0.9636 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.000383/8.565, allocations: 138.1 kB / 4.303 GB, free: 143.7 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003172/8.566, allocations: 145.2 kB / 4.303 GB, free: 143.6 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002564/8.568, allocations: 1.148 MB / 4.305 GB, free: 143.5 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.419e-05/8.568, allocations: 7.75 kB / 4.305 GB, free: 143.5 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/8.568, allocations: 3.906 kB / 4.305 GB, free: 143.5 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/8.568, allocations: 10.81 kB / 4.305 GB, free: 143.5 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005507/8.574, allocations: 2.568 MB / 4.307 GB, free: 143 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/8.574, allocations: 3.969 kB / 4.307 GB, free: 143 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/8.575, allocations: 257.4 kB / 4.307 GB, free: 143 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.52e-05/8.575, allocations: 9.562 kB / 4.307 GB, free: 143 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.059e-05/8.575, allocations: 25.62 kB / 4.307 GB, free: 143 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004603/8.576, allocations: 1.197 MB / 4.309 GB, free: 141.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/8.576, allocations: 7.844 kB / 4.309 GB, free: 141.8 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003148/8.579, allocations: 1.999 MB / 4.31 GB, free: 141.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000839/8.58, allocations: 355.9 kB / 4.311 GB, free: 141 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/8.58, allocations: 14.09 kB / 4.311 GB, free: 141 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001512/8.582, allocations: 143.5 kB / 4.311 GB, free: 141 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/8.582, allocations: 66.12 kB / 4.311 GB, free: 141 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001381/8.582, allocations: 41.78 kB / 4.311 GB, free: 141 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.001493/8.583, allocations: 0.6751 MB / 4.312 GB, free: 140.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00363/8.587, allocations: 0.9935 MB / 4.313 GB, free: 140.7 MB / 0.9636 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.00385/8.591, allocations: 2.363 MB / 4.315 GB, free: 140 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003666/8.595, allocations: 1.766 MB / 4.317 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/8.595, allocations: 1.844 kB / 4.317 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009566/8.596, allocations: 0.5293 MB / 4.317 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003042/8.599, allocations: 0.499 MB / 4.318 GB, free: 139.8 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005224/8.604, allocations: 2.097 MB / 4.32 GB, free: 139.1 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001221/8.605, allocations: 1.416 MB / 4.321 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of SimCode: time 2.264e-06/8.605, allocations: 0 / 4.321 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of Templates: time 0.0817/8.687, allocations: 43.57 MB / 4.364 GB, free: 130.5 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)