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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW") Notification: Performance of loadModel(ModelicaTest): time 1.984/1.984, allocations: 209.3 MB / 222 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.433e-05/3.452e-05, allocations: 4 kB / 273.1 MB, free: 3.641 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.1207, allocations: 48.69 MB / 321.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3748/0.4956, allocations: 78.64 MB / 400.4 MB, free: 6.832 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.4959, allocations: 99.86 kB / 400.5 MB, free: 6.812 MB / 314.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1/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.1/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.1/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.01298/0.5089, allocations: 3.411 MB / 403.9 MB, free: 5.383 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.86e-06/0.509, allocations: 0 / 403.9 MB, free: 5.383 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.097e-05/0.509, allocations: 7.781 kB / 403.9 MB, free: 5.379 MB / 314.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.0004077/0.5094, allocations: 395.8 kB / 404.3 MB, free: 4.988 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.675e-05/0.5094, allocations: 11.72 kB / 404.3 MB, free: 4.984 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003196/0.5098, allocations: 31.25 kB / 404.4 MB, free: 4.973 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001523/0.5099, allocations: 189.9 kB / 404.6 MB, free: 4.762 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.51, allocations: 6.5 kB / 404.6 MB, free: 4.762 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.482e-05/0.51, allocations: 15.09 kB / 404.6 MB, free: 4.762 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002898/0.5103, allocations: 160.6 kB / 404.7 MB, free: 4.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.5103, allocations: 4 kB / 404.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.019e-05/0.5104, allocations: 3.375 kB / 404.7 MB, free: 4.676 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.994e-05/0.5104, allocations: 15.34 kB / 404.8 MB, free: 4.668 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002177/0.5106, allocations: 104.3 kB / 404.9 MB, free: 4.656 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008207/0.5115, allocations: 0.6502 MB / 405.5 MB, free: 4.078 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002741/0.5118, allocations: 99.3 kB / 405.6 MB, free: 4.035 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.364e-05/0.5119, allocations: 26.73 kB / 405.6 MB, free: 4.027 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.5119, allocations: 0 / 405.6 MB, free: 4.027 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.5119, allocations: 34.55 kB / 405.7 MB, free: 3.984 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 2.07e-06/0.5119, allocations: 0 / 405.7 MB, free: 3.984 MB / 314.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002204/0.5121, allocations: 80.91 kB / 405.7 MB, free: 3.945 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.97e-05/0.5122, allocations: 59.3 kB / 405.8 MB, free: 3.879 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.928e-05/0.5123, allocations: 111 kB / 405.9 MB, free: 3.781 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/0.5123, allocations: 29.7 kB / 405.9 MB, free: 3.746 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.097e-05/0.5124, allocations: 193.2 kB / 406.1 MB, free: 3.562 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.144e-05/0.5124, allocations: 23.31 kB / 406.2 MB, free: 3.547 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.127e-06/0.5124, allocations: 0 / 406.2 MB, free: 3.547 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.981e-05/0.5125, allocations: 322.6 kB / 406.5 MB, free: 3.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.868e-05/0.5125, allocations: 27.25 kB / 406.5 MB, free: 3.223 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.617e-05/0.5126, allocations: 84.22 kB / 406.6 MB, free: 3.141 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.78e-05/0.5127, allocations: 38.91 kB / 406.6 MB, free: 3.129 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.162e-06/0.5127, allocations: 4 kB / 406.6 MB, free: 3.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002345/0.513, allocations: 135.3 kB / 406.7 MB, free: 3.062 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.513, allocations: 7.656 kB / 406.8 MB, free: 3.062 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.646e-06/0.513, allocations: 3.938 kB / 406.8 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.513, allocations: 3.875 kB / 406.8 MB, free: 3.059 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000223/0.5133, allocations: 43.22 kB / 406.8 MB, free: 3.047 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.5133, allocations: 7.844 kB / 406.8 MB, free: 3.043 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.5134, allocations: 18.48 kB / 406.8 MB, free: 3.039 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.5135, allocations: 3.906 kB / 406.8 MB, free: 3.039 MB / 314.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 5.746e-05/0.5135, allocations: 115.1 kB / 406.9 MB, free: 2.93 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.14e-05/0.5136, allocations: 11.67 kB / 407 MB, free: 2.922 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.5138, allocations: 97.75 kB / 407.1 MB, free: 2.871 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.432e-06/0.5138, allocations: 7.859 kB / 407.1 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.93e-06/0.5138, allocations: 0 / 407.1 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.5139, allocations: 0 / 407.1 MB, free: 2.867 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.5141, allocations: 194.4 kB / 407.3 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.249e-06/0.5141, allocations: 0 / 407.3 MB, free: 2.664 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.5143, allocations: 31.12 kB / 407.3 MB, free: 2.656 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.656e-06/0.5143, allocations: 3.953 kB / 407.3 MB, free: 2.652 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.5143, allocations: 11.41 kB / 407.3 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.5143, allocations: 0 / 407.3 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.782e-06/0.5143, allocations: 0 / 407.3 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.5145, allocations: 185.8 kB / 407.5 MB, free: 2.504 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001221/0.5147, allocations: 81.02 kB / 407.6 MB, free: 18.41 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.421e-05/0.5147, allocations: 11.78 kB / 407.6 MB, free: 18.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.5148, allocations: 6.781 kB / 407.6 MB, free: 18.4 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.901e-05/0.5149, allocations: 11.86 kB / 407.6 MB, free: 18.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/0.5149, allocations: 0 / 407.6 MB, free: 18.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.41e-05/0.515, allocations: 90.28 kB / 407.7 MB, free: 18.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.14e-07/0.515, allocations: 0 / 407.7 MB, free: 18.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000361/0.5154, allocations: 41.52 kB / 407.7 MB, free: 18.3 MB / 330.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.0001733/0.5156, allocations: 116.5 kB / 407.8 MB, free: 18.21 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001815/0.5158, allocations: 81.72 kB / 407.9 MB, free: 18.19 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.496e-06/0.5158, allocations: 0 / 407.9 MB, free: 18.19 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.778e-05/0.5159, allocations: 29.69 kB / 407.9 MB, free: 18.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.5161, allocations: 10.97 kB / 407.9 MB, free: 18.18 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003621/0.5165, allocations: 168.7 kB / 408.1 MB, free: 18.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.5169, allocations: 0.7075 MB / 408.8 MB, free: 17.34 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.963e-05/0.5169, allocations: 22.34 kB / 408.8 MB, free: 17.32 MB / 330.7 MB Notification: Performance of SimCode: time 1.425e-06/0.5169, allocations: 0 / 408.8 MB, free: 17.32 MB / 330.7 MB Notification: Performance of Templates: time 0.003186/0.5201, allocations: 1.46 MB / 410.3 MB, free: 16.59 MB / 330.7 MB