Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.101/2.101, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.667e-05/3.673e-05, allocations: 4 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1099, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4233/0.5333, allocations: 80.39 MB / 402.3 MB, free: 9.531 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004047/0.5337, allocations: 91.94 kB / 402.3 MB, free: 9.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04509/0.5788, allocations: 9.334 MB / 411.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5789, allocations: 0 / 411.7 MB, free: 15.95 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.845e-05/0.5789, allocations: 4 kB / 411.7 MB, free: 15.95 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.00129/0.5802, allocations: 0.5607 MB / 412.2 MB, free: 15.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.359e-05/0.5803, allocations: 8.031 kB / 412.3 MB, free: 15.33 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.5805, allocations: 82.52 kB / 412.3 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001092/0.5806, allocations: 43.53 kB / 412.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005201/0.5811, allocations: 278.2 kB / 412.6 MB, free: 14.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.947e-05/0.5812, allocations: 36.75 kB / 412.7 MB, free: 14.85 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.777e-05/0.5813, allocations: 40 kB / 412.7 MB, free: 14.81 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.5825, allocations: 0.5031 MB / 413.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.5826, allocations: 0 / 413.2 MB, free: 14.3 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.158e-05/0.5827, allocations: 16 kB / 413.2 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.445e-05/0.5827, allocations: 36.98 kB / 413.3 MB, free: 14.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.584, allocations: 0.5328 MB / 413.8 MB, free: 13.72 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003061/0.5871, allocations: 1.198 MB / 415 MB, free: 12.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009873/0.5882, allocations: 355.7 kB / 415.4 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003275/0.5885, allocations: 121.1 kB / 415.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.124e-05/0.5886, allocations: 8.172 kB / 415.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.5886, allocations: 34.75 kB / 415.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.446e-06/0.5886, allocations: 0 / 415.5 MB, free: 11.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.00102/0.5897, allocations: 318.4 kB / 415.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.5897, allocations: 55.41 kB / 415.9 MB, free: 11.56 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007512/0.5905, allocations: 403.5 kB / 416.3 MB, free: 11.15 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.481e-05/0.5906, allocations: 25.7 kB / 416.3 MB, free: 11.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001724/0.5908, allocations: 230.8 kB / 416.5 MB, free: 10.89 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001088/0.5909, allocations: 74.86 kB / 416.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.403e-05/0.5909, allocations: 0 / 416.6 MB, free: 10.82 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.5911, allocations: 326.8 kB / 416.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003146/0.5914, allocations: 103.9 kB / 417 MB, free: 10.39 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000298/0.5917, allocations: 95.91 kB / 417.1 MB, free: 10.3 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003579/0.5921, allocations: 123.8 kB / 417.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5921, allocations: 0 / 417.2 MB, free: 10.18 MB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008646/0.593, allocations: 292.7 kB / 417.5 MB, free: 9.887 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.593, allocations: 4 kB / 417.5 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.593, allocations: 0 / 417.5 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/0.5931, allocations: 0 / 417.5 MB, free: 9.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001502/0.5946, allocations: 159.8 kB / 417.7 MB, free: 9.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00411/0.5987, allocations: 5.512 MB / 423.2 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004825/0.5993, allocations: 43.41 kB / 423.2 MB, free: 3.961 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.504e-05/0.5993, allocations: 15.98 kB / 423.3 MB, free: 3.945 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.0001526/0.5995, allocations: 121.1 kB / 423.4 MB, free: 3.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.5996, allocations: 39.52 kB / 423.4 MB, free: 3.781 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.6009, allocations: 420.3 kB / 423.8 MB, free: 3.367 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.601, allocations: 4 kB / 423.8 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.601, allocations: 0 / 423.8 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.601, allocations: 3.984 kB / 423.8 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008207/0.6018, allocations: 377.2 kB / 424.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.6019, allocations: 0 / 424.2 MB, free: 2.941 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.6033, allocations: 163.8 kB / 424.4 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.826e-06/0.6034, allocations: 0 / 424.4 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.668e-05/0.6034, allocations: 4 kB / 424.4 MB, free: 2.777 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00425/0.6077, allocations: 5.512 MB / 429.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.6077, allocations: 0 / 429.9 MB, free: 13.05 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000984/0.6087, allocations: 418.8 kB / 430.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001802/0.6089, allocations: 120.6 kB / 430.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.455e-05/0.609, allocations: 4 kB / 430.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004176/0.6094, allocations: 8 kB / 430.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.6096, allocations: 24.06 kB / 430.4 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.6096, allocations: 15.92 kB / 430.4 MB, free: 12.44 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005885/0.6102, allocations: 326.1 kB / 430.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.344e-06/0.6102, allocations: 0 / 430.8 MB, free: 12.12 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006618/0.6109, allocations: 115.8 kB / 430.9 MB, free: 12.01 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.001573/0.6125, allocations: 1.022 MB / 431.9 MB, free: 10.96 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001773/0.6143, allocations: 339.6 kB / 432.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6144, allocations: 0 / 432.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.6157, allocations: 227.7 kB / 432.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007764/0.6165, allocations: 78.91 kB / 432.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.6186, allocations: 0.7092 MB / 433.2 MB, free: 9.586 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005409/0.6192, allocations: 0.8503 MB / 434.1 MB, free: 8.711 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.6195, allocations: 111.4 kB / 434.2 MB, free: 8.602 MB / 362.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6195, allocations: 0 / 434.2 MB, free: 8.602 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.31/3.929, allocations: 20.39 MB / 454.6 MB, free: 4.219 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_laminar_KC_res.mat does not exist to compare? outputFormat=mat