Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) [: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(ModelicaTest): time 2.417/2.417, allocations: 234.9 MB / 241.9 MB, free: 9.758 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2335/2.651, allocations: 57.24 MB / 299.2 MB, free: 420 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2902/2.941, allocations: 54.84 MB / 354 MB, free: 13.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4394/3.38, allocations: 93.36 MB / 447.4 MB, free: 32.52 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000361/3.381, allocations: 97.42 kB / 447.5 MB, free: 32.52 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.09732/3.478, allocations: 24.29 MB / 471.7 MB, free: 30.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.347e-05/3.478, allocations: 11.72 kB / 471.8 MB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000164/3.478, allocations: 57.39 kB / 471.8 MB, free: 30.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005367/3.479, allocations: 309.6 kB / 472.1 MB, free: 29.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.818e-05/3.479, allocations: 15.41 kB / 472.1 MB, free: 29.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.813e-05/3.479, allocations: 35.25 kB / 472.2 MB, free: 29.84 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001097/3.48, allocations: 476.9 kB / 472.6 MB, free: 29.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001423/3.482, allocations: 0.6685 MB / 473.3 MB, free: 29.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/3.482, allocations: 0 / 473.3 MB, free: 29.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.703e-05/3.482, allocations: 5.969 kB / 473.3 MB, free: 29.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.055e-05/3.482, allocations: 26.58 kB / 473.3 MB, free: 29.74 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003378/3.485, allocations: 1.533 MB / 474.9 MB, free: 29.13 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006461/3.486, allocations: 278.5 kB / 475.1 MB, free: 29.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/3.486, allocations: 130.2 kB / 475.3 MB, free: 29.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.628e-05/3.486, allocations: 13.25 kB / 475.3 MB, free: 29.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.267e-05/3.486, allocations: 34.47 kB / 475.3 MB, free: 28.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 4.659e-06/3.486, allocations: 7.938 kB / 475.3 MB, free: 28.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001038/3.488, allocations: 311.2 kB / 475.6 MB, free: 28.93 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.333e-05/3.488, allocations: 106.7 kB / 475.7 MB, free: 28.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000443/3.488, allocations: 307.6 kB / 476 MB, free: 28.68 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/3.488, allocations: 29.64 kB / 476.1 MB, free: 28.65 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001427/3.488, allocations: 291.1 kB / 476.3 MB, free: 28.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.841e-05/3.488, allocations: 69.7 kB / 476.4 MB, free: 28.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/3.488, allocations: 4.062 kB / 476.4 MB, free: 28.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.05e-05/3.489, allocations: 343.3 kB / 476.7 MB, free: 28.08 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000441/3.489, allocations: 164.3 kB / 476.9 MB, free: 28.08 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005362/3.49, allocations: 426.6 kB / 477.3 MB, free: 27.73 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000568/3.49, allocations: 248.3 kB / 477.6 MB, free: 27.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/3.49, allocations: 6.156 kB / 477.6 MB, free: 27.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001461/3.492, allocations: 0.5727 MB / 478.1 MB, free: 27.61 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/3.492, allocations: 3.906 kB / 478.2 MB, free: 27.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001579/3.492, allocations: 51.12 kB / 478.2 MB, free: 27.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.28e-05/3.492, allocations: 11.66 kB / 478.2 MB, free: 27.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005343/3.492, allocations: 80.19 kB / 478.3 MB, free: 27.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.805e-05/3.492, allocations: 21.81 kB / 478.3 MB, free: 27.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007182/3.493, allocations: 58.11 kB / 478.4 MB, free: 27.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.017e-05/3.493, allocations: 36.7 kB / 478.4 MB, free: 27.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0001742/3.493, allocations: 145.9 kB / 478.5 MB, free: 27.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001411/3.494, allocations: 31.28 kB / 478.6 MB, free: 27.42 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/3.495, allocations: 0.5116 MB / 479.1 MB, free: 27.29 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/3.495, allocations: 3.906 kB / 479.1 MB, free: 27.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/3.495, allocations: 0 / 479.1 MB, free: 27.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.633e-06/3.495, allocations: 1.875 kB / 479.1 MB, free: 27.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008423/3.496, allocations: 367.7 kB / 479.5 MB, free: 27.13 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001212/3.496, allocations: 41.33 kB / 479.5 MB, free: 27.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003293/3.497, allocations: 37.19 kB / 479.5 MB, free: 27.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.073e-06/3.497, allocations: 0 / 479.5 MB, free: 27.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.809e-05/3.497, allocations: 19.33 kB / 479.5 MB, free: 27.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/3.497, allocations: 0 / 479.5 MB, free: 27.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/3.497, allocations: 0 / 479.5 MB, free: 27.12 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009661/3.498, allocations: 0.5723 MB / 480.1 MB, free: 26.79 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001007/3.499, allocations: 0.9559 MB / 481.1 MB, free: 26.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/3.499, allocations: 106.6 kB / 481.2 MB, free: 25.97 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/3.499, allocations: 0 / 481.2 MB, free: 25.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001531/3.501, allocations: 29.42 kB / 481.2 MB, free: 25.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/3.501, allocations: 23.36 kB / 481.2 MB, free: 25.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.253e-05/3.501, allocations: 13.61 kB / 481.2 MB, free: 25.97 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003142/3.501, allocations: 213.7 kB / 481.5 MB, free: 25.89 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002213/3.503, allocations: 225.5 kB / 481.7 MB, free: 25.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.000741/3.504, allocations: 286.7 kB / 482 MB, free: 25.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001255/3.506, allocations: 0.6954 MB / 482.7 MB, free: 25.29 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/3.506, allocations: 0 / 482.7 MB, free: 25.29 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005334/3.506, allocations: 456 kB / 483.1 MB, free: 24.92 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006099/3.507, allocations: 30.61 kB / 483.1 MB, free: 24.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002792/3.51, allocations: 0.7164 MB / 483.8 MB, free: 24.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000594/3.51, allocations: 0.9398 MB / 484.8 MB, free: 24 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/3.51, allocations: 0 / 484.8 MB, free: 24 MB / 378.7 MB