Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.496/2.496, allocations: 235.1 MB / 242.2 MB, free: 15.86 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.367e-05/2.365e-05, allocations: 0 / 299.5 MB, free: 6.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.414/0.414, allocations: 54.86 MB / 354.4 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2064/0.6205, allocations: 89.37 MB / 443.7 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003818/0.6209, allocations: 99.92 kB / 443.8 MB, free: 8.746 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.05703/0.678, allocations: 11.13 MB / 455 MB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.678, allocations: 0 / 455 MB, free: 13.54 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.498e-05/0.6781, allocations: 4 kB / 455 MB, free: 13.54 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001324/0.6794, allocations: 0.5918 MB / 455.6 MB, free: 12.9 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.6795, allocations: 8.031 kB / 455.6 MB, free: 12.89 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.735e-05/0.6796, allocations: 27.62 kB / 455.6 MB, free: 12.86 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003946/0.68, allocations: 242.6 kB / 455.8 MB, free: 12.59 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.68, allocations: 12 kB / 455.8 MB, free: 12.57 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.166e-05/0.6801, allocations: 16 kB / 455.9 MB, free: 12.56 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009099/0.681, allocations: 397.4 kB / 456.2 MB, free: 12.17 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009117/0.682, allocations: 402 kB / 456.6 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.682, allocations: 3.953 kB / 456.6 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.877e-05/0.682, allocations: 0 / 456.6 MB, free: 11.77 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.536e-05/0.6821, allocations: 44.75 kB / 456.7 MB, free: 11.72 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002986/0.6851, allocations: 1.272 MB / 458 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007713/0.686, allocations: 242.8 kB / 458.2 MB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001993/0.6862, allocations: 84.81 kB / 458.3 MB, free: 10.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.919e-05/0.6863, allocations: 8.141 kB / 458.3 MB, free: 10 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/0.6863, allocations: 34.5 kB / 458.3 MB, free: 9.961 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 2.836e-06/0.6863, allocations: 0 / 458.3 MB, free: 9.961 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006433/0.687, allocations: 209.8 kB / 458.5 MB, free: 9.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.687, allocations: 51.41 kB / 458.6 MB, free: 9.688 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.6872, allocations: 127 kB / 458.7 MB, free: 9.555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.6872, allocations: 25.7 kB / 458.7 MB, free: 9.523 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.6874, allocations: 199.9 kB / 458.9 MB, free: 9.32 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.6875, allocations: 86.75 kB / 459 MB, free: 9.234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.127e-05/0.6875, allocations: 0 / 459 MB, free: 9.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.6877, allocations: 326.8 kB / 459.3 MB, free: 8.906 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.6879, allocations: 63.97 kB / 459.4 MB, free: 8.844 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002531/0.6881, allocations: 150.2 kB / 459.5 MB, free: 8.66 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.6884, allocations: 104 kB / 459.6 MB, free: 8.559 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.6884, allocations: 0 / 459.6 MB, free: 8.559 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006915/0.6891, allocations: 265.1 kB / 459.9 MB, free: 8.293 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.6892, allocations: 4 kB / 459.9 MB, free: 8.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.6892, allocations: 4.344 kB / 459.9 MB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.312e-05/0.6892, allocations: 8 kB / 459.9 MB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.6903, allocations: 135.8 kB / 460 MB, free: 8.145 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.692, allocations: 2.367 MB / 462.4 MB, free: 5.684 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000354/0.6925, allocations: 31.67 kB / 462.4 MB, free: 5.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.419e-05/0.6925, allocations: 12.28 kB / 462.4 MB, free: 5.641 MB / 394.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.0001547/0.6927, allocations: 126.2 kB / 462.6 MB, free: 5.512 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005835/0.6933, allocations: 197.4 kB / 462.8 MB, free: 5.312 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.587e-05/0.6933, allocations: 15.81 kB / 462.8 MB, free: 5.297 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001122/0.6945, allocations: 325.9 kB / 463.1 MB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-05/0.6945, allocations: 7.953 kB / 463.1 MB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.6945, allocations: 0 / 463.1 MB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.6946, allocations: 0 / 463.1 MB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005403/0.6951, allocations: 269.9 kB / 463.4 MB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.6951, allocations: 0 / 463.4 MB, free: 4.668 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.6962, allocations: 115.9 kB / 463.5 MB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.6962, allocations: 3.938 kB / 463.5 MB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.732e-05/0.6962, allocations: 7.984 kB / 463.5 MB, free: 4.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001555/0.6978, allocations: 2.367 MB / 465.9 MB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.551e-06/0.6979, allocations: 0 / 465.9 MB, free: 2.082 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006604/0.6985, allocations: 327.5 kB / 466.2 MB, free: 1.746 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.571e-05/0.6986, allocations: 96.86 kB / 466.3 MB, free: 1.633 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.173e-05/0.6987, allocations: 3.953 kB / 466.3 MB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.699, allocations: 11.98 kB / 466.3 MB, free: 1.617 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-05/0.6991, allocations: 23.97 kB / 466.3 MB, free: 1.594 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-05/0.6991, allocations: 8 kB / 466.3 MB, free: 1.586 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.991e-05/0.6992, allocations: 99.27 kB / 466.4 MB, free: 1.488 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6993, allocations: 0 / 466.4 MB, free: 1.488 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008871/0.7002, allocations: 183.4 kB / 466.6 MB, free: 1.309 MB / 394.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.001669/0.7018, allocations: 1.017 MB / 467.6 MB, free: 268 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.7029, allocations: 232.1 kB / 467.8 MB, free: 36 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.7029, allocations: 0 / 467.8 MB, free: 36 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006431/0.7036, allocations: 152.5 kB / 468 MB, free: 15.89 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.7039, allocations: 11.89 kB / 468 MB, free: 15.88 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001766/0.7057, allocations: 0.511 MB / 468.5 MB, free: 15.33 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005799/0.7063, allocations: 0.8101 MB / 469.3 MB, free: 14.49 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0006204/0.707, allocations: 101.8 kB / 469.4 MB, free: 14.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002286/0.7072, allocations: 91.39 kB / 469.5 MB, free: 14.3 MB / 410.7 MB Notification: Performance of SimCode: time 9.768e-06/0.7072, allocations: 0 / 469.5 MB, free: 14.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04999/0.7572, allocations: 6.094 MB / 475.6 MB, free: 8.234 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003959/0.7577, allocations: 200.3 kB / 475.8 MB, free: 8.035 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.795/3.552, allocations: 0 / 475.8 MB, free: 8.035 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat