Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.897/1.897, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.73e-05/3.743e-05, allocations: 4 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1033, allocations: 48.69 MB / 321.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4203/0.5237, allocations: 85.4 MB / 407.2 MB, free: 4.406 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003927/0.5241, allocations: 95.92 kB / 407.3 MB, free: 4.312 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06973/0.5939, allocations: 14.25 MB / 421.6 MB, free: 5.918 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.452e-06/0.5939, allocations: 0 / 421.6 MB, free: 5.918 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.723e-05/0.594, allocations: 4 kB / 421.6 MB, free: 5.914 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.001284/0.5953, allocations: 0.5995 MB / 422.2 MB, free: 5.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.994e-05/0.5953, allocations: 8.031 kB / 422.2 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001404/0.5955, allocations: 86.52 kB / 422.3 MB, free: 5.168 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.5956, allocations: 43.47 kB / 422.3 MB, free: 5.125 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.5961, allocations: 278.3 kB / 422.6 MB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.929e-05/0.5962, allocations: 32.77 kB / 422.6 MB, free: 4.781 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.5963, allocations: 39.94 kB / 422.7 MB, free: 4.742 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001242/0.5975, allocations: 0.5163 MB / 423.2 MB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.5976, allocations: 0 / 423.2 MB, free: 4.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-05/0.5976, allocations: 12 kB / 423.2 MB, free: 4.207 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.479e-05/0.5977, allocations: 36.98 kB / 423.2 MB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.599, allocations: 0.5387 MB / 423.8 MB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002881/0.6019, allocations: 1.206 MB / 425 MB, free: 2.367 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000997/0.603, allocations: 359.3 kB / 425.3 MB, free: 2.012 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.6033, allocations: 121.1 kB / 425.4 MB, free: 1.891 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.04e-05/0.6034, allocations: 8.172 kB / 425.5 MB, free: 1.883 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.6034, allocations: 34.75 kB / 425.5 MB, free: 1.84 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.547e-06/0.6034, allocations: 4 kB / 425.5 MB, free: 1.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0009646/0.6044, allocations: 318.6 kB / 425.8 MB, free: 1.52 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.658e-05/0.6045, allocations: 51.41 kB / 425.9 MB, free: 1.457 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000709/0.6052, allocations: 399.5 kB / 426.2 MB, free: 1.059 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.6052, allocations: 33.7 kB / 426.3 MB, free: 1.02 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.6054, allocations: 226.9 kB / 426.5 MB, free: 0.7969 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.369e-05/0.6055, allocations: 66.92 kB / 426.6 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.6055, allocations: 4 kB / 426.6 MB, free: 0.7266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.6057, allocations: 330.8 kB / 426.9 MB, free: 404 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003029/0.606, allocations: 95.91 kB / 427 MB, free: 308 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.6063, allocations: 103.9 kB / 427.1 MB, free: 204 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003402/0.6067, allocations: 115.1 kB / 427.2 MB, free: 92 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.6067, allocations: 0 / 427.2 MB, free: 92 kB / 346.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008735/0.6076, allocations: 293.2 kB / 427.5 MB, free: 15.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.6076, allocations: 4 kB / 427.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.6076, allocations: 0 / 427.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.6077, allocations: 0 / 427.5 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001465/0.6091, allocations: 155.9 kB / 427.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003903/0.6131, allocations: 5.516 MB / 433.2 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004532/0.6136, allocations: 51.69 kB / 433.2 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.6136, allocations: 23.86 kB / 433.2 MB, free: 9.84 MB / 362.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.0001354/0.6138, allocations: 108.9 kB / 433.3 MB, free: 9.727 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.35e-05/0.6139, allocations: 35.53 kB / 433.4 MB, free: 9.691 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001288/0.6152, allocations: 431.8 kB / 433.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.26e-06/0.6152, allocations: 0 / 433.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.6152, allocations: 0 / 433.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.6152, allocations: 0 / 433.8 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007161/0.616, allocations: 389.2 kB / 434.2 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.616, allocations: 0 / 434.2 MB, free: 8.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/0.6174, allocations: 151.8 kB / 434.3 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.6174, allocations: 3.984 kB / 434.3 MB, free: 8.688 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.6175, allocations: 8 kB / 434.3 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004096/0.6216, allocations: 5.52 MB / 439.9 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.6216, allocations: 0 / 439.9 MB, free: 2.949 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009789/0.6226, allocations: 418.7 kB / 440.3 MB, free: 2.523 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/0.6228, allocations: 116.7 kB / 440.4 MB, free: 2.391 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.401e-05/0.6229, allocations: 8.172 kB / 440.4 MB, free: 2.383 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003654/0.6233, allocations: 12 kB / 440.4 MB, free: 2.371 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.536e-05/0.6234, allocations: 19.97 kB / 440.4 MB, free: 2.352 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.6235, allocations: 15.98 kB / 440.4 MB, free: 2.336 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005721/0.624, allocations: 326.1 kB / 440.7 MB, free: 2.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6241, allocations: 0 / 440.7 MB, free: 2.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007479/0.6248, allocations: 151.8 kB / 440.9 MB, free: 1.871 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.001768/0.6266, allocations: 1.103 MB / 442 MB, free: 0.7383 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001761/0.6284, allocations: 342.6 kB / 442.3 MB, free: 416 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6284, allocations: 0 / 442.3 MB, free: 416 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001311/0.6297, allocations: 227.7 kB / 442.6 MB, free: 188 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006713/0.6304, allocations: 82.91 kB / 442.6 MB, free: 108 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.6325, allocations: 0.7329 MB / 443.4 MB, free: 15.33 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005328/0.6331, allocations: 0.8542 MB / 444.2 MB, free: 14.45 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.6334, allocations: 111.4 kB / 444.3 MB, free: 14.34 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.6334, allocations: 0 / 444.3 MB, free: 14.34 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.351/3.985, allocations: 21.19 MB / 465.5 MB, free: 9.141 MB / 394.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_overall_KC_res.mat does not exist to compare? outputFormat=mat