Running command: "" <> buildModelFMU(Buildings.Fluid.BaseClasses.FlowModels.Validation.InvertingBasicFlowFunction_m_flow,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_BaseClasses_FlowModels_Validation_InvertingBasicFlowFunction_m_flow",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.451/4.451, allocations: 403.9 MB / 410.9 MB, free: 4.957 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2803/4.731, allocations: 95.01 MB / 0.4941 GB, free: 7.355 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5432/5.275, allocations: 92.68 MB / 0.5846 GB, free: 3.434 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3191/5.594, allocations: 119.8 MB / 0.7016 GB, free: 13.93 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/5.594, allocations: 79.94 kB / 0.7017 GB, free: 13.85 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.01436/5.609, allocations: 2.26 MB / 0.7039 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/5.609, allocations: 12 kB / 0.7039 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.117e-05/5.609, allocations: 3.938 kB / 0.7039 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001484/5.609, allocations: 159.1 kB / 0.704 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.884e-05/5.609, allocations: 11.91 kB / 0.704 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/5.609, allocations: 3.984 kB / 0.704 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.73e-05/5.609, allocations: 4 kB / 0.704 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.449e-05/5.609, allocations: 33.64 kB / 0.7041 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/5.609, allocations: 0 / 0.7041 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/5.609, allocations: 0 / 0.7041 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/5.609, allocations: 0 / 0.7041 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002207/5.609, allocations: 134.2 kB / 0.7042 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.8e-05/5.61, allocations: 26.61 kB / 0.7042 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.947e-05/5.61, allocations: 8.922 kB / 0.7042 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004199/5.61, allocations: 97 kB / 0.7043 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.962e-05/5.61, allocations: 30.56 kB / 0.7044 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.874e-06/5.61, allocations: 4 kB / 0.7044 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0009331/5.611, allocations: 77.58 kB / 0.7044 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/5.611, allocations: 51.41 kB / 0.7045 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.618e-05/5.611, allocations: 93.03 kB / 0.7046 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.771e-05/5.611, allocations: 25.7 kB / 0.7046 GB, free: 10.63 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.685e-05/5.611, allocations: 80.14 kB / 0.7047 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.98e-05/5.611, allocations: 3.906 kB / 0.7047 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.914e-06/5.611, allocations: 0 / 0.7047 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001524/5.611, allocations: 314.8 kB / 0.705 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.325e-05/5.612, allocations: 7.938 kB / 0.705 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.187e-05/5.612, allocations: 4 kB / 0.705 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.633e-05/5.612, allocations: 12.17 kB / 0.705 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/5.612, allocations: 4 kB / 0.705 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001526/5.612, allocations: 41.61 kB / 0.705 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/5.612, allocations: 10.97 kB / 0.7051 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/5.612, allocations: 0 / 0.7051 GB, free: 10.15 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/5.612, allocations: 3.984 kB / 0.7051 GB, free: 10.14 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003025/5.615, allocations: 147.9 kB / 0.7052 GB, free: 10 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00534/5.62, allocations: 1.394 MB / 0.7066 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001781/5.62, allocations: 8.031 kB / 0.7066 GB, free: 8.48 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/5.621, allocations: 0 / 0.7066 GB, free: 8.48 MB / 0.5886 GB Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: m_flow:VARIABLE(unit = "kg/s" ) "Mass flow rate" type: Real 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001706/5.621, allocations: 105 kB / 0.7067 GB, free: 8.371 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.337e-05/5.621, allocations: 11.84 kB / 0.7067 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.403e-05/5.621, allocations: 3.312 kB / 0.7067 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/5.621, allocations: 64 / 0.7067 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/5.621, allocations: 4 kB / 0.7067 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/5.621, allocations: 0 / 0.7067 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/5.621, allocations: 138.1 kB / 0.7068 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/5.621, allocations: 0 / 0.7068 GB, free: 8.184 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003171/5.624, allocations: 155.8 kB / 0.707 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/5.624, allocations: 0 / 0.707 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/5.624, allocations: 0 / 0.707 GB, free: 8.031 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005352/5.63, allocations: 1.398 MB / 0.7083 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/5.63, allocations: 0 / 0.7083 GB, free: 6.52 MB / 0.5886 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0001668/5.63, allocations: 69.06 kB / 0.7084 GB, free: 6.434 MB / 0.5886 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0002972/5.63, allocations: 445.7 kB / 0.7088 GB, free: 5.977 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.21e-05/5.63, allocations: 81.02 kB / 0.7089 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.833e-05/5.63, allocations: 0 / 0.7089 GB, free: 5.879 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/5.63, allocations: 11.98 kB / 0.7089 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.227e-05/5.63, allocations: 0 / 0.7089 GB, free: 5.867 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/5.63, allocations: 4 kB / 0.7089 GB, free: 5.863 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4.915e-05/5.631, allocations: 79.22 kB / 0.709 GB, free: 5.785 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001403/5.632, allocations: 12 kB / 0.709 GB, free: 5.773 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): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002186/5.632, allocations: 110.6 kB / 0.7091 GB, free: 5.656 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.004199/5.636, allocations: 203.8 kB / 0.7093 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/5.636, allocations: 0 / 0.7093 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.004241/5.641, allocations: 207.8 kB / 0.7095 GB, free: 5.254 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001759/5.641, allocations: 7.906 kB / 0.7095 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/5.643, allocations: 175.9 kB / 0.7097 GB, free: 5.051 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/5.644, allocations: 0.6879 MB / 0.7103 GB, free: 4.336 MB / 0.5886 GB Notification: Performance of SimCode: time 1.262e-06/5.644, allocations: 0 / 0.7103 GB, free: 4.336 MB / 0.5886 GB