Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Gain,fileNamePrefix="Buildings_5_0_1_Buildings_Controls_OBC_CDL_Continuous_Validation_Gain",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.316/4.316, allocations: 404 MB / 410.9 MB, free: 4.934 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2476/4.564, allocations: 95.03 MB / 0.4941 GB, free: 7.316 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5486/5.112, allocations: 92.67 MB / 0.5846 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2538/5.366, allocations: 119.7 MB / 0.7015 GB, free: 14.02 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000365/5.367, allocations: 87.94 kB / 0.7016 GB, free: 13.93 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.003126/5.37, allocations: 0.6572 MB / 0.7022 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.093e-05/5.37, allocations: 12 kB / 0.7022 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/5.37, allocations: 4 kB / 0.7022 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/5.37, allocations: 167 kB / 0.7024 GB, free: 13.02 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/5.37, allocations: 3.938 kB / 0.7024 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.533e-05/5.37, allocations: 3.938 kB / 0.7024 GB, free: 13.01 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.725e-05/5.37, allocations: 12 kB / 0.7024 GB, free: 13 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.475e-05/5.37, allocations: 33.69 kB / 0.7024 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/5.37, allocations: 0 / 0.7024 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/5.37, allocations: 0 / 0.7024 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.237e-06/5.37, allocations: 3.984 kB / 0.7024 GB, free: 12.95 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006308/5.371, allocations: 257.3 kB / 0.7027 GB, free: 12.66 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.828e-05/5.371, allocations: 26.58 kB / 0.7027 GB, free: 12.63 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.725e-05/5.371, allocations: 12.92 kB / 0.7027 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.745e-05/5.371, allocations: 4.031 kB / 0.7027 GB, free: 12.61 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/5.371, allocations: 30.56 kB / 0.7028 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.414e-06/5.371, allocations: 0 / 0.7028 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000221/5.372, allocations: 41.61 kB / 0.7028 GB, free: 12.52 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/5.372, allocations: 59.34 kB / 0.7029 GB, free: 12.45 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.47e-05/5.372, allocations: 93.03 kB / 0.7029 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/5.372, allocations: 25.7 kB / 0.703 GB, free: 12.32 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/5.372, allocations: 92.06 kB / 0.7031 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/5.372, allocations: 3.906 kB / 0.7031 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-06/5.372, allocations: 4 kB / 0.7031 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001245/5.372, allocations: 310.8 kB / 0.7034 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/5.372, allocations: 4 kB / 0.7034 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.488e-05/5.372, allocations: 4 kB / 0.7034 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.689e-05/5.372, allocations: 12.06 kB / 0.7034 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/5.372, allocations: 0 / 0.7034 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000125/5.372, allocations: 41.59 kB / 0.7034 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/5.372, allocations: 8 kB / 0.7034 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.453e-06/5.372, allocations: 0 / 0.7034 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/5.372, allocations: 0 / 0.7034 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/5.373, allocations: 8.25 kB / 0.7034 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/5.373, allocations: 0 / 0.7034 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/5.373, allocations: 20.02 kB / 0.7035 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.025e-06/5.373, allocations: 3.938 kB / 0.7035 GB, free: 11.8 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 8.552e-05/5.373, allocations: 108.5 kB / 0.7036 GB, free: 11.7 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.572e-05/5.373, allocations: 7.906 kB / 0.7036 GB, free: 11.69 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.753e-05/5.373, allocations: 3.312 kB / 0.7036 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/5.373, allocations: 7.922 kB / 0.7036 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/5.373, allocations: 4 kB / 0.7036 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/5.373, allocations: 0 / 0.7036 GB, free: 11.67 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/5.373, allocations: 138.1 kB / 0.7037 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/5.373, allocations: 0 / 0.7037 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/5.373, allocations: 15.98 kB / 0.7037 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/5.373, allocations: 3.938 kB / 0.7037 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.357e-06/5.373, allocations: 0 / 0.7037 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/5.373, allocations: 0 / 0.7037 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/5.373, allocations: 4 kB / 0.7037 GB, free: 11.48 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001941/5.374, allocations: 135.5 kB / 0.7039 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002908/5.374, allocations: 0.5115 MB / 0.7044 GB, free: 10.8 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.736e-05/5.374, allocations: 77.17 kB / 0.7044 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/5.374, allocations: 4 kB / 0.7044 GB, free: 10.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001741/5.374, allocations: 11.98 kB / 0.7045 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/5.374, allocations: 0 / 0.7045 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/5.374, allocations: 0 / 0.7045 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6.151e-05/5.374, allocations: 87.27 kB / 0.7045 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001333/5.376, allocations: 7.906 kB / 0.7045 GB, free: 10.59 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0002415/5.376, allocations: 107 kB / 0.7046 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001391/5.376, allocations: 16 kB / 0.7047 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/5.376, allocations: 0 / 0.7047 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 4.162e-05/5.376, allocations: 7.938 kB / 0.7047 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/5.377, allocations: 0 / 0.7047 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003292/5.377, allocations: 60.86 kB / 0.7047 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004503/5.377, allocations: 0.6959 MB / 0.7054 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of SimCode: time 1.283e-06/5.377, allocations: 0 / 0.7054 GB, free: 9.648 MB / 0.5886 GB