Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar",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.324/2.324, allocations: 235 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1895/2.513, allocations: 57.22 MB / 299.2 MB, free: 452 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3277/2.841, allocations: 54.85 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1764/3.017, allocations: 87.93 MB / 441.9 MB, free: 5.395 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00037/3.018, allocations: 95.88 kB / 442 MB, free: 5.301 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.2379/3.256, allocations: 12.47 MB / 454.5 MB, free: 86.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/3.256, allocations: 8.781 kB / 454.5 MB, free: 86.11 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001382/3.256, allocations: 50.25 kB / 454.5 MB, free: 86.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005557/3.257, allocations: 289.9 kB / 454.8 MB, free: 85.83 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.026e-05/3.257, allocations: 15.25 kB / 454.8 MB, free: 85.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.788e-05/3.257, allocations: 29.5 kB / 454.9 MB, free: 85.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001061/3.258, allocations: 401.8 kB / 455.3 MB, free: 85.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001672/3.259, allocations: 0.575 MB / 455.8 MB, free: 85.54 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/3.26, allocations: 1.703 kB / 455.8 MB, free: 85.54 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.964e-05/3.26, allocations: 4 kB / 455.8 MB, free: 85.53 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.172e-05/3.26, allocations: 24.64 kB / 455.9 MB, free: 85.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003485/3.263, allocations: 1.378 MB / 457.2 MB, free: 84.78 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008038/3.264, allocations: 280.8 kB / 457.5 MB, free: 84.67 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003811/3.264, allocations: 126.8 kB / 457.6 MB, free: 84.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.711e-05/3.265, allocations: 16.27 kB / 457.7 MB, free: 84.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.401e-05/3.265, allocations: 44.39 kB / 457.7 MB, free: 84.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 3.276e-06/3.265, allocations: 0 / 457.7 MB, free: 84.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001188/3.266, allocations: 298.6 kB / 458 MB, free: 84.51 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/3.266, allocations: 107.4 kB / 458.1 MB, free: 84.39 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004427/3.266, allocations: 222.1 kB / 458.3 MB, free: 84.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.717e-05/3.266, allocations: 25.7 kB / 458.3 MB, free: 84.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001385/3.267, allocations: 238.3 kB / 458.6 MB, free: 84.03 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.726e-05/3.267, allocations: 69.5 kB / 458.6 MB, free: 83.98 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.337e-05/3.267, allocations: 1.375 kB / 458.6 MB, free: 83.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.611e-05/3.267, allocations: 330.9 kB / 459 MB, free: 83.66 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/3.267, allocations: 130.5 kB / 459.1 MB, free: 83.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006861/3.268, allocations: 245.8 kB / 459.3 MB, free: 83.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007626/3.269, allocations: 171.9 kB / 459.5 MB, free: 83.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.842e-06/3.269, allocations: 1.281 kB / 459.5 MB, free: 83.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001361/3.27, allocations: 417.7 kB / 459.9 MB, free: 83.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/3.27, allocations: 6.031 kB / 459.9 MB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001464/3.27, allocations: 37.22 kB / 460 MB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.158e-05/3.27, allocations: 7.188 kB / 460 MB, free: 83.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004969/3.271, allocations: 51.34 kB / 460 MB, free: 83.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/3.271, allocations: 8.125 kB / 460 MB, free: 83.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/3.272, allocations: 56.92 kB / 460.1 MB, free: 83.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.452e-05/3.272, allocations: 19.25 kB / 460.1 MB, free: 83.3 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 21 * 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.0002286/3.272, allocations: 124.6 kB / 460.2 MB, free: 83.18 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/3.272, allocations: 22.95 kB / 460.2 MB, free: 83.17 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001719/3.274, allocations: 472.3 kB / 460.7 MB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/3.274, allocations: 4.406 kB / 460.7 MB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.547e-06/3.274, allocations: 5.141 kB / 460.7 MB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/3.274, allocations: 2.109 kB / 460.7 MB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001084/3.275, allocations: 355.3 kB / 461.1 MB, free: 82.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002072/3.275, allocations: 34.31 kB / 461.1 MB, free: 82.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005522/3.276, allocations: 39.12 kB / 461.1 MB, free: 82.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.2e-05/3.276, allocations: 5.094 kB / 461.1 MB, free: 82.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.363e-05/3.276, allocations: 15.64 kB / 461.1 MB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.653e-06/3.276, allocations: 1.281 kB / 461.2 MB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/3.276, allocations: 1.969 kB / 461.2 MB, free: 82.75 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001154/3.277, allocations: 0.565 MB / 461.7 MB, free: 82.34 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001069/3.278, allocations: 0.948 MB / 462.7 MB, free: 81.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/3.278, allocations: 100.4 kB / 462.8 MB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.106e-05/3.279, allocations: 5.641 kB / 462.8 MB, free: 81.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005407/3.279, allocations: 24.89 kB / 462.8 MB, free: 81.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/3.279, allocations: 19.12 kB / 462.8 MB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.366e-05/3.279, allocations: 13.75 kB / 462.8 MB, free: 81.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0003814/3.28, allocations: 170.4 kB / 463 MB, free: 81.29 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002183/3.282, allocations: 160.9 kB / 463.1 MB, free: 81.25 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.0006426/3.283, allocations: 216.3 kB / 463.4 MB, free: 81.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001608/3.284, allocations: 0.6031 MB / 464 MB, free: 80.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.827e-06/3.284, allocations: 0 / 464 MB, free: 80.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009212/3.285, allocations: 460.6 kB / 464.4 MB, free: 80.21 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/3.286, allocations: 36.8 kB / 464.4 MB, free: 80.19 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004074/3.29, allocations: 0.6295 MB / 465.1 MB, free: 79.53 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009203/3.291, allocations: 0.8993 MB / 466 MB, free: 78.61 MB / 378.7 MB Notification: Performance of SimCode: time 2.485e-06/3.292, allocations: 0 / 466 MB, free: 78.61 MB / 378.7 MB