Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.677/2.677, allocations: 235 MB / 242 MB, free: 9.75 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2336/2.911, allocations: 57.22 MB / 299.2 MB, free: 416 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3198/3.231, allocations: 54.85 MB / 354.1 MB, free: 13.39 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1967/3.427, allocations: 88.63 MB / 442.7 MB, free: 4.637 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0007119/3.428, allocations: 103.9 kB / 442.8 MB, free: 4.535 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.3018/3.73, allocations: 7.846 MB / 450.7 MB, free: 86.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/3.73, allocations: 6.406 kB / 450.7 MB, free: 86.54 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.804e-05/3.73, allocations: 22.84 kB / 450.7 MB, free: 86.53 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/3.73, allocations: 208.5 kB / 450.9 MB, free: 86.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.339e-05/3.73, allocations: 7.281 kB / 450.9 MB, free: 86.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.32e-05/3.73, allocations: 15.72 kB / 450.9 MB, free: 86.31 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003338/3.731, allocations: 113.4 kB / 451 MB, free: 86.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003753/3.731, allocations: 161.9 kB / 451.2 MB, free: 86.28 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/3.731, allocations: 0 / 451.2 MB, free: 86.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/3.731, allocations: 0 / 451.2 MB, free: 86.28 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.399e-05/3.731, allocations: 4.875 kB / 451.2 MB, free: 86.28 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/3.733, allocations: 0.5154 MB / 451.7 MB, free: 86.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001919/3.733, allocations: 55.22 kB / 451.8 MB, free: 85.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.699e-05/3.733, allocations: 19.64 kB / 451.8 MB, free: 85.97 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.329e-05/3.733, allocations: 0 / 451.8 MB, free: 85.97 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.436e-05/3.733, allocations: 31.69 kB / 451.8 MB, free: 85.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 3.136e-06/3.733, allocations: 3 kB / 451.8 MB, free: 85.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003795/3.734, allocations: 84.2 kB / 451.9 MB, free: 85.89 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/3.734, allocations: 51.41 kB / 451.9 MB, free: 85.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000221/3.734, allocations: 156.6 kB / 452.1 MB, free: 85.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/3.734, allocations: 29.7 kB / 452.1 MB, free: 85.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.628e-05/3.734, allocations: 171 kB / 452.3 MB, free: 85.55 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.77e-05/3.734, allocations: 11.06 kB / 452.3 MB, free: 85.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.225e-05/3.734, allocations: 3.906 kB / 452.3 MB, free: 85.55 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.318e-05/3.734, allocations: 323.9 kB / 452.6 MB, free: 85.23 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/3.734, allocations: 28.91 kB / 452.7 MB, free: 85.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001619/3.734, allocations: 116.1 kB / 452.8 MB, free: 85.1 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/3.735, allocations: 42.84 kB / 452.8 MB, free: 85.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/3.735, allocations: 0 / 452.8 MB, free: 85.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004583/3.735, allocations: 152.9 kB / 453 MB, free: 85.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/3.735, allocations: 3.438 kB / 453 MB, free: 85.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-05/3.735, allocations: 14.48 kB / 453 MB, free: 85.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.544e-05/3.735, allocations: 3.938 kB / 453 MB, free: 85.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/3.736, allocations: 36.38 kB / 453 MB, free: 85.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/3.736, allocations: 10.86 kB / 453 MB, free: 85.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004206/3.736, allocations: 19.84 kB / 453 MB, free: 85.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.433e-05/3.736, allocations: 12.33 kB / 453.1 MB, free: 85.02 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.00015/3.736, allocations: 113.8 kB / 453.2 MB, free: 84.91 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001237/3.736, allocations: 15.81 kB / 453.2 MB, free: 84.9 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009477/3.737, allocations: 128.9 kB / 453.3 MB, free: 84.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.109e-05/3.737, allocations: 3.938 kB / 453.3 MB, free: 84.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/3.738, allocations: 3.141 kB / 453.3 MB, free: 84.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/3.738, allocations: 0 / 453.3 MB, free: 84.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000614/3.738, allocations: 190.9 kB / 453.5 MB, free: 84.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.458e-05/3.738, allocations: 11.25 kB / 453.5 MB, free: 84.67 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002229/3.739, allocations: 19.12 kB / 453.5 MB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/3.739, allocations: 0 / 453.5 MB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/3.739, allocations: 3.906 kB / 453.5 MB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.722e-06/3.739, allocations: 3.906 kB / 453.5 MB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/3.739, allocations: 0 / 453.5 MB, free: 84.66 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004744/3.739, allocations: 175.7 kB / 453.7 MB, free: 84.52 MB / 378.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0004861/3.74, allocations: 0.5453 MB / 454.3 MB, free: 84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.916e-05/3.74, allocations: 92.02 kB / 454.3 MB, free: 83.9 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.538e-05/3.74, allocations: 0 / 454.3 MB, free: 83.9 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003977/3.74, allocations: 3.969 kB / 454.3 MB, free: 83.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.284e-05/3.74, allocations: 13.06 kB / 454.4 MB, free: 83.9 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.977e-05/3.74, allocations: 3.906 kB / 454.4 MB, free: 83.9 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0002166/3.741, allocations: 128.7 kB / 454.5 MB, free: 83.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00368/3.744, allocations: 91.38 kB / 454.6 MB, free: 83.79 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.001134/3.746, allocations: 207.6 kB / 454.8 MB, free: 83.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009318/3.747, allocations: 146.1 kB / 454.9 MB, free: 83.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/3.747, allocations: 3.938 kB / 454.9 MB, free: 83.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003646/3.747, allocations: 90.44 kB / 455 MB, free: 83.52 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004671/3.748, allocations: 7.938 kB / 455 MB, free: 83.52 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001425/3.749, allocations: 199.9 kB / 455.2 MB, free: 83.4 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004691/3.75, allocations: 0.7482 MB / 456 MB, free: 82.7 MB / 378.7 MB Notification: Performance of SimCode: time 1.713e-06/3.75, allocations: 0 / 456 MB, free: 82.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_res.mat does not exist to compare? outputFormat=mat