Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2/2, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.989e-05/3.994e-05, allocations: 4 kB / 273.2 MB, free: 0.6211 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1159, allocations: 48.71 MB / 321.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4304/0.5464, allocations: 80.44 MB / 402.3 MB, free: 9.355 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000366/0.5468, allocations: 91.92 kB / 402.4 MB, free: 9.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04404/0.5909, allocations: 9.366 MB / 411.8 MB, free: 15.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.5909, allocations: 0 / 411.8 MB, free: 15.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.796e-05/0.591, allocations: 4 kB / 411.8 MB, free: 15.74 MB / 346.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.001195/0.5922, allocations: 0.5646 MB / 412.3 MB, free: 15.13 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.5922, allocations: 8.031 kB / 412.4 MB, free: 15.12 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001428/0.5924, allocations: 82.53 kB / 412.4 MB, free: 15.03 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.5925, allocations: 47.45 kB / 412.5 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004981/0.593, allocations: 283.8 kB / 412.8 MB, free: 14.67 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.893e-05/0.5931, allocations: 28.78 kB / 412.8 MB, free: 14.64 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.815e-05/0.5932, allocations: 36 kB / 412.8 MB, free: 14.61 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001208/0.5944, allocations: 0.5109 MB / 413.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.5945, allocations: 3.938 kB / 413.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/0.5945, allocations: 16 kB / 413.4 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.936e-05/0.5946, allocations: 36.97 kB / 413.4 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001262/0.5959, allocations: 0.5289 MB / 413.9 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002927/0.5988, allocations: 1.198 MB / 415.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/0.5999, allocations: 359.5 kB / 415.5 MB, free: 11.89 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000369/0.6003, allocations: 117.1 kB / 415.6 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.963e-05/0.6004, allocations: 20.16 kB / 415.6 MB, free: 11.75 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.6004, allocations: 30.75 kB / 415.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 8.386e-06/0.6004, allocations: 3.984 kB / 415.6 MB, free: 11.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001022/0.6014, allocations: 318 kB / 415.9 MB, free: 11.4 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.335e-05/0.6015, allocations: 59.34 kB / 416 MB, free: 11.33 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007638/0.6023, allocations: 399.5 kB / 416.4 MB, free: 10.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.6024, allocations: 25.7 kB / 416.4 MB, free: 10.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001836/0.6025, allocations: 226.9 kB / 416.6 MB, free: 10.67 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.6027, allocations: 82.92 kB / 416.7 MB, free: 10.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.6027, allocations: 7.938 kB / 416.7 MB, free: 10.58 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.6029, allocations: 322.8 kB / 417 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.6032, allocations: 103.9 kB / 417.1 MB, free: 10.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003103/0.6035, allocations: 99.91 kB / 417.2 MB, free: 10.06 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003698/0.6039, allocations: 118.9 kB / 417.4 MB, free: 9.945 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.6039, allocations: 0 / 417.4 MB, free: 9.945 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008843/0.6048, allocations: 281.3 kB / 417.6 MB, free: 9.664 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.6049, allocations: 4 kB / 417.6 MB, free: 9.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.6049, allocations: 4 kB / 417.6 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.6049, allocations: 0 / 417.6 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.6064, allocations: 159.8 kB / 417.8 MB, free: 9.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004308/0.6108, allocations: 5.509 MB / 423.3 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004797/0.6113, allocations: 51.42 kB / 423.4 MB, free: 3.73 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.85e-05/0.6114, allocations: 15.98 kB / 423.4 MB, free: 3.715 MB / 346.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.0001511/0.6115, allocations: 112.9 kB / 423.5 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.283e-05/0.6116, allocations: 35.53 kB / 423.5 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.613, allocations: 428.3 kB / 423.9 MB, free: 3.141 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.613, allocations: 7.938 kB / 423.9 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.613, allocations: 0 / 423.9 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.613, allocations: 0 / 423.9 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000752/0.6138, allocations: 373.2 kB / 424.3 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6138, allocations: 0 / 424.3 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.6152, allocations: 155.9 kB / 424.5 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.953e-06/0.6153, allocations: 0 / 424.5 MB, free: 2.566 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.765e-05/0.6153, allocations: 7.984 kB / 424.5 MB, free: 2.559 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004253/0.6196, allocations: 5.512 MB / 430 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.329e-06/0.6196, allocations: 0 / 430 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.6206, allocations: 430.2 kB / 430.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.6208, allocations: 112.7 kB / 430.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.351e-05/0.6209, allocations: 4 kB / 430.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004052/0.6214, allocations: 15.98 kB / 430.5 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.722e-05/0.6215, allocations: 23.91 kB / 430.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.936e-05/0.6215, allocations: 8 kB / 430.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006191/0.6221, allocations: 326.1 kB / 430.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6222, allocations: 0 / 430.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006536/0.6228, allocations: 115.8 kB / 431 MB, free: 11.79 MB / 362.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.001604/0.6244, allocations: 1.023 MB / 432 MB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001772/0.6262, allocations: 338.8 kB / 432.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.6263, allocations: 0 / 432.3 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.6276, allocations: 227.7 kB / 432.6 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000729/0.6284, allocations: 89.2 kB / 432.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.6304, allocations: 0.7014 MB / 433.4 MB, free: 9.363 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005188/0.6309, allocations: 0.8542 MB / 434.2 MB, free: 8.484 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002599/0.6312, allocations: 119.3 kB / 434.3 MB, free: 8.367 MB / 362.7 MB Notification: Performance of SimCode: time 1.523e-06/0.6312, allocations: 0 / 434.3 MB, free: 8.367 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.265/3.896, allocations: 20.41 MB / 454.7 MB, free: 3.969 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC_res.mat does not exist to compare? outputFormat=mat