Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.342/2.342, 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.00162/0.00162, allocations: 185.3 kB / 360.4 MB, free: 7.496 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.818/1.818, allocations: 205.1 MB / 0.6188 GB, free: 12.43 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.001208/0.001207, allocations: 90.88 kB / 0.7318 GB, free: 44.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.486e-05/1.503e-05, allocations: 4 kB / 0.8502 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6457/0.6457, allocations: 115.2 MB / 0.9628 GB, free: 78.34 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.332/5.978, allocations: 2.353 GB / 3.316 GB, free: 98.76 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/5.978, allocations: 89.94 kB / 3.316 GB, free: 98.72 MB / 0.948 GB Notification: Performance of FrontEnd: time 4.343/10.32, allocations: 0.914 GB / 4.23 GB, free: 145.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001937/10.32, allocations: 38.8 kB / 4.23 GB, free: 145.6 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.007763/10.33, allocations: 1.93 MB / 4.232 GB, free: 144.7 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/10.33, allocations: 7.625 kB / 4.232 GB, free: 144.7 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005675/10.33, allocations: 0.5661 MB / 4.233 GB, free: 144.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004845/10.34, allocations: 1.232 MB / 4.234 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00128/10.34, allocations: 188.6 kB / 4.234 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000397/10.34, allocations: 64.94 kB / 4.234 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002905/10.34, allocations: 0.9564 MB / 4.235 GB, free: 144.3 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/10.35, allocations: 1.026 MB / 4.236 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/10.35, allocations: 3.25 kB / 4.236 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001605/10.35, allocations: 6.641 kB / 4.236 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.613e-05/10.35, allocations: 38.53 kB / 4.236 GB, free: 144.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01476/10.36, allocations: 4.92 MB / 4.241 GB, free: 142.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002042/10.36, allocations: 0.813 MB / 4.242 GB, free: 142.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/10.37, allocations: 466.1 kB / 4.242 GB, free: 142.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001579/10.37, allocations: 0.8411 MB / 4.243 GB, free: 141.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001413/10.37, allocations: 0.6224 MB / 4.244 GB, free: 141.1 MB / 0.948 GB Notification: Performance of pre-optimization done (n=85): time 3.958e-06/10.37, allocations: 0 / 4.244 GB, free: 141.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.004632/10.37, allocations: 1.101 MB / 4.245 GB, free: 141 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.002e-05/10.37, allocations: 143.2 kB / 4.245 GB, free: 140.9 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/10.37, allocations: 0.741 MB / 4.245 GB, free: 140.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.000248/10.37, allocations: 29.61 kB / 4.245 GB, free: 140.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003788/10.38, allocations: 376.8 kB / 4.246 GB, free: 140.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000331/10.38, allocations: 268.1 kB / 4.246 GB, free: 140.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001304/10.38, allocations: 0 / 4.246 GB, free: 140.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 9.767e-05/10.38, allocations: 340.9 kB / 4.246 GB, free: 140.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/10.38, allocations: 392.4 kB / 4.247 GB, free: 140.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001249/10.38, allocations: 0.6058 MB / 4.247 GB, free: 139.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002619/10.38, allocations: 0.5655 MB / 4.248 GB, free: 139.9 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-05/10.38, allocations: 3.5 kB / 4.248 GB, free: 139.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00471/10.39, allocations: 1.247 MB / 4.249 GB, free: 139.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002787/10.39, allocations: 1.141 MB / 4.25 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/10.39, allocations: 7 kB / 4.25 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.398e-05/10.39, allocations: 7.656 kB / 4.25 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002832/10.39, allocations: 279.2 kB / 4.251 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/10.39, allocations: 6.531 kB / 4.251 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/10.39, allocations: 191.3 kB / 4.251 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002369/10.39, allocations: 61.52 kB / 4.251 GB, free: 138.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/10.39, allocations: 3.469 kB / 4.251 GB, free: 138.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004211/10.4, allocations: 1.09 MB / 4.252 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/10.4, allocations: 3.875 kB / 4.252 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/10.4, allocations: 5.906 kB / 4.252 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002704/10.4, allocations: 277.6 kB / 4.252 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/10.4, allocations: 7.156 kB / 4.252 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/10.4, allocations: 182.6 kB / 4.252 GB, free: 138.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002657/10.4, allocations: 52.55 kB / 4.252 GB, free: 138.5 MB / 0.948 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.0004764/10.4, allocations: 192.7 kB / 4.253 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004687/10.4, allocations: 121.1 kB / 4.253 GB, free: 138.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005115/10.41, allocations: 1.257 MB / 4.254 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/10.41, allocations: 11.03 kB / 4.254 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/10.41, allocations: 3.344 kB / 4.254 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.479e-05/10.41, allocations: 6.75 kB / 4.254 GB, free: 138.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008334/10.42, allocations: 2.68 MB / 4.257 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/10.42, allocations: 2.688 kB / 4.257 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002097/10.42, allocations: 216.6 kB / 4.257 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-05/10.42, allocations: 6.125 kB / 4.257 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/10.42, allocations: 27.89 kB / 4.257 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/10.42, allocations: 6.75 kB / 4.257 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/10.42, allocations: 4.312 kB / 4.257 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0057/10.43, allocations: 2.099 MB / 4.259 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001093/10.43, allocations: 357.1 kB / 4.259 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003236/10.43, allocations: 12.53 kB / 4.259 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002421/10.43, allocations: 129.3 kB / 4.259 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/10.43, allocations: 60.88 kB / 4.259 GB, free: 137 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001664/10.43, allocations: 49.58 kB / 4.259 GB, free: 137 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001191/10.43, allocations: 0.5636 MB / 4.26 GB, free: 136.9 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00524/10.44, allocations: 0.9404 MB / 4.261 GB, free: 136.7 MB / 0.948 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.005769/10.44, allocations: 2.451 MB / 4.263 GB, free: 136.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.004843/10.45, allocations: 1.678 MB / 4.265 GB, free: 135.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.337e-05/10.45, allocations: 3.781 kB / 4.265 GB, free: 135.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/10.45, allocations: 0.6013 MB / 4.266 GB, free: 135.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004561/10.45, allocations: 407.8 kB / 4.266 GB, free: 135.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007337/10.46, allocations: 1.822 MB / 4.268 GB, free: 135.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00175/10.46, allocations: 1.31 MB / 4.269 GB, free: 134.6 MB / 0.948 GB Notification: Performance of SimCode: time 1.973e-06/10.46, allocations: 0 / 4.269 GB, free: 134.6 MB / 0.948 GB Notification: Performance of Templates: time 0.1044/10.57, allocations: 40.19 MB / 4.308 GB, free: 133.5 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)