Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HeatExchanger_kc_flatTube",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.064/2.064, allocations: 209.3 MB / 216.3 MB, free: 6.863 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2145/2.279, allocations: 51.06 MB / 267.3 MB, free: 5.195 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/2.4, allocations: 48.69 MB / 316 MB, free: 4.414 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3601/2.76, allocations: 82.54 MB / 398.5 MB, free: 10.19 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003586/2.761, allocations: 99.98 kB / 398.6 MB, free: 10.12 MB / 330.8 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.04654/2.807, allocations: 7.851 MB / 406.5 MB, free: 3.738 MB / 330.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.984e-05/2.807, allocations: 8 kB / 406.5 MB, free: 3.73 MB / 330.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001498/2.808, allocations: 23.72 kB / 406.5 MB, free: 3.707 MB / 330.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/2.808, allocations: 217.7 kB / 406.7 MB, free: 3.461 MB / 330.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.352e-05/2.808, allocations: 4 kB / 406.7 MB, free: 3.457 MB / 330.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.588e-05/2.808, allocations: 12 kB / 406.7 MB, free: 3.445 MB / 330.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005317/2.809, allocations: 113.2 kB / 406.9 MB, free: 3.375 MB / 330.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004783/2.809, allocations: 161.2 kB / 407 MB, free: 3.258 MB / 330.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.51e-05/2.809, allocations: 0 / 407 MB, free: 3.258 MB / 330.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.718e-05/2.809, allocations: 0 / 407 MB, free: 3.258 MB / 330.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.959e-05/2.809, allocations: 4 kB / 407 MB, free: 3.254 MB / 330.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/2.811, allocations: 0.5219 MB / 407.5 MB, free: 2.766 MB / 330.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/2.812, allocations: 53.5 kB / 407.6 MB, free: 2.711 MB / 330.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001014/2.812, allocations: 16.73 kB / 407.6 MB, free: 2.695 MB / 330.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.563e-05/2.812, allocations: 7.906 kB / 407.6 MB, free: 2.688 MB / 330.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.716e-05/2.812, allocations: 38.38 kB / 407.7 MB, free: 2.645 MB / 330.8 MB Notification: Performance of pre-optimization done (n=5): time 3.907e-06/2.812, allocations: 3.938 kB / 407.7 MB, free: 2.641 MB / 330.8 MB Notification: Performance of matching and sorting (n=5): time 0.0004423/2.812, allocations: 73.05 kB / 407.7 MB, free: 2.566 MB / 330.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.246e-05/2.812, allocations: 55.34 kB / 407.8 MB, free: 2.5 MB / 330.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002751/2.813, allocations: 155.2 kB / 407.9 MB, free: 2.363 MB / 330.8 MB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/2.813, allocations: 29.69 kB / 408 MB, free: 2.328 MB / 330.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001504/2.813, allocations: 158.3 kB / 408.1 MB, free: 2.18 MB / 330.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.15e-05/2.813, allocations: 23.61 kB / 408.1 MB, free: 2.16 MB / 330.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.516e-05/2.813, allocations: 3.938 kB / 408.1 MB, free: 2.156 MB / 330.8 MB Notification: Performance of setup shared object (initialization): time 0.0001725/2.813, allocations: 330.5 kB / 408.5 MB, free: 1.828 MB / 330.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/2.813, allocations: 23.5 kB / 408.5 MB, free: 1.812 MB / 330.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002363/2.814, allocations: 111.2 kB / 408.6 MB, free: 1.668 MB / 330.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/2.814, allocations: 42.05 kB / 408.6 MB, free: 1.633 MB / 330.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.133e-06/2.814, allocations: 0 / 408.6 MB, free: 1.633 MB / 330.8 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006309/2.814, allocations: 147.1 kB / 408.8 MB, free: 1.496 MB / 330.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.811e-05/2.815, allocations: 8.438 kB / 408.8 MB, free: 1.488 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.416e-05/2.815, allocations: 15.98 kB / 408.8 MB, free: 1.473 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.316e-05/2.815, allocations: 8 kB / 408.8 MB, free: 1.465 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000379/2.815, allocations: 35.61 kB / 408.8 MB, free: 1.434 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.637e-05/2.815, allocations: 4 kB / 408.9 MB, free: 1.43 MB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003601/2.815, allocations: 23.83 kB / 408.9 MB, free: 1.406 MB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.485e-05/2.816, allocations: 16 kB / 408.9 MB, free: 1.391 MB / 330.8 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.0001613/2.816, allocations: 109.5 kB / 409 MB, free: 1.277 MB / 330.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.25e-05/2.816, allocations: 11.91 kB / 409 MB, free: 1.266 MB / 330.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007855/2.817, allocations: 128.9 kB / 409.1 MB, free: 1.148 MB / 330.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/2.817, allocations: 4 kB / 409.1 MB, free: 1.145 MB / 330.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.017e-05/2.817, allocations: 8 kB / 409.1 MB, free: 1.137 MB / 330.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/2.817, allocations: 0 / 409.1 MB, free: 1.137 MB / 330.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004952/2.817, allocations: 195.7 kB / 409.3 MB, free: 0.9258 MB / 330.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.487e-05/2.817, allocations: 11.98 kB / 409.3 MB, free: 0.9141 MB / 330.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001984/2.818, allocations: 11.91 kB / 409.4 MB, free: 0.9023 MB / 330.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.614e-06/2.818, allocations: 0 / 409.4 MB, free: 0.9023 MB / 330.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/2.818, allocations: 0 / 409.4 MB, free: 0.9023 MB / 330.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.688e-06/2.818, allocations: 3.984 kB / 409.4 MB, free: 0.8984 MB / 330.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/2.818, allocations: 12.08 kB / 409.4 MB, free: 0.8867 MB / 330.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004638/2.818, allocations: 169 kB / 409.5 MB, free: 0.7148 MB / 330.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006474/2.819, allocations: 0.5415 MB / 410.1 MB, free: 168 kB / 330.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/2.819, allocations: 92.91 kB / 410.2 MB, free: 56 kB / 330.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.173e-05/2.819, allocations: 0 / 410.2 MB, free: 56 kB / 330.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003214/2.819, allocations: 19.62 kB / 410.2 MB, free: 40 kB / 330.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.381e-05/2.819, allocations: 3.984 kB / 410.2 MB, free: 36 kB / 330.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/2.82, allocations: 4 kB / 410.2 MB, free: 32 kB / 330.8 MB Notification: Performance of sort global known variables: time 0.0002075/2.82, allocations: 116.8 kB / 410.3 MB, free: 15.93 MB / 346.8 MB Notification: Performance of remove unused functions: time 0.002451/2.822, allocations: 91.48 kB / 410.4 MB, free: 15.84 MB / 346.8 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.0008838/2.823, allocations: 222.1 kB / 410.6 MB, free: 15.62 MB / 346.8 MB Notification: Performance of simCode: created initialization part: time 0.0007528/2.824, allocations: 137.4 kB / 410.8 MB, free: 15.49 MB / 346.8 MB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/2.824, allocations: 0.875 kB / 410.8 MB, free: 15.49 MB / 346.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003591/2.824, allocations: 94.08 kB / 410.8 MB, free: 15.39 MB / 346.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/2.825, allocations: 7.062 kB / 410.9 MB, free: 15.39 MB / 346.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/2.826, allocations: 202.9 kB / 411.1 MB, free: 15.18 MB / 346.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005657/2.827, allocations: 0.7487 MB / 411.8 MB, free: 14.4 MB / 346.8 MB Notification: Performance of SimCode: time 1.322e-06/2.827, allocations: 0 / 411.8 MB, free: 14.4 MB / 346.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_res.mat does not exist to compare? outputFormat=mat