Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.383/2.383, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.166e-05/5.182e-05, allocations: 4 kB / 305 MB, free: 5.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4575/0.4576, allocations: 54.85 MB / 359.9 MB, free: 2.355 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2191/0.6768, allocations: 88.28 MB / 448.2 MB, free: 8.578 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005094/0.6774, allocations: 92.72 kB / 448.3 MB, free: 8.488 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06978/0.7472, allocations: 11.71 MB / 460 MB, free: 12.64 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.7472, allocations: 4 kB / 460 MB, free: 12.64 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.902e-05/0.7473, allocations: 4 kB / 460 MB, free: 12.64 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.001587/0.7489, allocations: 0.6093 MB / 460.6 MB, free: 11.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.999e-05/0.749, allocations: 11.97 kB / 460.6 MB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001946/0.7492, allocations: 108 kB / 460.7 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001319/0.7493, allocations: 43.44 kB / 460.7 MB, free: 11.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006005/0.7499, allocations: 294.3 kB / 461 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.568e-05/0.75, allocations: 36.98 kB / 461.1 MB, free: 11.45 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000116/0.7501, allocations: 44 kB / 461.1 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001554/0.7517, allocations: 0.6114 MB / 461.7 MB, free: 10.79 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/0.7517, allocations: 7.953 kB / 461.7 MB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.743e-05/0.7518, allocations: 23.98 kB / 461.8 MB, free: 10.75 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.112e-05/0.7519, allocations: 37.3 kB / 461.8 MB, free: 10.72 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001617/0.7535, allocations: 0.6544 MB / 462.4 MB, free: 10.06 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003601/0.7572, allocations: 1.372 MB / 463.8 MB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0012/0.7584, allocations: 435.7 kB / 464.2 MB, free: 8.203 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003913/0.7588, allocations: 137.2 kB / 464.4 MB, free: 8.066 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.841e-05/0.7589, allocations: 20.2 kB / 464.4 MB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.759, allocations: 34.8 kB / 464.4 MB, free: 8.004 MB / 394.7 MB Notification: Performance of pre-optimization done (n=28): time 3.617e-06/0.759, allocations: 0 / 464.4 MB, free: 8.004 MB / 394.7 MB Notification: Performance of matching and sorting (n=28): time 0.001157/0.7602, allocations: 371.7 kB / 464.8 MB, free: 7.637 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.7602, allocations: 51.41 kB / 464.8 MB, free: 7.574 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008464/0.7611, allocations: 442.6 kB / 465.3 MB, free: 7.137 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.777e-05/0.7611, allocations: 33.7 kB / 465.3 MB, free: 7.098 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.7614, allocations: 250.6 kB / 465.6 MB, free: 6.852 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.7615, allocations: 98.64 kB / 465.6 MB, free: 6.754 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.433e-05/0.7616, allocations: 4 kB / 465.7 MB, free: 6.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.7617, allocations: 326.8 kB / 466 MB, free: 6.422 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004112/0.7621, allocations: 140.5 kB / 466.1 MB, free: 6.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005017/0.7626, allocations: 228 kB / 466.3 MB, free: 6.02 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005013/0.7632, allocations: 181.2 kB / 466.5 MB, free: 5.844 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.7632, allocations: 0 / 466.5 MB, free: 5.844 MB / 394.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001227/0.7644, allocations: 425.6 kB / 466.9 MB, free: 5.422 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.7645, allocations: 12.03 kB / 466.9 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.7645, allocations: 0 / 466.9 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.7645, allocations: 8 kB / 466.9 MB, free: 5.402 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001857/0.7664, allocations: 199.9 kB / 467.1 MB, free: 5.207 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005508/0.7719, allocations: 7.297 MB / 474.4 MB, free: 13.63 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006875/0.7727, allocations: 59.41 kB / 474.5 MB, free: 13.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-05/0.7728, allocations: 19.98 kB / 474.5 MB, free: 13.55 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002133/0.773, allocations: 133.7 kB / 474.6 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.7731, allocations: 43.48 kB / 474.7 MB, free: 13.38 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001578/0.7747, allocations: 0.5105 MB / 475.2 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.267e-05/0.7747, allocations: 4 kB / 475.2 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.7748, allocations: 0 / 475.2 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.7748, allocations: 3.984 kB / 475.2 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009045/0.7757, allocations: 409.2 kB / 475.6 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.7757, allocations: 4 kB / 475.6 MB, free: 12.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001804/0.7775, allocations: 199.7 kB / 475.8 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.829e-06/0.7776, allocations: 0 / 475.8 MB, free: 12.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.744e-05/0.7776, allocations: 11.98 kB / 475.8 MB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005443/0.7831, allocations: 7.282 MB / 483.1 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.7831, allocations: 0 / 483.1 MB, free: 4.629 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001162/0.7843, allocations: 479.6 kB / 483.6 MB, free: 4.145 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002113/0.7845, allocations: 120.6 kB / 483.7 MB, free: 4.008 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.7847, allocations: 8 kB / 483.7 MB, free: 4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.7851, allocations: 15.98 kB / 483.7 MB, free: 3.984 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.7853, allocations: 19.97 kB / 483.7 MB, free: 3.965 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.7853, allocations: 15.98 kB / 483.7 MB, free: 3.949 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006351/0.786, allocations: 349.1 kB / 484.1 MB, free: 3.609 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.786, allocations: 0 / 484.1 MB, free: 3.609 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007979/0.7868, allocations: 135.8 kB / 484.2 MB, free: 3.477 MB / 410.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,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.001851/0.7887, allocations: 1.093 MB / 485.3 MB, free: 2.359 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002287/0.791, allocations: 439.5 kB / 485.7 MB, free: 1.93 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.791, allocations: 0.75 kB / 485.7 MB, free: 1.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001706/0.7927, allocations: 283.6 kB / 486 MB, free: 1.652 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000854/0.7936, allocations: 109.4 kB / 486.1 MB, free: 1.547 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002391/0.796, allocations: 0.7871 MB / 486.9 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.7967, allocations: 0.8856 MB / 487.8 MB, free: 15.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003309/0.7971, allocations: 139.3 kB / 487.9 MB, free: 15.67 MB / 426.7 MB Notification: Performance of SimCode: time 1.021e-06/0.7971, allocations: 0 / 487.9 MB, free: 15.67 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.539/4.336, allocations: 28.62 MB / 0.5044 GB, free: 3.055 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_laminar_KC_res.mat does not exist to compare? outputFormat=mat