Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.BasicFlowFunction_dp_DerivativeCheck2,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_BaseClasses_FlowModels_Validation_BasicFlowFunction_dp_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.337/4.337, allocations: 404 MB / 410.9 MB, free: 4.961 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3711/4.708, allocations: 95.01 MB / 0.4941 GB, free: 7.344 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5235/5.231, allocations: 92.67 MB / 0.5846 GB, free: 3.453 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2573/5.489, allocations: 120.3 MB / 0.7021 GB, free: 13.44 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003746/5.489, allocations: 75.95 kB / 0.7021 GB, free: 13.37 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.02729/5.517, allocations: 4.471 MB / 0.7065 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/5.517, allocations: 12 kB / 0.7065 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.135e-05/5.517, allocations: 3.906 kB / 0.7065 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/5.517, allocations: 171 kB / 0.7067 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.58e-05/5.517, allocations: 0 / 0.7067 GB, free: 8.625 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/5.517, allocations: 4 kB / 0.7067 GB, free: 8.621 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001203/5.517, allocations: 19.98 kB / 0.7067 GB, free: 8.602 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001272/5.517, allocations: 45.67 kB / 0.7067 GB, free: 8.551 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/5.517, allocations: 3.906 kB / 0.7068 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/5.517, allocations: 0 / 0.7068 GB, free: 8.547 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/5.517, allocations: 4 kB / 0.7068 GB, free: 8.543 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/5.518, allocations: 142.2 kB / 0.7069 GB, free: 8.367 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001174/5.518, allocations: 33.66 kB / 0.7069 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.644e-05/5.518, allocations: 24.86 kB / 0.7069 GB, free: 8.301 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004653/5.518, allocations: 105.3 kB / 0.707 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.299e-05/5.518, allocations: 34.55 kB / 0.7071 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/5.518, allocations: 0 / 0.7071 GB, free: 8.137 MB / 0.5886 GB Notification: Performance of matching and sorting (n=11): time 0.008846/5.527, allocations: 0.9146 MB / 0.708 GB, free: 7.129 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.116e-05/5.527, allocations: 51.41 kB / 0.708 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/5.527, allocations: 85 kB / 0.7081 GB, free: 6.977 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.674e-05/5.527, allocations: 29.7 kB / 0.7081 GB, free: 6.941 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.288e-05/5.528, allocations: 88.12 kB / 0.7082 GB, free: 6.852 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/5.528, allocations: 39.34 kB / 0.7083 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.832e-05/5.528, allocations: 0 / 0.7083 GB, free: 6.812 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002323/5.528, allocations: 322.9 kB / 0.7086 GB, free: 6.488 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002317/5.528, allocations: 32 kB / 0.7086 GB, free: 6.457 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002209/5.528, allocations: 28 kB / 0.7086 GB, free: 6.43 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002469/5.529, allocations: 31.98 kB / 0.7086 GB, free: 6.398 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/5.529, allocations: 3.984 kB / 0.7087 GB, free: 6.395 MB / 0.5886 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006811/5.529, allocations: 101.7 kB / 0.7087 GB, free: 6.289 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.159e-05/5.53, allocations: 4 kB / 0.7088 GB, free: 6.285 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/5.53, allocations: 4 kB / 0.7088 GB, free: 6.281 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.542e-05/5.53, allocations: 3.906 kB / 0.7088 GB, free: 6.277 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/5.531, allocations: 63.89 kB / 0.7088 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/5.531, allocations: 0 / 0.7088 GB, free: 6.215 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008811/5.532, allocations: 28.34 kB / 0.7088 GB, free: 6.188 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.368e-05/5.532, allocations: 15.92 kB / 0.7089 GB, free: 6.172 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 (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.0001751/5.532, allocations: 101 kB / 0.709 GB, free: 6.066 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.51e-05/5.532, allocations: 7.906 kB / 0.709 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.591e-05/5.532, allocations: 8.062 kB / 0.709 GB, free: 6.047 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/5.532, allocations: 4 kB / 0.709 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/5.532, allocations: 0 / 0.709 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/5.532, allocations: 0 / 0.709 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001306/5.534, allocations: 358.9 kB / 0.7093 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/5.534, allocations: 0 / 0.7093 GB, free: 5.648 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001195/5.535, allocations: 51.95 kB / 0.7094 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/5.535, allocations: 0 / 0.7094 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.465e-05/5.535, allocations: 7.984 kB / 0.7094 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/5.535, allocations: 0 / 0.7094 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.954e-06/5.535, allocations: 4.078 kB / 0.7094 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00102/5.536, allocations: 251.3 kB / 0.7096 GB, free: 5.324 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001486/5.538, allocations: 0.6603 MB / 0.7103 GB, free: 4.645 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 8.449e-05/5.538, allocations: 81.11 kB / 0.7103 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.251e-05/5.538, allocations: 0 / 0.7103 GB, free: 4.547 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/5.539, allocations: 32.09 kB / 0.7104 GB, free: 4.516 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/5.539, allocations: 11.89 kB / 0.7104 GB, free: 4.504 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.134e-05/5.539, allocations: 8 kB / 0.7104 GB, free: 4.496 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7.677e-05/5.539, allocations: 75.28 kB / 0.7105 GB, free: 4.422 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002832/5.542, allocations: 20 kB / 0.7105 GB, free: 4.402 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (m_flow_comp,der_m_flow_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.0003575/5.542, allocations: 115.1 kB / 0.7106 GB, free: 4.281 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000576/5.543, allocations: 83.92 kB / 0.7107 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/5.543, allocations: 224 / 0.7107 GB, free: 4.199 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0002581/5.543, allocations: 51.8 kB / 0.7107 GB, free: 4.148 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/5.544, allocations: 8 kB / 0.7107 GB, free: 4.141 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004128/5.548, allocations: 414 kB / 0.7111 GB, free: 3.711 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000792/5.549, allocations: 0.7231 MB / 0.7118 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of SimCode: time 1.392e-06/5.549, allocations: 0 / 0.7118 GB, free: 2.961 MB / 0.5886 GB