Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_m_flow_DerivativeCheck2,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_m_flow_DerivativeCheck2",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.175/4.175, allocations: 404 MB / 410.9 MB, free: 8.91 MB / 338.8 MB Notification: Performance of FrontEnd - loaded program: time 0.4829/4.658, allocations: 95.02 MB / 0.4941 GB, free: 7.09 MB / 402.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2375/4.896, allocations: 92.67 MB / 0.5846 GB, free: 10.24 MB / 498.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6889/5.585, allocations: 122 MB / 0.7037 GB, free: 9.73 MB / 0.5652 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005116/5.585, allocations: 81.31 kB / 0.7038 GB, free: 9.684 MB / 0.5652 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.02721/5.612, allocations: 4.273 MB / 0.7079 GB, free: 6.082 MB / 0.5652 GB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/5.613, allocations: 12 kB / 0.708 GB, free: 6.07 MB / 0.5652 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.293e-05/5.613, allocations: 11.89 kB / 0.708 GB, free: 6.059 MB / 0.5652 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/5.613, allocations: 170.9 kB / 0.7081 GB, free: 5.852 MB / 0.5652 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.6e-05/5.613, allocations: 0 / 0.7081 GB, free: 5.852 MB / 0.5652 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/5.613, allocations: 15.48 kB / 0.7081 GB, free: 5.84 MB / 0.5652 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001478/5.613, allocations: 23.44 kB / 0.7082 GB, free: 5.824 MB / 0.5652 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/5.613, allocations: 56.61 kB / 0.7082 GB, free: 5.77 MB / 0.5652 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/5.613, allocations: 4 kB / 0.7082 GB, free: 5.766 MB / 0.5652 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.983e-05/5.613, allocations: 0 / 0.7082 GB, free: 5.766 MB / 0.5652 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/5.613, allocations: 4 kB / 0.7082 GB, free: 5.762 MB / 0.5652 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001221/5.615, allocations: 299.3 kB / 0.7085 GB, free: 5.449 MB / 0.5652 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/5.615, allocations: 39.7 kB / 0.7086 GB, free: 5.41 MB / 0.5652 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.343e-05/5.615, allocations: 20.8 kB / 0.7086 GB, free: 5.391 MB / 0.5652 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004396/5.615, allocations: 93.09 kB / 0.7087 GB, free: 5.281 MB / 0.5652 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.651e-05/5.615, allocations: 34.44 kB / 0.7087 GB, free: 5.242 MB / 0.5652 GB Notification: Performance of pre-optimization done (n=7): time 2.896e-06/5.615, allocations: 4 kB / 0.7087 GB, free: 5.238 MB / 0.5652 GB Notification: Performance of matching and sorting (n=11): time 0.007037/5.622, allocations: 0.7843 MB / 0.7095 GB, free: 4.414 MB / 0.5652 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/5.623, allocations: 55.41 kB / 0.7095 GB, free: 4.348 MB / 0.5652 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.721e-05/5.623, allocations: 96.86 kB / 0.7096 GB, free: 4.25 MB / 0.5652 GB Notification: Performance of collectPreVariables (initialization): time 3.662e-05/5.623, allocations: 25.7 kB / 0.7096 GB, free: 4.219 MB / 0.5652 GB Notification: Performance of collectInitialEqns (initialization): time 5.139e-05/5.623, allocations: 80.14 kB / 0.7097 GB, free: 4.137 MB / 0.5652 GB Notification: Performance of collectInitialBindings (initialization): time 6.531e-05/5.623, allocations: 43.3 kB / 0.7098 GB, free: 4.098 MB / 0.5652 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/5.623, allocations: 4 kB / 0.7098 GB, free: 4.094 MB / 0.5652 GB Notification: Performance of setup shared object (initialization): time 0.0001562/5.623, allocations: 314.7 kB / 0.7101 GB, free: 3.781 MB / 0.5652 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001325/5.623, allocations: 30.67 kB / 0.7101 GB, free: 3.762 MB / 0.5652 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001318/5.623, allocations: 31.25 kB / 0.7101 GB, free: 3.742 MB / 0.5652 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/5.623, allocations: 27.36 kB / 0.7101 GB, free: 3.723 MB / 0.5652 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/5.624, allocations: 0 / 0.7101 GB, free: 3.723 MB / 0.5652 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004262/5.624, allocations: 116 kB / 0.7103 GB, free: 3.625 MB / 0.5652 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/5.624, allocations: 7.984 kB / 0.7103 GB, free: 3.617 MB / 0.5652 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/5.624, allocations: 0 / 0.7103 GB, free: 3.617 MB / 0.5652 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/5.624, allocations: 4 kB / 0.7103 GB, free: 3.613 MB / 0.5652 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007757/5.625, allocations: 39.97 kB / 0.7103 GB, free: 3.574 MB / 0.5652 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/5.625, allocations: 4 kB / 0.7103 GB, free: 3.57 MB / 0.5652 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005373/5.625, allocations: 27.97 kB / 0.7103 GB, free: 3.543 MB / 0.5652 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.887e-05/5.625, allocations: 0 / 0.7103 GB, free: 3.543 MB / 0.5652 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 (13): * Single equations (assignments): 13 * 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 0.0001283/5.626, allocations: 105 kB / 0.7104 GB, free: 3.434 MB / 0.5652 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.33e-05/5.626, allocations: 7.844 kB / 0.7104 GB, free: 3.426 MB / 0.5652 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.558e-05/5.626, allocations: 12 kB / 0.7105 GB, free: 3.414 MB / 0.5652 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/5.626, allocations: 0 / 0.7105 GB, free: 3.414 MB / 0.5652 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/5.626, allocations: 11.84 kB / 0.7105 GB, free: 3.402 MB / 0.5652 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/5.626, allocations: 8.172 kB / 0.7105 GB, free: 3.395 MB / 0.5652 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008988/5.627, allocations: 360.3 kB / 0.7108 GB, free: 3.031 MB / 0.5652 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/5.627, allocations: 0 / 0.7108 GB, free: 3.031 MB / 0.5652 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008113/5.628, allocations: 47.77 kB / 0.7109 GB, free: 2.988 MB / 0.5652 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/5.628, allocations: 7.906 kB / 0.7109 GB, free: 2.98 MB / 0.5652 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.105e-05/5.628, allocations: 3.984 kB / 0.7109 GB, free: 2.977 MB / 0.5652 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/5.628, allocations: 4 kB / 0.7109 GB, free: 2.973 MB / 0.5652 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/5.628, allocations: 3.938 kB / 0.7109 GB, free: 2.969 MB / 0.5652 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006498/5.628, allocations: 248.4 kB / 0.7111 GB, free: 2.75 MB / 0.5652 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0009683/5.629, allocations: 0.6582 MB / 0.7118 GB, free: 2.129 MB / 0.5652 GB Notification: Performance of postOpt removeConstants (simulation): time 6.097e-05/5.629, allocations: 81.02 kB / 0.7118 GB, free: 2.031 MB / 0.5652 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.649e-05/5.629, allocations: 4 kB / 0.7118 GB, free: 2.027 MB / 0.5652 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007924/5.63, allocations: 23.92 kB / 0.7119 GB, free: 2.008 MB / 0.5652 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/5.63, allocations: 3.984 kB / 0.7119 GB, free: 2.004 MB / 0.5652 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.859e-05/5.63, allocations: 12.14 kB / 0.7119 GB, free: 1.992 MB / 0.5652 GB Notification: Performance of sort global known variables: time 7.105e-05/5.63, allocations: 87.16 kB / 0.712 GB, free: 1.906 MB / 0.5652 GB Notification: Performance of remove unused functions: time 0.001448/5.632, allocations: 27.53 kB / 0.712 GB, free: 1.883 MB / 0.5652 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (dp_comp,der_dp_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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.0002294/5.632, allocations: 111 kB / 0.7121 GB, free: 1.766 MB / 0.5652 GB Notification: Performance of simCode: created initialization part: time 0.0003963/5.633, allocations: 76.86 kB / 0.7122 GB, free: 1.711 MB / 0.5652 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/5.633, allocations: 224 / 0.7122 GB, free: 1.711 MB / 0.5652 GB Notification: Performance of simCode: created simulation system equations: time 0.0001659/5.633, allocations: 52.48 kB / 0.7122 GB, free: 1.672 MB / 0.5652 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/5.633, allocations: 8 kB / 0.7122 GB, free: 1.664 MB / 0.5652 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002351/5.635, allocations: 354.7 kB / 0.7126 GB, free: 1.312 MB / 0.5652 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006012/5.636, allocations: 0.7231 MB / 0.7133 GB, free: 0.5625 MB / 0.5652 GB Notification: Performance of SimCode: time 1.393e-06/5.636, allocations: 0 / 0.7133 GB, free: 0.5625 MB / 0.5652 GB