Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_KC",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.581/2.581, allocations: 235.1 MB / 242 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2054/2.786, allocations: 57.22 MB / 299.2 MB, free: 424 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3378/3.124, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1903/3.314, allocations: 86.62 MB / 440.7 MB, free: 6.656 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004315/3.315, allocations: 95.88 kB / 440.8 MB, free: 6.562 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.2208/3.536, allocations: 6.847 MB / 447.7 MB, free: 131.8 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/3.536, allocations: 6.344 kB / 447.7 MB, free: 131.8 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001018/3.536, allocations: 29.06 kB / 447.7 MB, free: 131.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002976/3.536, allocations: 215 kB / 447.9 MB, free: 131.6 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/3.536, allocations: 9.125 kB / 447.9 MB, free: 131.6 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.129e-05/3.536, allocations: 12.41 kB / 447.9 MB, free: 131.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000514/3.537, allocations: 213.7 kB / 448.1 MB, free: 131.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004312/3.537, allocations: 182.3 kB / 448.3 MB, free: 131.6 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.643e-05/3.537, allocations: 0 / 448.3 MB, free: 131.6 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.868e-05/3.537, allocations: 0 / 448.3 MB, free: 131.6 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.246e-05/3.537, allocations: 9.406 kB / 448.3 MB, free: 131.6 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0016/3.539, allocations: 0.5596 MB / 448.9 MB, free: 131.3 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005107/3.539, allocations: 95.77 kB / 449 MB, free: 131.3 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/3.54, allocations: 28.67 kB / 449 MB, free: 131.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.711e-05/3.54, allocations: 2.906 kB / 449 MB, free: 131.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.175e-05/3.54, allocations: 37.58 kB / 449 MB, free: 131.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.985e-06/3.54, allocations: 3.438 kB / 449 MB, free: 131.2 MB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004304/3.54, allocations: 97.27 kB / 449.1 MB, free: 131.2 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.742e-05/3.54, allocations: 51.97 kB / 449.2 MB, free: 131.1 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002176/3.54, allocations: 166.1 kB / 449.3 MB, free: 131 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/3.54, allocations: 25.7 kB / 449.4 MB, free: 131 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.016e-05/3.54, allocations: 172 kB / 449.5 MB, free: 130.9 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.736e-05/3.541, allocations: 33.06 kB / 449.6 MB, free: 130.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.775e-05/3.541, allocations: 3.812 kB / 449.6 MB, free: 130.8 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.946e-05/3.541, allocations: 324.6 kB / 449.9 MB, free: 130.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001335/3.541, allocations: 34.31 kB / 449.9 MB, free: 130.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000189/3.541, allocations: 128.1 kB / 450.1 MB, free: 130.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/3.541, allocations: 55.91 kB / 450.1 MB, free: 130.4 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/3.541, allocations: 0 / 450.1 MB, free: 130.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006864/3.542, allocations: 177.4 kB / 450.3 MB, free: 130.4 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/3.542, allocations: 3.938 kB / 450.3 MB, free: 130.4 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/3.542, allocations: 3.938 kB / 450.3 MB, free: 130.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/3.542, allocations: 3.875 kB / 450.3 MB, free: 130.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/3.543, allocations: 87.5 kB / 450.4 MB, free: 130.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009129/3.544, allocations: 1.233 MB / 451.6 MB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004065/3.544, allocations: 29.92 kB / 451.6 MB, free: 129.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.179e-05/3.544, allocations: 10.91 kB / 451.7 MB, free: 129.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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.0001117/3.544, allocations: 112.7 kB / 451.8 MB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.417e-05/3.544, allocations: 19.16 kB / 451.8 MB, free: 129.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006047/3.545, allocations: 152.2 kB / 451.9 MB, free: 129 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/3.545, allocations: 3 kB / 451.9 MB, free: 129 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/3.545, allocations: 0 / 451.9 MB, free: 129 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/3.545, allocations: 0 / 451.9 MB, free: 129 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007198/3.546, allocations: 399.4 kB / 452.3 MB, free: 128.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/3.546, allocations: 0 / 452.3 MB, free: 128.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/3.546, allocations: 60.12 kB / 452.4 MB, free: 128.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/3.547, allocations: 0 / 452.4 MB, free: 128.7 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.158e-05/3.547, allocations: 2.688 kB / 452.4 MB, free: 128.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008084/3.547, allocations: 1.22 MB / 453.6 MB, free: 127.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.149e-06/3.547, allocations: 6.219 kB / 453.6 MB, free: 127.6 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003716/3.548, allocations: 241.2 kB / 453.8 MB, free: 127.4 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004157/3.548, allocations: 0.6 MB / 454.4 MB, free: 126.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.012e-05/3.548, allocations: 95.67 kB / 454.5 MB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.523e-05/3.548, allocations: 3.625 kB / 454.5 MB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003284/3.549, allocations: 11.28 kB / 454.6 MB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.885e-05/3.549, allocations: 7.828 kB / 454.6 MB, free: 126.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.157e-05/3.549, allocations: 3.875 kB / 454.6 MB, free: 126.7 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001227/3.549, allocations: 129.8 kB / 454.7 MB, free: 126.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001562/3.551, allocations: 75.83 kB / 454.8 MB, free: 126.6 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 (9): * Single equations (assignments): 7 * 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.0004866/3.551, allocations: 184.6 kB / 454.9 MB, free: 126.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009083/3.552, allocations: 140.4 kB / 455.1 MB, free: 126.5 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/3.552, allocations: 0 / 455.1 MB, free: 126.5 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005277/3.553, allocations: 66.94 kB / 455.1 MB, free: 126.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/3.553, allocations: 19.38 kB / 455.2 MB, free: 126.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009355/3.554, allocations: 214.9 kB / 455.4 MB, free: 126.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003277/3.554, allocations: 0.7565 MB / 456.1 MB, free: 125.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.703e-06/3.554, allocations: 0 / 456.1 MB, free: 125.7 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.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat