Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_overall",fmuType="cs",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(ModelicaTest): time 2.596/2.596, allocations: 235.1 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1768/2.773, allocations: 57.22 MB / 299.3 MB, free: 428 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/3.065, allocations: 54.85 MB / 354.1 MB, free: 13.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4406/3.505, allocations: 93.36 MB / 447.5 MB, free: 32.54 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003516/3.506, allocations: 96.61 kB / 447.6 MB, free: 32.54 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.1246/3.63, allocations: 24.29 MB / 471.8 MB, free: 30.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/3.63, allocations: 11.72 kB / 471.9 MB, free: 30.13 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/3.631, allocations: 54.78 kB / 471.9 MB, free: 30.1 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006393/3.631, allocations: 314.8 kB / 472.2 MB, free: 29.86 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/3.631, allocations: 15.53 kB / 472.2 MB, free: 29.86 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.614e-05/3.631, allocations: 31.22 kB / 472.3 MB, free: 29.86 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001231/3.633, allocations: 479.1 kB / 472.7 MB, free: 29.85 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001632/3.634, allocations: 0.6687 MB / 473.4 MB, free: 29.77 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.79e-05/3.634, allocations: 0 / 473.4 MB, free: 29.77 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.468e-05/3.635, allocations: 0 / 473.4 MB, free: 29.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-05/3.635, allocations: 34.3 kB / 473.4 MB, free: 29.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005795/3.64, allocations: 1.533 MB / 475 MB, free: 29.15 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001267/3.642, allocations: 273.6 kB / 475.2 MB, free: 29.07 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/3.642, allocations: 136.4 kB / 475.4 MB, free: 29.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001154/3.643, allocations: 18.45 kB / 475.4 MB, free: 29.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/3.643, allocations: 38.47 kB / 475.4 MB, free: 29 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 6.422e-06/3.643, allocations: 0 / 475.4 MB, free: 29 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.002024/3.645, allocations: 311.8 kB / 475.7 MB, free: 28.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/3.645, allocations: 106.7 kB / 475.8 MB, free: 28.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008628/3.646, allocations: 302.4 kB / 476.1 MB, free: 28.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001246/3.646, allocations: 29.33 kB / 476.2 MB, free: 28.67 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002377/3.646, allocations: 299.7 kB / 476.4 MB, free: 28.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/3.646, allocations: 65.28 kB / 476.5 MB, free: 28.42 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.099e-05/3.646, allocations: 0 / 476.5 MB, free: 28.42 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/3.646, allocations: 345.6 kB / 476.9 MB, free: 28.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006439/3.647, allocations: 164.2 kB / 477 MB, free: 28.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009401/3.648, allocations: 429.6 kB / 477.4 MB, free: 27.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009215/3.649, allocations: 241.8 kB / 477.7 MB, free: 27.73 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.434e-05/3.649, allocations: 3.906 kB / 477.7 MB, free: 27.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002549/3.652, allocations: 0.5717 MB / 478.2 MB, free: 27.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.109e-05/3.652, allocations: 3.875 kB / 478.2 MB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002436/3.652, allocations: 52.2 kB / 478.3 MB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.616e-05/3.652, allocations: 11.69 kB / 478.3 MB, free: 27.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009823/3.653, allocations: 88.25 kB / 478.4 MB, free: 27.62 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.045e-05/3.653, allocations: 21.22 kB / 478.4 MB, free: 27.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/3.654, allocations: 57.69 kB / 478.5 MB, free: 27.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/3.655, allocations: 36.56 kB / 478.5 MB, free: 27.59 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.0002938/3.655, allocations: 141 kB / 478.6 MB, free: 27.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002433/3.655, allocations: 31.31 kB / 478.7 MB, free: 27.44 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002742/3.658, allocations: 0.5112 MB / 479.2 MB, free: 27.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-05/3.658, allocations: 3.812 kB / 479.2 MB, free: 27.32 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.628e-06/3.658, allocations: 0 / 479.2 MB, free: 27.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/3.658, allocations: 2.016 kB / 479.2 MB, free: 27.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001361/3.66, allocations: 365.1 kB / 479.5 MB, free: 27.16 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001993/3.66, allocations: 40.94 kB / 479.6 MB, free: 27.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005257/3.66, allocations: 38.22 kB / 479.6 MB, free: 27.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/3.66, allocations: 0 / 479.6 MB, free: 27.15 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.737e-05/3.66, allocations: 22.81 kB / 479.6 MB, free: 27.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/3.66, allocations: 3.984 kB / 479.7 MB, free: 27.14 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/3.66, allocations: 3.984 kB / 479.7 MB, free: 27.14 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001432/3.662, allocations: 0.5669 MB / 480.2 MB, free: 26.81 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001736/3.664, allocations: 0.965 MB / 481.2 MB, free: 26.1 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002097/3.664, allocations: 106.2 kB / 481.3 MB, free: 25.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002066/3.664, allocations: 0 / 481.3 MB, free: 25.99 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001137/3.665, allocations: 30.84 kB / 481.3 MB, free: 25.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002203/3.666, allocations: 22.52 kB / 481.3 MB, free: 25.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.616e-05/3.666, allocations: 13.77 kB / 481.4 MB, free: 25.98 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.000445/3.666, allocations: 214 kB / 481.6 MB, free: 25.91 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003748/3.67, allocations: 226.7 kB / 481.8 MB, free: 25.85 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.001093/3.671, allocations: 291.9 kB / 482.1 MB, free: 25.71 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001746/3.673, allocations: 0.6771 MB / 482.7 MB, free: 25.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/3.673, allocations: 0 / 482.7 MB, free: 25.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007788/3.674, allocations: 461.7 kB / 483.2 MB, free: 24.94 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009169/3.675, allocations: 35.78 kB / 483.2 MB, free: 24.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00406/3.679, allocations: 0.7123 MB / 483.9 MB, free: 24.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009205/3.68, allocations: 0.943 MB / 484.9 MB, free: 24.01 MB / 378.7 MB Notification: Performance of SimCode: time 1.764e-06/3.68, allocations: 0 / 484.9 MB, free: 24.01 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_res.mat does not exist to compare? outputFormat=mat