Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.685e-05/3.681e-05, allocations: 4 kB / 305 MB, free: 5.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4219/0.4219, allocations: 54.86 MB / 359.9 MB, free: 2.344 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1571/0.5791, allocations: 85.03 MB / 444.9 MB, free: 11.83 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000359/0.5795, allocations: 97.69 kB / 445 MB, free: 11.74 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5968:11-5971:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5973:11-5976:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5979:11-5982:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5984:11-5987:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01565/0.5952, allocations: 3.415 MB / 448.4 MB, free: 8.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5952, allocations: 0 / 448.4 MB, free: 8.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.628e-05/0.5953, allocations: 4 kB / 448.4 MB, free: 8.336 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006498/0.5959, allocations: 398.1 kB / 448.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.527e-05/0.596, allocations: 8.031 kB / 448.8 MB, free: 7.895 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.137e-05/0.5961, allocations: 50.5 kB / 448.9 MB, free: 7.836 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003936/0.5965, allocations: 35.88 kB / 448.9 MB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.5967, allocations: 183 kB / 449.1 MB, free: 7.582 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.167e-05/0.5968, allocations: 13.39 kB / 449.1 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.5968, allocations: 8 kB / 449.1 MB, free: 7.562 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004237/0.5972, allocations: 168 kB / 449.3 MB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.377e-05/0.5973, allocations: 3.984 kB / 449.3 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.5973, allocations: 4 kB / 449.3 MB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-05/0.5974, allocations: 11.95 kB / 449.3 MB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003057/0.5977, allocations: 111.9 kB / 449.4 MB, free: 7.254 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001232/0.5989, allocations: 0.6414 MB / 450 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003856/0.5993, allocations: 98.69 kB / 450.1 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.974e-05/0.5994, allocations: 24.86 kB / 450.2 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.462e-05/0.5995, allocations: 0 / 450.2 MB, free: 6.41 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.5995, allocations: 42.55 kB / 450.2 MB, free: 6.359 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.5995, allocations: 0 / 450.2 MB, free: 6.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002703/0.5998, allocations: 77.53 kB / 450.3 MB, free: 6.277 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.649e-05/0.5999, allocations: 59.34 kB / 450.3 MB, free: 6.207 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.6, allocations: 111 kB / 450.5 MB, free: 6.09 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.048e-05/0.6, allocations: 25.7 kB / 450.5 MB, free: 6.059 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001107/0.6001, allocations: 194.3 kB / 450.7 MB, free: 5.863 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.274e-05/0.6002, allocations: 23.66 kB / 450.7 MB, free: 5.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.146e-05/0.6002, allocations: 4 kB / 450.7 MB, free: 5.836 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.6004, allocations: 318.8 kB / 451 MB, free: 5.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.127e-05/0.6005, allocations: 27.94 kB / 451 MB, free: 5.488 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001319/0.6006, allocations: 88.3 kB / 451.1 MB, free: 5.375 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001158/0.6007, allocations: 36.12 kB / 451.2 MB, free: 5.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.6007, allocations: 0 / 451.2 MB, free: 5.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00031/0.6011, allocations: 133.4 kB / 451.3 MB, free: 5.203 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.6011, allocations: 4 kB / 451.3 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.6011, allocations: 4 kB / 451.3 MB, free: 5.195 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.6011, allocations: 4 kB / 451.3 MB, free: 5.191 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000325/0.6015, allocations: 45.47 kB / 451.3 MB, free: 5.148 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.6015, allocations: 4 kB / 451.3 MB, free: 5.145 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.6017, allocations: 27.84 kB / 451.4 MB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.6017, allocations: 4 kB / 451.4 MB, free: 5.113 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 9.286e-05/0.6018, allocations: 118.3 kB / 451.5 MB, free: 4.992 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.811e-05/0.6019, allocations: 4 kB / 451.5 MB, free: 4.988 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.6021, allocations: 94.28 kB / 451.6 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.235e-06/0.6022, allocations: 11.98 kB / 451.6 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.6022, allocations: 0 / 451.6 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.6022, allocations: 0 / 451.6 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.6025, allocations: 201.5 kB / 451.8 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.6025, allocations: 3 kB / 451.8 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002598/0.6028, allocations: 35.91 kB / 451.8 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.6028, allocations: 0 / 451.8 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.6028, allocations: 0 / 451.8 MB, free: 4.594 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.6028, allocations: 4 kB / 451.8 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.6028, allocations: 0 / 451.8 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002614/0.6031, allocations: 187.4 kB / 452 MB, free: 4.391 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.894e-05/0.6032, allocations: 77.11 kB / 452.1 MB, free: 4.297 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.486e-05/0.6032, allocations: 7.922 kB / 452.1 MB, free: 4.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001628/0.6034, allocations: 8 kB / 452.1 MB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.6035, allocations: 11.98 kB / 452.1 MB, free: 4.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.6035, allocations: 4 kB / 452.1 MB, free: 4.266 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.422e-05/0.6036, allocations: 91.28 kB / 452.2 MB, free: 4.176 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6036, allocations: 0 / 452.2 MB, free: 4.176 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005969/0.6042, allocations: 35.83 kB / 452.3 MB, free: 4.141 MB / 378.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.0008288/0.605, allocations: 0.75 MB / 453 MB, free: 3.367 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003182/0.6054, allocations: 74.75 kB / 453.1 MB, free: 3.297 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6054, allocations: 0 / 453.1 MB, free: 3.297 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.6055, allocations: 35.92 kB / 453.1 MB, free: 3.262 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002893/0.6058, allocations: 0 / 453.1 MB, free: 3.262 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009245/0.6068, allocations: 210.2 kB / 453.3 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.6072, allocations: 0.7204 MB / 454 MB, free: 2.27 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001161/0.6074, allocations: 27.42 kB / 454.1 MB, free: 2.242 MB / 378.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6074, allocations: 0 / 454.1 MB, free: 2.242 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.528/3.135, allocations: 1.935 MB / 456 MB, free: 336 kB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat