Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_roundTube_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.175/2.175, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2426/2.418, allocations: 51.06 MB / 267.3 MB, free: 5.125 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1115/2.529, allocations: 48.69 MB / 316 MB, free: 4.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3437/2.873, allocations: 86.51 MB / 402.5 MB, free: 6.188 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000382/2.873, allocations: 103.7 kB / 402.6 MB, free: 6.125 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0569/2.93, allocations: 11.29 MB / 413.9 MB, free: 12.83 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.752e-05/2.931, allocations: 12 kB / 413.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/2.931, allocations: 43.52 kB / 414 MB, free: 12.78 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004416/2.931, allocations: 242.1 kB / 414.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.924e-05/2.931, allocations: 12 kB / 414.2 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.393e-05/2.931, allocations: 20 kB / 414.2 MB, free: 12.48 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005554/2.932, allocations: 234 kB / 414.5 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008156/2.933, allocations: 0.5011 MB / 415 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/2.933, allocations: 7.938 kB / 415 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/2.933, allocations: 8 kB / 415 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.857e-05/2.933, allocations: 8 kB / 415 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004772/2.938, allocations: 3.936 MB / 418.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008147/2.938, allocations: 84.86 kB / 419 MB, free: 7.68 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002051/2.939, allocations: 32.33 kB / 419 MB, free: 7.652 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.611e-05/2.939, allocations: 7.891 kB / 419 MB, free: 7.645 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.76e-05/2.939, allocations: 38.55 kB / 419.1 MB, free: 7.598 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 4.809e-06/2.939, allocations: 0 / 419.1 MB, free: 7.598 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006738/2.94, allocations: 87.84 kB / 419.2 MB, free: 7.512 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/2.94, allocations: 55.41 kB / 419.2 MB, free: 7.445 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005779/2.94, allocations: 224.7 kB / 419.4 MB, free: 7.258 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/2.94, allocations: 25.7 kB / 419.5 MB, free: 7.227 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003522/2.941, allocations: 261.9 kB / 419.7 MB, free: 6.988 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.561e-05/2.941, allocations: 27.02 kB / 419.8 MB, free: 6.965 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/2.941, allocations: 0 / 419.8 MB, free: 6.965 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002353/2.941, allocations: 336.5 kB / 420.1 MB, free: 6.637 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000273/2.941, allocations: 39.7 kB / 420.1 MB, free: 6.605 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005842/2.942, allocations: 238 kB / 420.3 MB, free: 6.289 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004127/2.942, allocations: 77.33 kB / 420.4 MB, free: 6.227 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/2.942, allocations: 3.938 kB / 420.4 MB, free: 6.223 MB / 346.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.001315/2.944, allocations: 261.6 kB / 420.7 MB, free: 5.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.763e-05/2.944, allocations: 4 kB / 420.7 MB, free: 5.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/2.944, allocations: 8 kB / 420.7 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.57e-05/2.944, allocations: 12 kB / 420.7 MB, free: 5.957 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/2.945, allocations: 111 kB / 420.8 MB, free: 5.852 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/2.947, allocations: 1.224 MB / 422 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007415/2.948, allocations: 39.59 kB / 422.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.548e-05/2.948, allocations: 23.98 kB / 422.1 MB, free: 4.539 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002297/2.948, allocations: 132.1 kB / 422.2 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/2.948, allocations: 23.62 kB / 422.3 MB, free: 4.383 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008585/2.949, allocations: 149.2 kB / 422.4 MB, free: 4.242 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.348e-06/2.949, allocations: 4 kB / 422.4 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/2.949, allocations: 0 / 422.4 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/2.949, allocations: 0 / 422.4 MB, free: 4.238 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000636/2.95, allocations: 245.3 kB / 422.6 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/2.95, allocations: 0 / 422.6 MB, free: 3.992 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008045/2.951, allocations: 55.91 kB / 422.7 MB, free: 3.938 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/2.951, allocations: 4 kB / 422.7 MB, free: 3.934 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.979e-05/2.951, allocations: 3.984 kB / 422.7 MB, free: 3.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/2.952, allocations: 1.213 MB / 423.9 MB, free: 2.688 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.572e-06/2.952, allocations: 4.422 kB / 423.9 MB, free: 2.684 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005193/2.953, allocations: 206 kB / 424.1 MB, free: 2.477 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007056/2.953, allocations: 0.5673 MB / 424.7 MB, free: 1.902 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001464/2.954, allocations: 96.83 kB / 424.8 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.761e-05/2.954, allocations: 0 / 424.8 MB, free: 1.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/2.954, allocations: 15.98 kB / 424.8 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.122e-05/2.954, allocations: 0 / 424.8 MB, free: 1.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/2.954, allocations: 11.42 kB / 424.8 MB, free: 1.766 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0003184/2.955, allocations: 164.7 kB / 425 MB, free: 1.629 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002804/2.957, allocations: 145.5 kB / 425.1 MB, free: 1.5 MB / 346.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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00114/2.959, allocations: 250.3 kB / 425.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001403/2.96, allocations: 166.5 kB / 425.5 MB, free: 1.105 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.288e-06/2.96, allocations: 4.562 kB / 425.5 MB, free: 1.102 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007726/2.961, allocations: 63.59 kB / 425.6 MB, free: 1.043 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/2.961, allocations: 23.52 kB / 425.6 MB, free: 1.027 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001454/2.963, allocations: 285.6 kB / 425.9 MB, free: 0.7461 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007685/2.964, allocations: 0.798 MB / 426.7 MB, free: 15.92 MB / 362.7 MB Notification: Performance of SimCode: time 1.462e-06/2.964, allocations: 0 / 426.7 MB, free: 15.92 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC_res.mat does not exist to compare? outputFormat=mat