Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.672/2.672, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.657e-05/5.668e-05, allocations: 7.984 kB / 305 MB, free: 5.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4367/0.4368, allocations: 54.85 MB / 359.9 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2068/0.6437, allocations: 86.79 MB / 446.7 MB, free: 10.07 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003774/0.6441, allocations: 91.94 kB / 446.8 MB, free: 9.984 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04633/0.6905, allocations: 9.367 MB / 456.1 MB, free: 500 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6905, allocations: 0 / 456.1 MB, free: 500 kB / 378.7 MB Notification: Performance of Transformations before backend: time 2.174e-05/0.6905, allocations: 8 kB / 456.1 MB, free: 492 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001306/0.6919, allocations: 0.5594 MB / 456.7 MB, free: 15.88 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.856e-05/0.6919, allocations: 11.97 kB / 456.7 MB, free: 15.87 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001584/0.6921, allocations: 90.52 kB / 456.8 MB, free: 15.77 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.6922, allocations: 47.48 kB / 456.9 MB, free: 15.72 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000613/0.6929, allocations: 278.3 kB / 457.1 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.065e-05/0.6929, allocations: 28.78 kB / 457.2 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.693, allocations: 39.98 kB / 457.2 MB, free: 15.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001283/0.6943, allocations: 0.507 MB / 457.7 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.958e-05/0.6944, allocations: 0 / 457.7 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.705e-05/0.6945, allocations: 19.98 kB / 457.7 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.317e-05/0.6946, allocations: 32.94 kB / 457.7 MB, free: 14.77 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001354/0.6959, allocations: 0.5367 MB / 458.3 MB, free: 14.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003168/0.6991, allocations: 1.191 MB / 459.5 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/0.7002, allocations: 363.7 kB / 459.8 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/0.7006, allocations: 125.1 kB / 460 MB, free: 12.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.303e-05/0.7007, allocations: 8.188 kB / 460 MB, free: 12.49 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.773e-05/0.7007, allocations: 30.75 kB / 460 MB, free: 12.45 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 3.036e-06/0.7007, allocations: 0 / 460 MB, free: 12.45 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.001032/0.7018, allocations: 317.6 kB / 460.3 MB, free: 12.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/0.7019, allocations: 59.41 kB / 460.4 MB, free: 12.07 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007928/0.7027, allocations: 399.5 kB / 460.8 MB, free: 11.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 6.876e-05/0.7028, allocations: 29.7 kB / 460.8 MB, free: 11.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001917/0.703, allocations: 222.9 kB / 461 MB, free: 11.42 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.7031, allocations: 82.83 kB / 461.1 MB, free: 11.34 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.656e-05/0.7031, allocations: 7.938 kB / 461.1 MB, free: 11.33 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.7033, allocations: 322.8 kB / 461.4 MB, free: 11 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.7037, allocations: 95.91 kB / 461.5 MB, free: 10.91 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003141/0.704, allocations: 103.9 kB / 461.6 MB, free: 10.81 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003607/0.7044, allocations: 119 kB / 461.7 MB, free: 10.7 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.7044, allocations: 0 / 461.7 MB, free: 10.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000916/0.7053, allocations: 285.3 kB / 462 MB, free: 10.41 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.314e-05/0.7054, allocations: 9.703 kB / 462 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.7054, allocations: 4 kB / 462 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.7055, allocations: 0 / 462 MB, free: 10.4 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/0.707, allocations: 143.9 kB / 462.1 MB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004559/0.7116, allocations: 5.517 MB / 467.7 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004807/0.7122, allocations: 51.45 kB / 467.7 MB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.325e-05/0.7122, allocations: 11.98 kB / 467.7 MB, free: 4.469 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001741/0.7124, allocations: 119.8 kB / 467.8 MB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.769e-05/0.7125, allocations: 39.53 kB / 467.9 MB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001368/0.7139, allocations: 425.5 kB / 468.3 MB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.966e-06/0.714, allocations: 0 / 468.3 MB, free: 3.895 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/0.714, allocations: 3.953 kB / 468.3 MB, free: 3.891 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.714, allocations: 4 kB / 468.3 MB, free: 3.887 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008841/0.7149, allocations: 377.2 kB / 468.7 MB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.223e-06/0.7149, allocations: 0 / 468.7 MB, free: 3.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001473/0.7164, allocations: 151.8 kB / 468.8 MB, free: 3.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.7165, allocations: 4 kB / 468.8 MB, free: 3.316 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.7165, allocations: 11.98 kB / 468.8 MB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004417/0.7209, allocations: 5.512 MB / 474.3 MB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.721, allocations: 4.031 kB / 474.4 MB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.722, allocations: 412.1 kB / 474.8 MB, free: 13.16 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001869/0.7222, allocations: 116.7 kB / 474.9 MB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.35e-05/0.7223, allocations: 0 / 474.9 MB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.7227, allocations: 15.98 kB / 474.9 MB, free: 13.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.7229, allocations: 28.02 kB / 474.9 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.327e-05/0.7229, allocations: 15.92 kB / 474.9 MB, free: 12.97 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006083/0.7236, allocations: 326.1 kB / 475.2 MB, free: 12.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.7236, allocations: 0 / 475.2 MB, free: 12.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006964/0.7243, allocations: 107.8 kB / 475.4 MB, free: 12.55 MB / 410.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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001598/0.7259, allocations: 1.035 MB / 476.4 MB, free: 11.49 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.7277, allocations: 339.6 kB / 476.7 MB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.7277, allocations: 0 / 476.7 MB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001366/0.7291, allocations: 227.8 kB / 476.9 MB, free: 10.93 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007286/0.7298, allocations: 79.19 kB / 477 MB, free: 10.86 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002124/0.732, allocations: 0.6988 MB / 477.7 MB, free: 10.11 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006031/0.7326, allocations: 0.8581 MB / 478.6 MB, free: 9.23 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002685/0.7329, allocations: 112.2 kB / 478.7 MB, free: 9.121 MB / 410.7 MB Notification: Performance of SimCode: time 1.002e-06/0.7329, allocations: 0 / 478.7 MB, free: 9.121 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.77/4.503, allocations: 20.42 MB / 499.1 MB, free: 4.715 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat