Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall_KC",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.427/2.427, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1949/2.622, allocations: 57.22 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/2.907, allocations: 54.85 MB / 354 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2106/3.118, allocations: 92.71 MB / 446.7 MB, free: 0.5664 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005509/3.119, allocations: 99.92 kB / 446.8 MB, free: 480 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.2981/3.417, allocations: 23.64 MB / 470.5 MB, free: 75.63 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/3.417, allocations: 8 kB / 470.5 MB, free: 75.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001654/3.417, allocations: 55.25 kB / 470.5 MB, free: 75.57 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005202/3.418, allocations: 307.4 kB / 470.8 MB, free: 75.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.772e-05/3.418, allocations: 20 kB / 470.8 MB, free: 75.21 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.033e-05/3.418, allocations: 32 kB / 470.9 MB, free: 75.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001418/3.419, allocations: 0.7014 MB / 471.6 MB, free: 74.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/3.421, allocations: 0.6597 MB / 472.2 MB, free: 73.81 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.239e-05/3.421, allocations: 0 / 472.2 MB, free: 73.81 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.549e-05/3.421, allocations: 0 / 472.2 MB, free: 73.81 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.781e-05/3.421, allocations: 53.28 kB / 472.3 MB, free: 73.75 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003716/3.425, allocations: 1.397 MB / 473.7 MB, free: 72.31 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001211/3.426, allocations: 0.5491 MB / 474.2 MB, free: 71.75 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004054/3.426, allocations: 176.7 kB / 474.4 MB, free: 71.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.209e-05/3.426, allocations: 7.984 kB / 474.4 MB, free: 71.57 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/3.426, allocations: 42.56 kB / 474.4 MB, free: 71.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 3.677e-06/3.426, allocations: 0 / 474.4 MB, free: 71.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.001193/3.428, allocations: 433.4 kB / 474.9 MB, free: 71.09 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/3.428, allocations: 59.34 kB / 474.9 MB, free: 71.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003166/3.428, allocations: 256.7 kB / 475.2 MB, free: 70.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.882e-05/3.428, allocations: 25.7 kB / 475.2 MB, free: 70.73 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002406/3.428, allocations: 275.5 kB / 475.5 MB, free: 70.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001682/3.428, allocations: 130.2 kB / 475.6 MB, free: 70.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.184e-05/3.428, allocations: 0 / 475.6 MB, free: 70.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/3.429, allocations: 346.7 kB / 475.9 MB, free: 69.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005344/3.429, allocations: 201.2 kB / 476.1 MB, free: 69.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005923/3.43, allocations: 456.9 kB / 476.6 MB, free: 69.23 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/3.43, allocations: 291.4 kB / 476.9 MB, free: 68.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/3.43, allocations: 0 / 476.9 MB, free: 68.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001517/3.432, allocations: 0.6529 MB / 477.5 MB, free: 68.29 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/3.432, allocations: 7.938 kB / 477.5 MB, free: 68.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/3.432, allocations: 12 kB / 477.5 MB, free: 68.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.043e-05/3.432, allocations: 15.98 kB / 477.6 MB, free: 68.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002446/3.435, allocations: 252.3 kB / 477.8 MB, free: 68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00438/3.439, allocations: 7.407 MB / 485.2 MB, free: 60.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007659/3.44, allocations: 43.58 kB / 485.2 MB, free: 60.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.939e-05/3.44, allocations: 32.19 kB / 485.3 MB, free: 60.24 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 (73): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002303/3.44, allocations: 151.8 kB / 485.4 MB, free: 60.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.276e-05/3.44, allocations: 31.62 kB / 485.5 MB, free: 60.05 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001915/3.442, allocations: 0.6671 MB / 486.1 MB, free: 59.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/3.442, allocations: 8 kB / 486.1 MB, free: 59.37 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/3.442, allocations: 3.984 kB / 486.1 MB, free: 59.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/3.442, allocations: 0 / 486.1 MB, free: 59.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007769/3.443, allocations: 409.7 kB / 486.5 MB, free: 58.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/3.443, allocations: 0 / 486.5 MB, free: 58.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001976/3.445, allocations: 207.8 kB / 486.7 MB, free: 58.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.321e-05/3.445, allocations: 7.984 kB / 486.7 MB, free: 58.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/3.445, allocations: 8 kB / 486.8 MB, free: 58.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004501/3.45, allocations: 7.399 MB / 494.2 MB, free: 51.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.606e-06/3.45, allocations: 0 / 494.2 MB, free: 51.03 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001949/3.452, allocations: 0.5272 MB / 494.7 MB, free: 50.49 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002082/3.454, allocations: 0.9256 MB / 495.6 MB, free: 49.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001426/3.454, allocations: 108.7 kB / 495.7 MB, free: 49.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001553/3.454, allocations: 0 / 495.7 MB, free: 49.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008951/3.455, allocations: 15.92 kB / 495.7 MB, free: 49.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002897/3.455, allocations: 23.95 kB / 495.8 MB, free: 49.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000127/3.456, allocations: 23.98 kB / 495.8 MB, free: 49.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0004266/3.456, allocations: 181.2 kB / 496 MB, free: 49.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003952/3.46, allocations: 219.3 kB / 496.2 MB, free: 48.96 MB / 378.7 MB 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 (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001074/3.461, allocations: 268.4 kB / 496.4 MB, free: 48.69 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004936/3.466, allocations: 0.6613 MB / 497.1 MB, free: 48.03 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.021e-05/3.466, allocations: 0 / 497.1 MB, free: 48.03 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004028/3.47, allocations: 392.5 kB / 497.5 MB, free: 47.64 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/3.471, allocations: 20.5 kB / 497.5 MB, free: 47.62 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002732/3.474, allocations: 0.7314 MB / 498.2 MB, free: 46.86 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007828/3.475, allocations: 0.9712 MB / 499.2 MB, free: 45.86 MB / 378.7 MB Notification: Performance of SimCode: time 1.773e-06/3.475, allocations: 0 / 499.2 MB, free: 45.86 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC_res.mat does not exist to compare? outputFormat=mat