Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_7_0_0_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 7.0.1/package.mo): time 2.242/2.242, allocations: 248.6 MB / 255.9 MB, free: 7.168 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001785/0.001785, allocations: 179 kB / 315.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.928/1.928, allocations: 205.1 MB / 0.5658 GB, free: 268 kB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00134/0.00134, allocations: 94.45 kB / 0.67 GB, free: 5.477 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.4758/0.4772, allocations: 112.4 MB / 0.7797 GB, free: 103.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2191/0.6964, allocations: 106.2 MB / 0.8835 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.239/6.935, allocations: 2.471 GB / 3.355 GB, free: 226.2 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/6.936, allocations: 87.08 kB / 3.355 GB, free: 226.1 MB / 0.8698 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 3.948/10.88, allocations: 0.8892 GB / 4.244 GB, free: 5.094 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/10.88, allocations: 11.98 kB / 4.244 GB, free: 5.082 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006159/10.89, allocations: 0.564 MB / 4.244 GB, free: 4.508 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005669/10.9, allocations: 1.224 MB / 4.246 GB, free: 3.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001524/10.9, allocations: 189.9 kB / 4.246 GB, free: 3.043 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005764/10.9, allocations: 67.92 kB / 4.246 GB, free: 2.977 MB / 0.8855 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003765/10.9, allocations: 0.9568 MB / 4.247 GB, free: 2.02 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003608/10.91, allocations: 1.027 MB / 4.248 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.435e-05/10.91, allocations: 0 / 4.248 GB, free: 0.9648 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/10.91, allocations: 4 kB / 4.248 GB, free: 0.9609 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-05/10.91, allocations: 41.98 kB / 4.248 GB, free: 0.9219 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4194/11.33, allocations: 4.909 MB / 4.253 GB, free: 217.3 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002266/11.33, allocations: 0.8187 MB / 4.253 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001217/11.33, allocations: 458.8 kB / 4.254 GB, free: 217.2 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002902/11.33, allocations: 0.8626 MB / 4.255 GB, free: 216.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001539/11.33, allocations: 0.6145 MB / 4.255 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=85): time 4.439e-06/11.33, allocations: 0 / 4.255 GB, free: 216.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.00633/11.34, allocations: 1.089 MB / 4.256 GB, free: 216.1 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.52e-05/11.34, allocations: 148.6 kB / 4.257 GB, free: 215.9 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001713/11.34, allocations: 0.7428 MB / 4.257 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0003341/11.34, allocations: 29.55 kB / 4.257 GB, free: 215.8 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003841/11.34, allocations: 378.5 kB / 4.258 GB, free: 215.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003765/11.34, allocations: 268 kB / 4.258 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/11.34, allocations: 3.969 kB / 4.258 GB, free: 215.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 9.646e-05/11.34, allocations: 338.5 kB / 4.258 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/11.34, allocations: 395.1 kB / 4.259 GB, free: 215.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001446/11.35, allocations: 0.5964 MB / 4.259 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003185/11.35, allocations: 0.563 MB / 4.26 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-05/11.35, allocations: 5.406 kB / 4.26 GB, free: 214.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005192/11.35, allocations: 1.241 MB / 4.261 GB, free: 214.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002762/11.35, allocations: 1.138 MB / 4.262 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/11.35, allocations: 7.75 kB / 4.262 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-05/11.35, allocations: 7.75 kB / 4.262 GB, free: 213.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002923/11.36, allocations: 281.2 kB / 4.262 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.181e-05/11.36, allocations: 6.781 kB / 4.262 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003116/11.36, allocations: 186.5 kB / 4.263 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/11.36, allocations: 51.22 kB / 4.263 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/11.36, allocations: 5.812 kB / 4.263 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004294/11.37, allocations: 1.097 MB / 4.264 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/11.37, allocations: 6 kB / 4.264 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/11.37, allocations: 7.375 kB / 4.264 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002667/11.37, allocations: 272.8 kB / 4.264 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.427e-05/11.37, allocations: 6.656 kB / 4.264 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002793/11.37, allocations: 177.8 kB / 4.264 GB, free: 213.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002418/11.37, allocations: 53.59 kB / 4.264 GB, free: 213.6 MB / 0.8855 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.0004773/11.37, allocations: 198.5 kB / 4.264 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004673/11.37, allocations: 122.5 kB / 4.264 GB, free: 213.4 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005033/11.38, allocations: 1.255 MB / 4.266 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.352e-05/11.38, allocations: 10.28 kB / 4.266 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/11.38, allocations: 0.5625 kB / 4.266 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/11.38, allocations: 7.062 kB / 4.266 GB, free: 213.3 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009146/11.39, allocations: 2.684 MB / 4.268 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.425e-05/11.39, allocations: 3.125 kB / 4.268 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002231/11.39, allocations: 216.7 kB / 4.269 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.178e-05/11.39, allocations: 10.47 kB / 4.269 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002292/11.39, allocations: 27.31 kB / 4.269 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.268e-05/11.39, allocations: 7.5 kB / 4.269 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-05/11.39, allocations: 9.156 kB / 4.269 GB, free: 212.8 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006175/11.4, allocations: 2.102 MB / 4.271 GB, free: 212.3 MB / 0.8855 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.008535/11.4, allocations: 3.21 MB / 4.274 GB, free: 211.4 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001371/11.41, allocations: 346.6 kB / 4.274 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003834/11.41, allocations: 15.81 kB / 4.274 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002549/11.41, allocations: 140.6 kB / 4.274 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/11.41, allocations: 54.83 kB / 4.274 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001883/11.41, allocations: 54.97 kB / 4.274 GB, free: 211.2 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.001195/11.41, allocations: 0.5535 MB / 4.275 GB, free: 211.1 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.007905/11.42, allocations: 1.511 MB / 4.276 GB, free: 211 MB / 0.8855 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.005086/11.42, allocations: 2.449 MB / 4.279 GB, free: 210.5 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.004415/11.43, allocations: 1.679 MB / 4.28 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/11.43, allocations: 3.75 kB / 4.28 GB, free: 210.4 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001441/11.43, allocations: 0.6022 MB / 4.281 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004475/11.43, allocations: 406.7 kB / 4.281 GB, free: 210.3 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006723/11.44, allocations: 1.804 MB / 4.283 GB, free: 209.8 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001898/11.44, allocations: 1.312 MB / 4.284 GB, free: 209.1 MB / 0.8855 GB Notification: Performance of SimCode: time 1.503e-06/11.44, allocations: 0 / 4.284 GB, free: 209.1 MB / 0.8855 GB