Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.964/1.964, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.131e-05/4.145e-05, allocations: 4 kB / 273.2 MB, free: 136 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09977/0.09985, allocations: 48.71 MB / 321.9 MB, free: 15.33 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4381/0.538, allocations: 83.49 MB / 405.4 MB, free: 6.113 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003881/0.5384, allocations: 91.94 kB / 405.5 MB, free: 6.023 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6216:11-6222:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6224:11-6227:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6230:11-6236:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:6238:11-6241:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.05735/0.5958, allocations: 11.22 MB / 416.7 MB, free: 10.74 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5958, allocations: 0 / 416.7 MB, free: 10.74 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.663e-05/0.5958, allocations: 4 kB / 416.7 MB, free: 10.74 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001245/0.5971, allocations: 0.5879 MB / 417.3 MB, free: 10.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.5972, allocations: 8.031 kB / 417.3 MB, free: 10.1 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001166/0.5973, allocations: 70.53 kB / 417.4 MB, free: 10.02 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.567e-05/0.5974, allocations: 31.62 kB / 417.4 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003852/0.5978, allocations: 238.7 kB / 417.6 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.355e-05/0.5978, allocations: 24.77 kB / 417.6 MB, free: 9.691 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.604e-05/0.5979, allocations: 28 kB / 417.7 MB, free: 9.664 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/0.599, allocations: 447.5 kB / 418.1 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.599, allocations: 0 / 418.1 MB, free: 9.219 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.718e-05/0.5991, allocations: 15.94 kB / 418.1 MB, free: 9.203 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.71e-05/0.5992, allocations: 36.77 kB / 418.2 MB, free: 9.168 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.6004, allocations: 0.5183 MB / 418.7 MB, free: 8.648 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003173/0.6036, allocations: 1.345 MB / 420 MB, free: 7.184 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008382/0.6045, allocations: 274.4 kB / 420.3 MB, free: 6.906 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.6047, allocations: 80.83 kB / 420.4 MB, free: 6.824 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-05/0.6048, allocations: 15.98 kB / 420.4 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.6048, allocations: 30.56 kB / 420.4 MB, free: 6.77 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 3.115e-06/0.6048, allocations: 4 kB / 420.4 MB, free: 6.766 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006954/0.6055, allocations: 217.7 kB / 420.6 MB, free: 6.547 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.6056, allocations: 55.41 kB / 420.7 MB, free: 6.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.6058, allocations: 133.2 kB / 420.8 MB, free: 6.34 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.589e-05/0.6058, allocations: 29.7 kB / 420.8 MB, free: 6.305 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001508/0.606, allocations: 192 kB / 421 MB, free: 6.113 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001039/0.6061, allocations: 86.75 kB / 421.1 MB, free: 6.027 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.266e-05/0.6062, allocations: 4 kB / 421.1 MB, free: 6.023 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.6063, allocations: 326.8 kB / 421.4 MB, free: 5.695 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.6066, allocations: 79.81 kB / 421.5 MB, free: 5.617 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.6069, allocations: 158.2 kB / 421.7 MB, free: 5.426 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.6072, allocations: 100.1 kB / 421.8 MB, free: 5.328 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.6072, allocations: 4 kB / 421.8 MB, free: 5.324 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007851/0.608, allocations: 293.1 kB / 422.1 MB, free: 5.031 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.6081, allocations: 4 kB / 422.1 MB, free: 5.027 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/0.6081, allocations: 4 kB / 422.1 MB, free: 5.023 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.321e-05/0.6081, allocations: 15.86 kB / 422.1 MB, free: 5.008 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001088/0.6092, allocations: 136.2 kB / 422.2 MB, free: 4.875 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001696/0.6109, allocations: 2.356 MB / 424.6 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000359/0.6113, allocations: 39.77 kB / 424.6 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.6114, allocations: 15.95 kB / 424.6 MB, free: 2.371 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001544/0.6116, allocations: 125 kB / 424.7 MB, free: 2.242 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/0.6116, allocations: 11.91 kB / 424.8 MB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.6129, allocations: 350.3 kB / 425.1 MB, free: 1.883 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.6129, allocations: 4 kB / 425.1 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6129, allocations: 0 / 425.1 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.613, allocations: 0 / 425.1 MB, free: 1.879 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006736/0.6136, allocations: 349.2 kB / 425.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.957e-06/0.6137, allocations: 0 / 425.4 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.6147, allocations: 119.8 kB / 425.6 MB, free: 1.371 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.6147, allocations: 4 kB / 425.6 MB, free: 1.367 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.6148, allocations: 11.98 kB / 425.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001768/0.6165, allocations: 2.356 MB / 427.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.26e-06/0.6166, allocations: 4 kB / 427.9 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007265/0.6173, allocations: 339.2 kB / 428.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.591e-05/0.6174, allocations: 92.86 kB / 428.4 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.693e-05/0.6175, allocations: 11.98 kB / 428.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.6177, allocations: 12.19 kB / 428.4 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/0.6179, allocations: 27.92 kB / 428.4 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.846e-05/0.6179, allocations: 15.98 kB / 428.4 MB, free: 14.38 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001036/0.618, allocations: 96.53 kB / 428.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.618, allocations: 0 / 428.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008852/0.6189, allocations: 191.4 kB / 428.7 MB, free: 14.1 MB / 362.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001711/0.6207, allocations: 1.04 MB / 429.7 MB, free: 13.03 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001053/0.6217, allocations: 251.9 kB / 430 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.6218, allocations: 0 / 430 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006257/0.6224, allocations: 151.8 kB / 430.1 MB, free: 12.63 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002856/0.6227, allocations: 11.95 kB / 430.2 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001755/0.6245, allocations: 0.553 MB / 430.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005805/0.6251, allocations: 0.7984 MB / 431.5 MB, free: 11.21 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0005759/0.6257, allocations: 105.8 kB / 431.6 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002122/0.6259, allocations: 87.41 kB / 431.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6259, allocations: 0 / 431.7 MB, free: 11.02 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03694/0.6629, allocations: 6.798 MB / 438.5 MB, free: 4.332 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003802/0.6633, allocations: 231 kB / 438.7 MB, free: 4.055 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.671/3.334, allocations: 4 kB / 438.7 MB, free: 4.051 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat