Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.DerivateCubicSpline,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_DerivateCubicSpline",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.307/4.307, allocations: 404 MB / 410.9 MB, free: 4.965 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2673/4.574, allocations: 95.01 MB / 0.4941 GB, free: 7.352 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5535/5.128, allocations: 92.69 MB / 0.5846 GB, free: 3.418 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/5.377, allocations: 120.9 MB / 0.7027 GB, free: 12.79 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003997/5.377, allocations: 95.86 kB / 0.7028 GB, free: 12.7 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.01883/5.396, allocations: 3.297 MB / 0.706 GB, free: 9.34 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/5.396, allocations: 12 kB / 0.706 GB, free: 9.328 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/5.396, allocations: 19.84 kB / 0.706 GB, free: 9.309 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/5.396, allocations: 171 kB / 0.7062 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/5.396, allocations: 0 / 0.7062 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/5.396, allocations: 4 kB / 0.7062 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001594/5.396, allocations: 35.98 kB / 0.7062 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/5.397, allocations: 69.67 kB / 0.7063 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/5.397, allocations: 4 kB / 0.7063 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.486e-05/5.397, allocations: 0 / 0.7063 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/5.397, allocations: 0 / 0.7063 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/5.397, allocations: 265.3 kB / 0.7066 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001522/5.397, allocations: 54.5 kB / 0.7066 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/5.398, allocations: 44.92 kB / 0.7067 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.253e-05/5.398, allocations: 0 / 0.7067 GB, free: 8.578 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/5.398, allocations: 34.56 kB / 0.7067 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.694e-06/5.398, allocations: 0 / 0.7067 GB, free: 8.535 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004103/5.398, allocations: 105.6 kB / 0.7068 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/5.398, allocations: 81.11 kB / 0.7069 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/5.398, allocations: 113 kB / 0.707 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/5.398, allocations: 25.7 kB / 0.707 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.6e-05/5.398, allocations: 88.16 kB / 0.7071 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.968e-05/5.398, allocations: 23.69 kB / 0.7071 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-06/5.398, allocations: 0 / 0.7071 GB, free: 8.066 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.00013/5.399, allocations: 310.8 kB / 0.7074 GB, free: 7.754 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/5.399, allocations: 55.97 kB / 0.7075 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/5.399, allocations: 51.97 kB / 0.7075 GB, free: 7.648 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002194/5.399, allocations: 55.97 kB / 0.7076 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/5.399, allocations: 3.938 kB / 0.7076 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004262/5.4, allocations: 145.5 kB / 0.7077 GB, free: 7.441 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/5.4, allocations: 8 kB / 0.7077 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/5.4, allocations: 0 / 0.7077 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/5.4, allocations: 0 / 0.7077 GB, free: 7.434 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001/5.4, allocations: 4 kB / 0.7077 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/5.4, allocations: 0 / 0.7077 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.983e-05/5.4, allocations: 11.98 kB / 0.7077 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.573e-05/5.4, allocations: 4 kB / 0.7077 GB, free: 7.414 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: 1 (cubSpl.i) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 1 * 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.0001386/5.4, allocations: 138.6 kB / 0.7079 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/5.4, allocations: 0 / 0.7079 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.309e-05/5.4, allocations: 15.89 kB / 0.7079 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/5.4, allocations: 7.875 kB / 0.7079 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/5.4, allocations: 0 / 0.7079 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.678e-06/5.4, allocations: 0 / 0.7079 GB, free: 7.234 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002747/5.401, allocations: 146.2 kB / 0.708 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/5.401, allocations: 0 / 0.708 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/5.401, allocations: 7.984 kB / 0.708 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/5.401, allocations: 4.094 kB / 0.708 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.648e-05/5.401, allocations: 8.062 kB / 0.708 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/5.401, allocations: 0 / 0.708 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.064e-06/5.401, allocations: 7.891 kB / 0.708 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000376/5.401, allocations: 207.4 kB / 0.7082 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005133/5.402, allocations: 0.5818 MB / 0.7088 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.172e-05/5.402, allocations: 77.11 kB / 0.7089 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.228e-05/5.402, allocations: 4 kB / 0.7089 GB, free: 6.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000159/5.402, allocations: 7.906 kB / 0.7089 GB, free: 6.102 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/5.402, allocations: 11.98 kB / 0.7089 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.272e-05/5.402, allocations: 0 / 0.7089 GB, free: 6.09 MB / 0.5886 GB Notification: Performance of sort global known variables: time 8.964e-05/5.402, allocations: 99.64 kB / 0.709 GB, free: 5.992 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001548/5.404, allocations: 67.94 kB / 0.7091 GB, free: 5.926 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: 1 (cubSpl.i) * Number of discrete states: 1 (cubSpl.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 1 * 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.0005006/5.404, allocations: 175.4 kB / 0.7092 GB, free: 5.75 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003838/5.405, allocations: 151.4 kB / 0.7094 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/5.405, allocations: 0 / 0.7094 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001647/5.405, allocations: 73.69 kB / 0.7095 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/5.405, allocations: 7.875 kB / 0.7095 GB, free: 5.504 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/5.406, allocations: 127.7 kB / 0.7096 GB, free: 5.355 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003748/5.406, allocations: 0.6993 MB / 0.7103 GB, free: 4.633 MB / 0.5886 GB Notification: Performance of SimCode: time 9.12e-07/5.406, allocations: 0 / 0.7103 GB, free: 4.633 MB / 0.5886 GB