Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.511/2.511, allocations: 284.9 MB / 292.2 MB, free: 10.7 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001552/0.001552, allocations: 173.3 kB / 360.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.757/1.757, allocations: 205.1 MB / 0.6188 GB, free: 12.46 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001325/0.001324, allocations: 91.2 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.195e-05/1.212e-05, allocations: 4 kB / 0.8502 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6415/0.6415, allocations: 115.2 MB / 0.9628 GB, free: 78.4 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.454/6.095, allocations: 2.357 GB / 3.32 GB, free: 92.85 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/6.095, allocations: 95.39 kB / 3.32 GB, free: 92.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.518/10.61, allocations: 0.9464 GB / 4.267 GB, free: 141.2 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.000336/10.61, allocations: 44.11 kB / 4.267 GB, free: 141.2 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.01021/10.62, allocations: 2.127 MB / 4.269 GB, free: 140.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/10.62, allocations: 10.31 kB / 4.269 GB, free: 140.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006087/10.63, allocations: 0.5854 MB / 4.269 GB, free: 140.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006422/10.64, allocations: 1.415 MB / 4.271 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001324/10.64, allocations: 185.5 kB / 4.271 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006308/10.64, allocations: 74.14 kB / 4.271 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003568/10.64, allocations: 0.9951 MB / 4.272 GB, free: 139.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/10.65, allocations: 1.108 MB / 4.273 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.902e-05/10.65, allocations: 0 / 4.273 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001827/10.65, allocations: 4.625 kB / 4.273 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.968e-05/10.65, allocations: 44.92 kB / 4.273 GB, free: 139.6 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01555/10.66, allocations: 5.246 MB / 4.278 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002401/10.66, allocations: 0.7836 MB / 4.279 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/10.67, allocations: 409.5 kB / 4.279 GB, free: 137.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001548/10.67, allocations: 0.841 MB / 4.28 GB, free: 136.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001359/10.67, allocations: 0.4893 MB / 4.281 GB, free: 136.7 MB / 0.948 GB Notification: Performance of pre-optimization done (n=82): time 5.711e-06/10.67, allocations: 2.766 kB / 4.281 GB, free: 136.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=82): time 0.0043/10.67, allocations: 1.013 MB / 4.282 GB, free: 136.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.729e-05/10.67, allocations: 198.7 kB / 4.282 GB, free: 136.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/10.67, allocations: 0.9168 MB / 4.283 GB, free: 136.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003897/10.68, allocations: 29.17 kB / 4.283 GB, free: 136.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004898/10.68, allocations: 455.8 kB / 4.283 GB, free: 135.9 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000404/10.68, allocations: 267 kB / 4.283 GB, free: 135.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001103/10.68, allocations: 0 / 4.283 GB, free: 135.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001101/10.68, allocations: 357.6 kB / 4.284 GB, free: 135.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/10.68, allocations: 399.7 kB / 4.284 GB, free: 135.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00149/10.68, allocations: 0.72 MB / 4.285 GB, free: 135.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/10.68, allocations: 0.5344 MB / 4.285 GB, free: 135 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/10.68, allocations: 3.594 kB / 4.285 GB, free: 135 MB / 0.948 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.004546/10.69, allocations: 1.256 MB / 4.287 GB, free: 134.9 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004655/10.69, allocations: 2.034 MB / 4.289 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.641e-05/10.69, allocations: 7.281 kB / 4.289 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.385e-05/10.69, allocations: 15.12 kB / 4.289 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003789/10.69, allocations: 361.8 kB / 4.289 GB, free: 132.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000946/10.69, allocations: 1.209 MB / 4.29 GB, free: 131.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003346/10.69, allocations: 217.2 kB / 4.29 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003937/10.7, allocations: 61.83 kB / 4.29 GB, free: 131.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/10.7, allocations: 3.312 kB / 4.29 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003933/10.7, allocations: 1.074 MB / 4.291 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.495e-05/10.7, allocations: 6.062 kB / 4.291 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/10.7, allocations: 14.81 kB / 4.291 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003084/10.7, allocations: 339.8 kB / 4.292 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.161e-05/10.7, allocations: 15.69 kB / 4.292 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003286/10.71, allocations: 195.2 kB / 4.292 GB, free: 131.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003699/10.71, allocations: 61.73 kB / 4.292 GB, free: 131.5 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.0004507/10.71, allocations: 126.8 kB / 4.292 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005309/10.71, allocations: 141.4 kB / 4.292 GB, free: 131.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004311/10.71, allocations: 1.145 MB / 4.293 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.001e-05/10.71, allocations: 15.94 kB / 4.293 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.967e-06/10.71, allocations: 0 / 4.293 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.792e-05/10.71, allocations: 11.73 kB / 4.293 GB, free: 131.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007907/10.72, allocations: 2.569 MB / 4.296 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/10.72, allocations: 3 kB / 4.296 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002571/10.72, allocations: 255.3 kB / 4.296 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.076e-05/10.72, allocations: 7.531 kB / 4.296 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001739/10.72, allocations: 28.34 kB / 4.296 GB, free: 130.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006525/10.72, allocations: 1.196 MB / 4.297 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.596e-06/10.72, allocations: 6.094 kB / 4.297 GB, free: 129.6 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005162/10.73, allocations: 1.999 MB / 4.299 GB, free: 129 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/10.73, allocations: 348.3 kB / 4.3 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004616/10.73, allocations: 16.86 kB / 4.3 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002829/10.73, allocations: 142.2 kB / 4.3 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002807/10.73, allocations: 65.05 kB / 4.3 GB, free: 128.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/10.73, allocations: 41.16 kB / 4.3 GB, free: 128.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001921/10.74, allocations: 0.6822 MB / 4.301 GB, free: 128.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004727/10.74, allocations: 0.9918 MB / 4.302 GB, free: 128.5 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.005485/10.75, allocations: 2.346 MB / 4.304 GB, free: 127.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006414/10.75, allocations: 1.778 MB / 4.306 GB, free: 127.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/10.75, allocations: 1.312 kB / 4.306 GB, free: 127.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001888/10.75, allocations: 0.5291 MB / 4.306 GB, free: 127.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005313/10.76, allocations: 0.5003 MB / 4.307 GB, free: 127.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008832/10.77, allocations: 2.099 MB / 4.309 GB, free: 127.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002277/10.77, allocations: 1.411 MB / 4.31 GB, free: 126.4 MB / 0.948 GB Notification: Performance of SimCode: time 1.343e-06/10.77, allocations: 3.844 kB / 4.31 GB, free: 126.4 MB / 0.948 GB Notification: Performance of Templates: time 0.1181/10.89, allocations: 43.58 MB / 4.353 GB, free: 123.7 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1)