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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) [: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.649/1.649, allocations: 289.8 MB / 297.1 MB, free: 6.738 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.001385/0.001385, allocations: 181.2 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.632/1.632, allocations: 205.1 MB / 0.6256 GB, free: 7.484 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.001067/0.001067, allocations: 91.47 kB / 0.7395 GB, free: 39.92 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.2963/0.2974, allocations: 122.4 MB / 0.8591 GB, free: 13.52 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7408/1.038, allocations: 116.3 MB / 0.9726 GB, free: 76.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.065/6.103, allocations: 2.354 GB / 3.327 GB, free: 186.2 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/6.103, allocations: 89.55 kB / 3.327 GB, free: 186.1 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: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 2.962/9.065, allocations: 0.9162 GB / 4.243 GB, free: 5.07 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/9.065, allocations: 8 kB / 4.243 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004867/9.07, allocations: 0.5679 MB / 4.244 GB, free: 4.492 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004855/9.075, allocations: 1.223 MB / 4.245 GB, free: 3.215 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008956/9.076, allocations: 189.9 kB / 4.245 GB, free: 3.031 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005636/9.076, allocations: 63.98 kB / 4.245 GB, free: 2.969 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002953/9.079, allocations: 0.9529 MB / 4.246 GB, free: 2.016 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002162/9.082, allocations: 1.039 MB / 4.247 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/9.082, allocations: 0 / 4.247 GB, free: 0.9492 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001648/9.082, allocations: 7.984 kB / 4.247 GB, free: 0.9414 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/9.082, allocations: 37.98 kB / 4.247 GB, free: 0.9023 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4782/9.56, allocations: 4.913 MB / 4.252 GB, free: 226 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001128/9.561, allocations: 0.8274 MB / 4.253 GB, free: 225.9 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005882/9.562, allocations: 459.4 kB / 4.253 GB, free: 225.9 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001035/9.563, allocations: 0.8475 MB / 4.254 GB, free: 225 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007552/9.564, allocations: 0.6193 MB / 4.255 GB, free: 224.9 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=85): time 3.607e-06/9.564, allocations: 0 / 4.255 GB, free: 224.9 MB / 0.9636 GB Notification: Performance of matching and sorting (n=85): time 0.002799/9.566, allocations: 1.096 MB / 4.256 GB, free: 224.8 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/9.567, allocations: 139.5 kB / 4.256 GB, free: 224.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/9.568, allocations: 0.7411 MB / 4.257 GB, free: 224.5 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 9.412e-05/9.568, allocations: 32.11 kB / 4.257 GB, free: 224.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003055/9.568, allocations: 380 kB / 4.257 GB, free: 224.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002202/9.568, allocations: 268.2 kB / 4.257 GB, free: 224.2 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.472e-05/9.568, allocations: 1.688 kB / 4.257 GB, free: 224.2 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001133/9.568, allocations: 346.4 kB / 4.258 GB, free: 223.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006176/9.569, allocations: 393.6 kB / 4.258 GB, free: 223.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007448/9.57, allocations: 0.602 MB / 4.259 GB, free: 223.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001402/9.571, allocations: 0.5701 MB / 4.259 GB, free: 223.6 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/9.571, allocations: 0 / 4.259 GB, free: 223.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002511/9.574, allocations: 1.237 MB / 4.26 GB, free: 223.5 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003139/9.574, allocations: 1.142 MB / 4.261 GB, free: 222.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/9.574, allocations: 5.625 kB / 4.261 GB, free: 222.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.881e-05/9.574, allocations: 10.72 kB / 4.261 GB, free: 222.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/9.576, allocations: 280.2 kB / 4.262 GB, free: 222.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/9.576, allocations: 13.92 kB / 4.262 GB, free: 222.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001611/9.577, allocations: 191.6 kB / 4.262 GB, free: 222.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/9.577, allocations: 52 kB / 4.262 GB, free: 222.3 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 7.724e-06/9.577, allocations: 3.594 kB / 4.262 GB, free: 222.3 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002231/9.58, allocations: 1.095 MB / 4.263 GB, free: 222.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.832e-06/9.58, allocations: 5.281 kB / 4.263 GB, free: 222.3 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/9.58, allocations: 7.312 kB / 4.263 GB, free: 222.3 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/9.581, allocations: 272 kB / 4.263 GB, free: 222.3 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/9.581, allocations: 13.5 kB / 4.263 GB, free: 222.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001406/9.582, allocations: 177.8 kB / 4.263 GB, free: 222.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/9.583, allocations: 53.38 kB / 4.264 GB, free: 222.3 MB / 0.9636 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.0003271/9.583, allocations: 186.9 kB / 4.264 GB, free: 222.1 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000215/9.583, allocations: 124.9 kB / 4.264 GB, free: 222 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/9.586, allocations: 1.259 MB / 4.265 GB, free: 222 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.582e-05/9.586, allocations: 10.31 kB / 4.265 GB, free: 222 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/9.586, allocations: 2.625 kB / 4.265 GB, free: 222 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/9.586, allocations: 3.938 kB / 4.265 GB, free: 222 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00489/9.591, allocations: 2.685 MB / 4.268 GB, free: 221.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.879e-06/9.591, allocations: 3.781 kB / 4.268 GB, free: 221.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/9.592, allocations: 207.8 kB / 4.268 GB, free: 221.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/9.592, allocations: 7.062 kB / 4.268 GB, free: 221.5 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-05/9.592, allocations: 31.8 kB / 4.268 GB, free: 221.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.391e-05/9.592, allocations: 13.81 kB / 4.268 GB, free: 221.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/9.592, allocations: 3.656 kB / 4.268 GB, free: 221.5 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003502/9.596, allocations: 2.098 MB / 4.27 GB, free: 221 MB / 0.9636 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004724/9.6, allocations: 3.209 MB / 4.273 GB, free: 220 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008849/9.601, allocations: 359 kB / 4.273 GB, free: 219.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000226/9.602, allocations: 15.5 kB / 4.273 GB, free: 219.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/9.603, allocations: 135.3 kB / 4.274 GB, free: 219.9 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001448/9.603, allocations: 58.91 kB / 4.274 GB, free: 219.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/9.603, allocations: 51.09 kB / 4.274 GB, free: 219.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.0008394/9.604, allocations: 0.5539 MB / 4.274 GB, free: 219.8 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005547/9.61, allocations: 1.52 MB / 4.276 GB, free: 219.7 MB / 0.9636 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.004212/9.614, allocations: 2.44 MB / 4.278 GB, free: 219.2 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.002765/9.617, allocations: 1.679 MB / 4.28 GB, free: 219 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/9.617, allocations: 0 / 4.28 GB, free: 219 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007274/9.617, allocations: 0.5977 MB / 4.28 GB, free: 219 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002297/9.62, allocations: 419.1 kB / 4.281 GB, free: 219 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004142/9.624, allocations: 1.818 MB / 4.283 GB, free: 218.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/9.625, allocations: 1.326 MB / 4.284 GB, free: 217.7 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/9.625, allocations: 0 / 4.284 GB, free: 217.7 MB / 0.9636 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)