Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,tolerance=1e-05,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|MIN|A_cross|roughness|d_hyd|K.1.|L|eta|rho|input_mdot.1.|input_dp.1.|M_FLOW.1.|DP.1.|velocity.1.|Re.1.|DP_plot.1.|zeta_TOT.1.|lambda_FRI.1.|input_DP.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 2.148/2.148, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6e-05/6.025e-05, allocations: 4 kB / 304.9 MB, free: 5.629 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3356, allocations: 54.84 MB / 359.8 MB, free: 2.699 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1287/0.4643, allocations: 85.04 MB / 444.8 MB, free: 11.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.4647, allocations: 92.53 kB / 444.9 MB, free: 11.88 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.01463/0.4793, allocations: 3.414 MB / 448.3 MB, free: 8.473 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.832e-06/0.4794, allocations: 0 / 448.3 MB, free: 8.473 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.4794, allocations: 0 / 448.3 MB, free: 8.473 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.0005609/0.48, allocations: 402.1 kB / 448.7 MB, free: 8.035 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.48, allocations: 16.03 kB / 448.7 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003495/0.4804, allocations: 34.27 kB / 448.8 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002233/0.4806, allocations: 186.9 kB / 449 MB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.91e-05/0.4807, allocations: 7.984 kB / 449 MB, free: 7.758 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.4807, allocations: 12 kB / 449 MB, free: 7.746 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003547/0.4811, allocations: 161 kB / 449.1 MB, free: 7.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.296e-05/0.4811, allocations: 7.938 kB / 449.1 MB, free: 7.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.349e-05/0.4811, allocations: 7.984 kB / 449.1 MB, free: 7.559 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.815e-05/0.4812, allocations: 11.95 kB / 449.2 MB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.4815, allocations: 107.9 kB / 449.3 MB, free: 7.441 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001131/0.4826, allocations: 0.6368 MB / 449.9 MB, free: 6.734 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003421/0.483, allocations: 103.8 kB / 450 MB, free: 6.625 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.648e-05/0.4831, allocations: 24.86 kB / 450 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.689e-05/0.4831, allocations: 0 / 450 MB, free: 6.598 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.4831, allocations: 34.55 kB / 450.1 MB, free: 6.555 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.002e-06/0.4831, allocations: 0 / 450.1 MB, free: 6.555 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002534/0.4834, allocations: 77.59 kB / 450.1 MB, free: 6.473 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.4835, allocations: 59.34 kB / 450.2 MB, free: 6.402 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.4836, allocations: 109.2 kB / 450.3 MB, free: 6.285 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.4837, allocations: 37.62 kB / 450.3 MB, free: 6.242 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.4838, allocations: 194.4 kB / 450.5 MB, free: 6.047 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.132e-05/0.4838, allocations: 23.66 kB / 450.5 MB, free: 6.023 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.4839, allocations: 4 kB / 450.6 MB, free: 6.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001549/0.484, allocations: 314.8 kB / 450.9 MB, free: 5.703 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.204e-05/0.4841, allocations: 24 kB / 450.9 MB, free: 5.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001182/0.4842, allocations: 88.3 kB / 451 MB, free: 5.566 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.862e-05/0.4843, allocations: 48.67 kB / 451 MB, free: 5.523 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.133e-06/0.4844, allocations: 0 / 451 MB, free: 5.523 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002883/0.4847, allocations: 125.4 kB / 451.1 MB, free: 5.395 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.4847, allocations: 8 kB / 451.1 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.016e-06/0.4847, allocations: 0 / 451.1 MB, free: 5.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.4847, allocations: 4 kB / 451.1 MB, free: 5.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002583/0.485, allocations: 48.16 kB / 451.2 MB, free: 5.336 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.485, allocations: 4 kB / 451.2 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.4852, allocations: 23.94 kB / 451.2 MB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.578e-05/0.4853, allocations: 4 kB / 451.2 MB, free: 5.305 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 0.0001406/0.4854, allocations: 112.9 kB / 451.3 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.358e-05/0.4855, allocations: 7.844 kB / 451.3 MB, free: 5.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003781/0.4859, allocations: 109.3 kB / 451.5 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.329e-06/0.486, allocations: 0 / 451.5 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.486, allocations: 0 / 451.5 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.565e-06/0.486, allocations: 1.406 kB / 451.5 MB, free: 5.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004561/0.4865, allocations: 201.5 kB / 451.7 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.804e-06/0.4865, allocations: 0 / 451.7 MB, free: 4.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003034/0.4868, allocations: 31.97 kB / 451.7 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.4868, allocations: 0 / 451.7 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.4869, allocations: 8 kB / 451.7 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.456e-06/0.4869, allocations: 0 / 451.7 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.51e-06/0.4869, allocations: 0 / 451.7 MB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.4871, allocations: 191.3 kB / 451.9 MB, free: 4.578 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.664e-05/0.4872, allocations: 81.11 kB / 452 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.435e-05/0.4873, allocations: 3.984 kB / 452 MB, free: 4.477 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.4874, allocations: 8 kB / 452 MB, free: 4.469 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.403e-05/0.4875, allocations: 11.97 kB / 452 MB, free: 4.457 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.4875, allocations: 8 kB / 452 MB, free: 4.449 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.429e-05/0.4876, allocations: 91.28 kB / 452.1 MB, free: 4.359 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.94e-07/0.4876, allocations: 3.938 kB / 452.1 MB, free: 4.355 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003712/0.488, allocations: 35.83 kB / 452.1 MB, free: 4.32 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.0001736/0.4882, allocations: 113.4 kB / 452.2 MB, free: 4.203 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002118/0.4884, allocations: 79.84 kB / 452.3 MB, free: 4.125 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.4884, allocations: 3.938 kB / 452.3 MB, free: 4.121 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.599e-05/0.4885, allocations: 28 kB / 452.3 MB, free: 4.094 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000194/0.4887, allocations: 3.953 kB / 452.3 MB, free: 4.09 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003963/0.4891, allocations: 168.6 kB / 452.5 MB, free: 3.898 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003883/0.4895, allocations: 0.7126 MB / 453.2 MB, free: 3.16 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.615e-05/0.4896, allocations: 19.44 kB / 453.2 MB, free: 3.141 MB / 378.7 MB Notification: Performance of SimCode: time 1.402e-06/0.4896, allocations: 0 / 453.2 MB, free: 3.141 MB / 378.7 MB Notification: Performance of Templates: time 0.003721/0.4933, allocations: 1.48 MB / 454.7 MB, free: 1.684 MB / 378.7 MB