Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube_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 1.972/1.972, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2704/2.243, allocations: 51.05 MB / 267.3 MB, free: 5.121 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/2.366, allocations: 48.69 MB / 316 MB, free: 4.336 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3317/2.698, allocations: 80.45 MB / 396.5 MB, free: 12.24 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003687/2.698, allocations: 98 kB / 396.6 MB, free: 12.18 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.03289/2.731, allocations: 6.857 MB / 403.4 MB, free: 6.512 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.681e-05/2.731, allocations: 8 kB / 403.4 MB, free: 6.504 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.407e-05/2.731, allocations: 23.72 kB / 403.4 MB, free: 6.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/2.732, allocations: 209.6 kB / 403.6 MB, free: 6.238 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/2.732, allocations: 12 kB / 403.7 MB, free: 6.227 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.062e-05/2.732, allocations: 12 kB / 403.7 MB, free: 6.215 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004965/2.732, allocations: 208.4 kB / 403.9 MB, free: 6.094 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/2.733, allocations: 185 kB / 404.1 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/2.733, allocations: 0 / 404.1 MB, free: 5.957 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/2.733, allocations: 3.906 kB / 404.1 MB, free: 5.953 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/2.733, allocations: 4 kB / 404.1 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001415/2.734, allocations: 0.5551 MB / 404.6 MB, free: 5.438 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/2.735, allocations: 101.3 kB / 404.7 MB, free: 5.344 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/2.735, allocations: 25.55 kB / 404.7 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.898e-05/2.735, allocations: 7.984 kB / 404.8 MB, free: 5.312 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/2.735, allocations: 41.58 kB / 404.8 MB, free: 5.266 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 2.425e-06/2.735, allocations: 0 / 404.8 MB, free: 5.266 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004024/2.735, allocations: 92.88 kB / 404.9 MB, free: 5.176 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/2.735, allocations: 55.41 kB / 404.9 MB, free: 5.109 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/2.736, allocations: 167.6 kB / 405.1 MB, free: 4.957 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.662e-05/2.736, allocations: 25.7 kB / 405.1 MB, free: 4.926 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/2.736, allocations: 173.7 kB / 405.3 MB, free: 4.766 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.63e-05/2.736, allocations: 27.06 kB / 405.3 MB, free: 4.742 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.433e-05/2.736, allocations: 0 / 405.3 MB, free: 4.742 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/2.736, allocations: 333.2 kB / 405.6 MB, free: 4.414 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/2.736, allocations: 35.31 kB / 405.7 MB, free: 4.387 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002101/2.736, allocations: 131.1 kB / 405.8 MB, free: 4.227 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001992/2.737, allocations: 54.91 kB / 405.9 MB, free: 4.184 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/2.737, allocations: 0 / 405.9 MB, free: 4.184 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005325/2.737, allocations: 175.9 kB / 406 MB, free: 4.023 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/2.737, allocations: 14.38 kB / 406 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/2.737, allocations: 4 kB / 406.1 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.985e-05/2.737, allocations: 4 kB / 406.1 MB, free: 4.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007515/2.738, allocations: 91.06 kB / 406.1 MB, free: 3.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/2.739, allocations: 1.227 MB / 407.4 MB, free: 2.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005147/2.74, allocations: 27.69 kB / 407.4 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.802e-05/2.74, allocations: 16.19 kB / 407.4 MB, free: 2.621 MB / 330.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.0001378/2.74, allocations: 116.3 kB / 407.5 MB, free: 2.504 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.744e-05/2.74, allocations: 15.81 kB / 407.5 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006087/2.741, allocations: 145 kB / 407.7 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.629e-06/2.741, allocations: 0 / 407.7 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/2.741, allocations: 4 kB / 407.7 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/2.741, allocations: 3.906 kB / 407.7 MB, free: 2.348 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007176/2.742, allocations: 386.7 kB / 408.1 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/2.742, allocations: 0 / 408.1 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006539/2.742, allocations: 59.91 kB / 408.1 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.196e-06/2.742, allocations: 160 / 408.1 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.598e-05/2.742, allocations: 19.92 kB / 408.1 MB, free: 1.871 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009677/2.743, allocations: 1.222 MB / 409.4 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/2.743, allocations: 192 / 409.4 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003815/2.744, allocations: 230.9 kB / 409.6 MB, free: 384 kB / 330.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0005764/2.744, allocations: 0.6103 MB / 410.2 MB, free: 15.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.335e-05/2.744, allocations: 92.86 kB / 410.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.856e-05/2.744, allocations: 0 / 410.3 MB, free: 15.64 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003719/2.745, allocations: 19.97 kB / 410.3 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.46e-05/2.745, allocations: 11.92 kB / 410.3 MB, free: 15.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.879e-05/2.745, allocations: 4 kB / 410.3 MB, free: 15.6 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001804/2.745, allocations: 124.4 kB / 410.5 MB, free: 15.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001773/2.747, allocations: 82.55 kB / 410.5 MB, free: 15.42 MB / 346.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.0004903/2.748, allocations: 175 kB / 410.7 MB, free: 15.24 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008293/2.748, allocations: 141.3 kB / 410.8 MB, free: 15.12 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/2.748, allocations: 0 / 410.8 MB, free: 15.12 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005212/2.749, allocations: 71.22 kB / 410.9 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/2.749, allocations: 15.3 kB / 410.9 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009072/2.75, allocations: 221.5 kB / 411.1 MB, free: 14.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005207/2.751, allocations: 0.7586 MB / 411.9 MB, free: 14.02 MB / 346.7 MB Notification: Performance of SimCode: time 1.422e-06/2.751, allocations: 0 / 411.9 MB, free: 14.02 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC_res.mat does not exist to compare? outputFormat=mat