Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUMassFlow,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_DryEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"dynamic"}) [: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 loadModel(Buildings): time 4.441/4.441, allocations: 404 MB / 410.9 MB, free: 9.16 MB / 338.9 MB Notification: Performance of FrontEnd - loaded program: time 0.4586/4.9, allocations: 95 MB / 0.4941 GB, free: 7.363 MB / 402.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2158/5.115, allocations: 92.68 MB / 0.5846 GB, free: 10.5 MB / 498.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.304/11.42, allocations: 2.44 GB / 3.024 GB, free: 220.2 MB / 0.7685 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003013/11.42, allocations: 83.09 kB / 3.024 GB, free: 220.2 MB / 0.7685 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 4.609/16.03, allocations: 0.8786 GB / 3.903 GB, free: 102.5 MB / 0.7841 GB Notification: Performance of prepare preOptimizeDAE: time 5.995e-05/16.03, allocations: 7.812 kB / 3.903 GB, free: 102.5 MB / 0.7841 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007377/16.04, allocations: 462.2 kB / 3.903 GB, free: 102.4 MB / 0.7841 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005197/16.04, allocations: 1.235 MB / 3.904 GB, free: 102.1 MB / 0.7841 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.301e-05/16.04, allocations: 37.88 kB / 3.904 GB, free: 102.1 MB / 0.7841 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003733/16.04, allocations: 70.38 kB / 3.905 GB, free: 102.1 MB / 0.7841 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003958/16.05, allocations: 1.001 MB / 3.905 GB, free: 102.1 MB / 0.7841 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004008/16.05, allocations: 1.228 MB / 3.907 GB, free: 101.8 MB / 0.7841 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.62e-05/16.05, allocations: 3.844 kB / 3.907 GB, free: 101.8 MB / 0.7841 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002373/16.05, allocations: 3.844 kB / 3.907 GB, free: 101.8 MB / 0.7841 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.588e-05/16.05, allocations: 53.31 kB / 3.907 GB, free: 101.8 MB / 0.7841 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01362/16.06, allocations: 5.849 MB / 3.912 GB, free: 98.48 MB / 0.7841 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/16.07, allocations: 0.7433 MB / 3.913 GB, free: 98.38 MB / 0.7841 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001152/16.07, allocations: 475.5 kB / 3.914 GB, free: 98.35 MB / 0.7841 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001259/16.07, allocations: 347.7 kB / 3.914 GB, free: 98.07 MB / 0.7841 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001503/16.07, allocations: 0.6793 MB / 3.915 GB, free: 97.85 MB / 0.7841 GB Notification: Performance of pre-optimization done (n=92): time 4.518e-06/16.07, allocations: 0 / 3.915 GB, free: 97.85 MB / 0.7841 GB Notification: Performance of matching and sorting (n=92): time 0.005484/16.08, allocations: 1.115 MB / 3.916 GB, free: 97.74 MB / 0.7841 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001379/16.08, allocations: 437.6 kB / 3.916 GB, free: 97.24 MB / 0.7841 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001806/16.08, allocations: 0.7837 MB / 3.917 GB, free: 97.09 MB / 0.7841 GB Notification: Performance of collectPreVariables (initialization): time 0.0002506/16.08, allocations: 29.67 kB / 3.917 GB, free: 97.06 MB / 0.7841 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004915/16.08, allocations: 467.7 kB / 3.917 GB, free: 96.85 MB / 0.7841 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/16.08, allocations: 292 kB / 3.918 GB, free: 96.7 MB / 0.7841 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/16.08, allocations: 6.781 kB / 3.918 GB, free: 96.7 MB / 0.7841 GB Notification: Performance of setup shared object (initialization): time 0.000108/16.08, allocations: 354.3 kB / 3.918 GB, free: 96.39 MB / 0.7841 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/16.08, allocations: 407 kB / 3.918 GB, free: 96.39 MB / 0.7841 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001581/16.08, allocations: 0.7343 MB / 3.919 GB, free: 96.04 MB / 0.7841 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003333/16.09, allocations: 0.6068 MB / 3.92 GB, free: 96.04 MB / 0.7841 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.595e-05/16.09, allocations: 3.75 kB / 3.92 GB, free: 96.04 MB / 0.7841 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.006213/16.09, allocations: 1.347 MB / 3.921 GB, free: 95.92 MB / 0.7841 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005818/16.09, allocations: 2.53 MB / 3.923 GB, free: 93.29 MB / 0.7841 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.322e-05/16.09, allocations: 12.25 kB / 3.924 GB, free: 93.29 MB / 0.7841 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.362e-05/16.09, allocations: 14.69 kB / 3.924 GB, free: 93.29 MB / 0.7841 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003364/16.1, allocations: 290.6 kB / 3.924 GB, free: 93.29 MB / 0.7841 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/16.1, allocations: 17.88 kB / 3.924 GB, free: 93.29 MB / 0.7841 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003641/16.1, allocations: 191.2 kB / 3.924 GB, free: 93.26 MB / 0.7841 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/16.1, allocations: 54.59 kB / 3.924 GB, free: 93.26 MB / 0.7841 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/16.1, allocations: 3.781 kB / 3.924 GB, free: 93.26 MB / 0.7841 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005087/16.11, allocations: 1.166 MB / 3.925 GB, free: 93.24 MB / 0.7841 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.133e-05/16.11, allocations: 9.875 kB / 3.925 GB, free: 93.24 MB / 0.7841 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/16.11, allocations: 10.56 kB / 3.925 GB, free: 93.24 MB / 0.7841 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003238/16.11, allocations: 287.5 kB / 3.925 GB, free: 93.24 MB / 0.7841 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.238e-05/16.11, allocations: 23.17 kB / 3.926 GB, free: 93.23 MB / 0.7841 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003379/16.11, allocations: 151.9 kB / 3.926 GB, free: 93.21 MB / 0.7841 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003339/16.11, allocations: 58.23 kB / 3.926 GB, free: 93.21 MB / 0.7841 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * 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 (131): * Single equations (assignments): 128 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * 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.0005639/16.11, allocations: 209 kB / 3.926 GB, free: 93.05 MB / 0.7841 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005605/16.11, allocations: 131 kB / 3.926 GB, free: 92.98 MB / 0.7841 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006476/16.12, allocations: 1.195 MB / 3.927 GB, free: 92.91 MB / 0.7841 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.342e-05/16.12, allocations: 11.06 kB / 3.927 GB, free: 92.91 MB / 0.7841 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.196e-05/16.12, allocations: 3.938 kB / 3.927 GB, free: 92.91 MB / 0.7841 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.895e-05/16.12, allocations: 3.938 kB / 3.927 GB, free: 92.91 MB / 0.7841 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009986/16.13, allocations: 3.319 MB / 3.93 GB, free: 91.85 MB / 0.7841 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.57e-05/16.13, allocations: 6.562 kB / 3.93 GB, free: 91.85 MB / 0.7841 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002527/16.13, allocations: 208.3 kB / 3.931 GB, free: 91.85 MB / 0.7841 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.279e-05/16.13, allocations: 13.09 kB / 3.931 GB, free: 91.85 MB / 0.7841 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000175/16.13, allocations: 19.73 kB / 3.931 GB, free: 91.85 MB / 0.7841 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.579e-05/16.13, allocations: 14.7 kB / 3.931 GB, free: 91.85 MB / 0.7841 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/16.13, allocations: 6.688 kB / 3.931 GB, free: 91.85 MB / 0.7841 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006418/16.14, allocations: 2.29 MB / 3.933 GB, free: 91.02 MB / 0.7841 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.00871/16.15, allocations: 3.385 MB / 3.936 GB, free: 89.84 MB / 0.7841 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001421/16.15, allocations: 352.2 kB / 3.937 GB, free: 89.68 MB / 0.7841 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005388/16.15, allocations: 18.12 kB / 3.937 GB, free: 89.68 MB / 0.7841 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003193/16.15, allocations: 122.3 kB / 3.937 GB, free: 89.68 MB / 0.7841 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000375/16.15, allocations: 67.22 kB / 3.937 GB, free: 89.68 MB / 0.7841 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002363/16.15, allocations: 57 kB / 3.937 GB, free: 89.68 MB / 0.7841 GB Notification: Performance of sort global known variables: time 0.001474/16.16, allocations: 0.5768 MB / 3.937 GB, free: 89.57 MB / 0.7841 GB Notification: Performance of remove unused functions: time 0.00959/16.17, allocations: 1.557 MB / 3.939 GB, free: 89.48 MB / 0.7841 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 (mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition2,mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (85): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 1 * 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.005539/16.17, allocations: 2.449 MB / 3.941 GB, free: 88.84 MB / 0.7841 GB Notification: Performance of simCode: created initialization part: time 0.005067/16.18, allocations: 1.812 MB / 3.943 GB, free: 88.63 MB / 0.7841 GB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/16.18, allocations: 3.812 kB / 3.943 GB, free: 88.63 MB / 0.7841 GB Notification: Performance of simCode: created simulation system equations: time 0.001582/16.18, allocations: 0.6305 MB / 3.944 GB, free: 88.54 MB / 0.7841 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005364/16.18, allocations: 455.8 kB / 3.944 GB, free: 88.53 MB / 0.7841 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00747/16.19, allocations: 1.96 MB / 3.946 GB, free: 87.89 MB / 0.7841 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002065/16.19, allocations: 1.381 MB / 3.947 GB, free: 87.17 MB / 0.7841 GB Notification: Performance of SimCode: time 1.223e-06/16.19, allocations: 0 / 3.947 GB, free: 87.17 MB / 0.7841 GB