Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.973/1.973, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.12e-05/2.142e-05, allocations: 0 / 267.6 MB, free: 5.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1067, allocations: 48.69 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4147/0.5215, allocations: 81.8 MB / 398.1 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003381/0.5219, allocations: 98.23 kB / 398.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04928/0.5711, allocations: 10.6 MB / 408.8 MB, free: 1.703 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.933e-06/0.5712, allocations: 4 kB / 408.8 MB, free: 1.699 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.5712, allocations: 4 kB / 408.8 MB, free: 1.695 MB / 330.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.001408/0.5727, allocations: 0.6191 MB / 409.5 MB, free: 1.055 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.5727, allocations: 8.031 kB / 409.5 MB, free: 1.047 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.5729, allocations: 43.44 kB / 409.5 MB, free: 1.004 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005287/0.5734, allocations: 289.7 kB / 409.8 MB, free: 0.6914 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.681e-05/0.5734, allocations: 12 kB / 409.8 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.833e-05/0.5735, allocations: 24 kB / 409.8 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000811/0.5744, allocations: 328 kB / 410.1 MB, free: 432 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.5755, allocations: 498.8 kB / 410.6 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.768e-05/0.5755, allocations: 0 / 410.6 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/0.5755, allocations: 0 / 410.6 MB, free: 8 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.706e-05/0.5756, allocations: 21.27 kB / 410.6 MB, free: 15.99 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002806/0.5785, allocations: 1.244 MB / 411.9 MB, free: 14.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005721/0.5791, allocations: 230.2 kB / 412.1 MB, free: 14.59 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002779/0.5794, allocations: 112.3 kB / 412.2 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.592e-05/0.5794, allocations: 7.984 kB / 412.2 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.5795, allocations: 38.17 kB / 412.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.747e-06/0.5795, allocations: 3.938 kB / 412.3 MB, free: 14.43 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0009193/0.5804, allocations: 256.2 kB / 412.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.494e-05/0.5805, allocations: 102.8 kB / 412.6 MB, free: 14.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.5808, allocations: 189.5 kB / 412.8 MB, free: 13.9 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.5809, allocations: 25.7 kB / 412.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.5811, allocations: 283.1 kB / 413.1 MB, free: 13.62 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.468e-05/0.5812, allocations: 54.64 kB / 413.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.5812, allocations: 0 / 413.2 MB, free: 13.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000148/0.5814, allocations: 330.2 kB / 413.5 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002786/0.5817, allocations: 91.17 kB / 413.6 MB, free: 13.16 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.582, allocations: 143.9 kB / 413.7 MB, free: 13.02 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003253/0.5823, allocations: 117.6 kB / 413.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.237e-06/0.5823, allocations: 0 / 413.8 MB, free: 12.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0008487/0.5832, allocations: 278.1 kB / 414.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.5832, allocations: 7.594 kB / 414.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/0.5834, allocations: 31.97 kB / 414.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.5834, allocations: 0 / 414.1 MB, free: 12.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.5838, allocations: 44.06 kB / 414.2 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.5839, allocations: 4 kB / 414.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003925/0.5843, allocations: 31.88 kB / 414.2 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-05/0.5843, allocations: 10.81 kB / 414.2 MB, free: 12.54 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.0001411/0.5845, allocations: 112.8 kB / 414.3 MB, free: 12.42 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007844/0.5853, allocations: 262.5 kB / 414.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.5854, allocations: 19.72 kB / 414.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001005/0.5864, allocations: 333.9 kB / 414.9 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.615e-05/0.5864, allocations: 7.984 kB / 414.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.5865, allocations: 0 / 414.9 MB, free: 11.85 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.5865, allocations: 7.953 kB / 415 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007614/0.5872, allocations: 314.4 kB / 415.3 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000113/0.5874, allocations: 35.84 kB / 415.3 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.5877, allocations: 32.03 kB / 415.3 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.5877, allocations: 3.984 kB / 415.3 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.549e-05/0.5878, allocations: 11.94 kB / 415.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.5878, allocations: 0 / 415.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.5878, allocations: 4 kB / 415.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009033/0.5887, allocations: 0.5135 MB / 415.9 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002175/0.5889, allocations: 134.9 kB / 416 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.936e-05/0.589, allocations: 4 kB / 416 MB, free: 10.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000437/0.5895, allocations: 27.97 kB / 416 MB, free: 10.76 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.5896, allocations: 15.94 kB / 416 MB, free: 10.75 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.5897, allocations: 15.36 kB / 416.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001869/0.5898, allocations: 146 kB / 416.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.645e-06/0.5899, allocations: 0 / 416.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008819/0.5908, allocations: 151.3 kB / 416.3 MB, free: 10.46 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.001706/0.5925, allocations: 1.283 MB / 417.6 MB, free: 9.176 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008849/0.5934, allocations: 468.6 kB / 418.1 MB, free: 8.688 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5934, allocations: 4.062 kB / 418.1 MB, free: 8.684 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000503/0.5939, allocations: 356.8 kB / 418.4 MB, free: 8.297 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000552/0.5945, allocations: 24.05 kB / 418.5 MB, free: 8.277 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002893/0.5974, allocations: 0.6837 MB / 419.1 MB, free: 7.574 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006128/0.5981, allocations: 0.8513 MB / 420 MB, free: 6.707 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.5983, allocations: 108.7 kB / 420.1 MB, free: 6.676 MB / 346.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5983, allocations: 0 / 420.1 MB, free: 6.676 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.756/3.354, allocations: 7.101 MB / 427.2 MB, free: 15.59 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_laminar_res.mat does not exist to compare? outputFormat=mat