Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.983/1.983, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.525e-05/4.529e-05, allocations: 0 / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4079/0.5187, allocations: 81.43 MB / 403.3 MB, free: 8.48 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004606/0.5192, allocations: 103.9 kB / 403.4 MB, free: 8.379 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06503/0.5843, allocations: 10.6 MB / 414 MB, free: 13.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.614e-06/0.5843, allocations: 4 kB / 414 MB, free: 13.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.514e-05/0.5844, allocations: 4 kB / 414 MB, free: 13.61 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001795/0.5862, allocations: 0.6152 MB / 414.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.928e-05/0.5863, allocations: 8.031 kB / 414.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002023/0.5865, allocations: 82.52 kB / 414.7 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.5867, allocations: 43.44 kB / 414.8 MB, free: 12.81 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007159/0.5874, allocations: 282.4 kB / 415 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.537e-05/0.5875, allocations: 28.78 kB / 415.1 MB, free: 12.47 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.5876, allocations: 36 kB / 415.1 MB, free: 12.43 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.5894, allocations: 0.5433 MB / 415.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.482e-05/0.5895, allocations: 0 / 415.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.82e-05/0.5896, allocations: 16 kB / 415.7 MB, free: 11.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.112e-05/0.5897, allocations: 16.78 kB / 415.7 MB, free: 11.84 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001319/0.591, allocations: 361.2 kB / 416 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004259/0.5953, allocations: 1.405 MB / 417.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007078/0.5961, allocations: 243.6 kB / 417.7 MB, free: 9.75 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003317/0.5965, allocations: 106.5 kB / 417.8 MB, free: 9.637 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.078e-05/0.5965, allocations: 8.109 kB / 417.8 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.5966, allocations: 46.44 kB / 417.8 MB, free: 9.574 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.437e-06/0.5966, allocations: 0 / 417.8 MB, free: 9.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.001066/0.5977, allocations: 273 kB / 418.1 MB, free: 9.301 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.5978, allocations: 114.7 kB / 418.2 MB, free: 9.164 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009069/0.5987, allocations: 455.1 kB / 418.6 MB, free: 8.719 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.5988, allocations: 25.7 kB / 418.7 MB, free: 8.688 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.599, allocations: 242.8 kB / 418.9 MB, free: 8.449 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.166e-05/0.5991, allocations: 55.19 kB / 419 MB, free: 8.395 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.146e-05/0.5991, allocations: 8.062 kB / 419 MB, free: 8.387 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.5993, allocations: 322.8 kB / 419.3 MB, free: 8.062 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003366/0.5996, allocations: 96.11 kB / 419.4 MB, free: 7.965 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.6, allocations: 141.4 kB / 419.5 MB, free: 7.809 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003788/0.6004, allocations: 111.9 kB / 419.6 MB, free: 7.699 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-06/0.6004, allocations: 0 / 419.6 MB, free: 7.699 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009947/0.6014, allocations: 285.9 kB / 419.9 MB, free: 7.414 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.938e-05/0.6015, allocations: 8 kB / 419.9 MB, free: 7.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000114/0.6016, allocations: 31.97 kB / 419.9 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.6016, allocations: 4 kB / 419.9 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004404/0.6021, allocations: 44.06 kB / 420 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.488e-05/0.6021, allocations: 3.953 kB / 420 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/0.6027, allocations: 63.41 kB / 420.1 MB, free: 7.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.6028, allocations: 12 kB / 420.1 MB, free: 7.25 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001515/0.603, allocations: 116.9 kB / 420.2 MB, free: 7.129 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.6031, allocations: 39.52 kB / 420.2 MB, free: 7.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001243/0.6044, allocations: 364.7 kB / 420.6 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.436e-05/0.6044, allocations: 4 kB / 420.6 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.6044, allocations: 3.984 kB / 420.6 MB, free: 6.719 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.6045, allocations: 3.953 kB / 420.6 MB, free: 6.715 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000984/0.6055, allocations: 361.3 kB / 420.9 MB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.684e-05/0.6056, allocations: 35.97 kB / 421 MB, free: 6.277 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003476/0.6059, allocations: 27.97 kB / 421 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.481e-05/0.606, allocations: 7.984 kB / 421 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.606, allocations: 4 kB / 421 MB, free: 6.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.063e-05/0.606, allocations: 11.97 kB / 421 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.606, allocations: 0 / 421 MB, free: 6.227 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.6071, allocations: 0.5402 MB / 421.6 MB, free: 5.656 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003431/0.6074, allocations: 168.4 kB / 421.7 MB, free: 5.473 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.296e-05/0.6075, allocations: 4 kB / 421.7 MB, free: 5.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005521/0.6081, allocations: 35.92 kB / 421.8 MB, free: 5.434 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.6082, allocations: 19.97 kB / 421.8 MB, free: 5.414 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-05/0.6083, allocations: 8 kB / 421.8 MB, free: 5.406 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000699/0.609, allocations: 369.1 kB / 422.2 MB, free: 5.047 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.609, allocations: 3.938 kB / 422.2 MB, free: 5.043 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008897/0.6099, allocations: 119.9 kB / 422.3 MB, free: 4.926 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.00176/0.6117, allocations: 1.319 MB / 423.6 MB, free: 3.574 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.6127, allocations: 463.1 kB / 424.1 MB, free: 3.066 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.6128, allocations: 3.938 kB / 424.1 MB, free: 3.062 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005488/0.6133, allocations: 359.2 kB / 424.4 MB, free: 2.656 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009159/0.6143, allocations: 90.62 kB / 424.5 MB, free: 2.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.617, allocations: 0.7556 MB / 425.2 MB, free: 1.766 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005873/0.6176, allocations: 0.8499 MB / 426.1 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002776/0.6179, allocations: 111.4 kB / 426.2 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6179, allocations: 0 / 426.2 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.588/3.206, allocations: 8.793 MB / 435 MB, free: 8.023 MB / 362.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_res.mat does not exist to compare? outputFormat=mat