Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryEffectivenessNTUPControl,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_Examples_DryEffectivenessNTUPControl",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.003/4.003, allocations: 404 MB / 410.9 MB, free: 4.922 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2468/4.25, allocations: 95 MB / 0.4941 GB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5311/4.781, allocations: 92.69 MB / 0.5846 GB, free: 3.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.254/11.04, allocations: 2.442 GB / 3.027 GB, free: 129.3 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/11.04, allocations: 90.84 kB / 3.027 GB, free: 129.2 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 306 * Number of variables: 306 Notification: Performance of Generate backend data structure: time 4.811/15.85, allocations: 0.9053 GB / 3.932 GB, free: 93.04 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/15.85, allocations: 8.844 kB / 3.932 GB, free: 93.04 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005388/15.85, allocations: 483.5 kB / 3.933 GB, free: 92.94 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006114/15.86, allocations: 1.437 MB / 3.934 GB, free: 92.5 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.387e-05/15.86, allocations: 40.75 kB / 3.934 GB, free: 92.5 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004915/15.86, allocations: 74.91 kB / 3.934 GB, free: 92.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004043/15.86, allocations: 1.048 MB / 3.935 GB, free: 92.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004188/15.87, allocations: 1.339 MB / 3.937 GB, free: 92.12 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.882e-05/15.87, allocations: 11.19 kB / 3.937 GB, free: 92.12 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002639/15.87, allocations: 7.453 kB / 3.937 GB, free: 92.12 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.82e-05/15.87, allocations: 49.83 kB / 3.937 GB, free: 92.12 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01939/15.89, allocations: 6.549 MB / 3.943 GB, free: 88.71 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/15.89, allocations: 0.7523 MB / 3.944 GB, free: 88.59 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/15.89, allocations: 401 kB / 3.944 GB, free: 88.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/15.89, allocations: 335.7 kB / 3.945 GB, free: 88.27 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00147/15.89, allocations: 0.5998 MB / 3.945 GB, free: 88.05 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=75): time 5.079e-06/15.89, allocations: 3.75 kB / 3.945 GB, free: 88.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=75): time 0.004756/15.9, allocations: 0.9709 MB / 3.946 GB, free: 87.92 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001854/15.9, allocations: 0.6453 MB / 3.947 GB, free: 87.14 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002431/15.9, allocations: 1.012 MB / 3.948 GB, free: 86.97 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003682/15.9, allocations: 31.42 kB / 3.948 GB, free: 86.94 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006679/15.9, allocations: 0.5824 MB / 3.948 GB, free: 86.6 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003934/15.9, allocations: 252.5 kB / 3.949 GB, free: 86.43 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/15.9, allocations: 0 / 3.949 GB, free: 86.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001155/15.9, allocations: 358.7 kB / 3.949 GB, free: 86.12 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/15.9, allocations: 422.9 kB / 3.949 GB, free: 86.12 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/15.9, allocations: 0.8872 MB / 3.95 GB, free: 85.59 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002355/15.91, allocations: 0.5651 MB / 3.951 GB, free: 85.57 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.968e-05/15.91, allocations: 3.812 kB / 3.951 GB, free: 85.57 MB / 0.8073 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.005489/15.91, allocations: 1.367 MB / 3.952 GB, free: 85.39 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008072/15.91, allocations: 3.797 MB / 3.956 GB, free: 81.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.433e-05/15.91, allocations: 10.62 kB / 3.956 GB, free: 81.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.144e-05/15.91, allocations: 17.25 kB / 3.956 GB, free: 81.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007206/15.92, allocations: 0.5348 MB / 3.956 GB, free: 81.46 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003011/15.92, allocations: 1.354 MB / 3.958 GB, free: 80.27 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004266/15.93, allocations: 210 kB / 3.958 GB, free: 80.2 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004665/15.93, allocations: 65 kB / 3.958 GB, free: 80.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/15.93, allocations: 7.812 kB / 3.958 GB, free: 80.19 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004323/15.93, allocations: 1.141 MB / 3.959 GB, free: 80.12 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.037e-05/15.93, allocations: 12.28 kB / 3.959 GB, free: 80.12 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.039e-05/15.93, allocations: 15.72 kB / 3.959 GB, free: 80.12 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003527/15.94, allocations: 354.6 kB / 3.959 GB, free: 80.09 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.491e-05/15.94, allocations: 22.8 kB / 3.959 GB, free: 80.09 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003569/15.94, allocations: 164.6 kB / 3.96 GB, free: 80.03 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003355/15.94, allocations: 70.88 kB / 3.96 GB, free: 80.03 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (156): * Single equations (assignments): 150 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 2 * 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.0005368/15.94, allocations: 143.2 kB / 3.96 GB, free: 79.9 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005452/15.94, allocations: 151.7 kB / 3.96 GB, free: 79.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003977/15.95, allocations: 0.9472 MB / 3.961 GB, free: 79.73 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-05/15.95, allocations: 14.72 kB / 3.961 GB, free: 79.72 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.124e-05/15.95, allocations: 4 kB / 3.961 GB, free: 79.72 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.972e-05/15.95, allocations: 11.03 kB / 3.961 GB, free: 79.71 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009336/15.96, allocations: 3.406 MB / 3.964 GB, free: 78.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.152e-05/15.96, allocations: 7.641 kB / 3.964 GB, free: 78.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00618/15.96, allocations: 421.5 kB / 3.965 GB, free: 78.21 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.556e-05/15.96, allocations: 11.59 kB / 3.965 GB, free: 78.21 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001843/15.96, allocations: 22.72 kB / 3.965 GB, free: 78.21 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00769/15.97, allocations: 2.863 MB / 3.967 GB, free: 75.67 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.949e-06/15.97, allocations: 6.969 kB / 3.967 GB, free: 75.66 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005101/15.97, allocations: 1.848 MB / 3.969 GB, free: 74.93 MB / 0.8073 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.009363/15.98, allocations: 2.848 MB / 3.972 GB, free: 73.8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001973/15.99, allocations: 339.1 kB / 3.972 GB, free: 73.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001027/15.99, allocations: 9.516 kB / 3.972 GB, free: 73.62 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004676/15.99, allocations: 113 kB / 3.973 GB, free: 73.61 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004902/15.99, allocations: 65.69 kB / 3.973 GB, free: 73.6 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002493/15.99, allocations: 38.38 kB / 3.973 GB, free: 73.59 MB / 0.8073 GB Notification: Performance of sort global known variables: time 0.003106/16, allocations: 0.7386 MB / 3.973 GB, free: 73.48 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01536/16.01, allocations: 1.62 MB / 3.975 GB, free: 72.84 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * 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 (80): * Single equations (assignments): 75 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.007399/16.02, allocations: 2.34 MB / 3.977 GB, free: 71.94 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01278/16.03, allocations: 2.091 MB / 3.979 GB, free: 71.14 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.237e-05/16.03, allocations: 0 / 3.979 GB, free: 71.14 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.007327/16.04, allocations: 0.7603 MB / 3.98 GB, free: 70.93 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005886/16.05, allocations: 0.4999 MB / 3.98 GB, free: 70.8 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008523/16.05, allocations: 2.094 MB / 3.983 GB, free: 69.86 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003774/16.06, allocations: 1.456 MB / 3.984 GB, free: 69.08 MB / 0.8073 GB Notification: Performance of SimCode: time 3.065e-06/16.06, allocations: 0 / 3.984 GB, free: 69.08 MB / 0.8073 GB