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.534/2.534, allocations: 235 MB / 247.2 MB, free: 14.56 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.908e-05/3.892e-05, allocations: 0 / 305.1 MB, free: 5.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4115/0.4116, allocations: 54.85 MB / 359.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1717/0.5834, allocations: 90.04 MB / 449.9 MB, free: 6.777 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003459/0.5838, allocations: 96.53 kB / 450 MB, free: 6.684 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.07291/0.6567, allocations: 11.23 MB / 461.3 MB, free: 11.42 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.6568, allocations: 0 / 461.3 MB, free: 11.42 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.765e-05/0.6568, allocations: 4 kB / 461.3 MB, free: 11.41 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.001588/0.6584, allocations: 0.5802 MB / 461.9 MB, free: 10.79 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.638e-05/0.6585, allocations: 8.031 kB / 461.9 MB, free: 10.78 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001611/0.6587, allocations: 82.5 kB / 461.9 MB, free: 10.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.6588, allocations: 27.62 kB / 462 MB, free: 10.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004863/0.6593, allocations: 242.6 kB / 462.2 MB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.093e-05/0.6594, allocations: 20.78 kB / 462.2 MB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.412e-05/0.6595, allocations: 28 kB / 462.3 MB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001358/0.6608, allocations: 434 kB / 462.7 MB, free: 9.906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.6609, allocations: 5.5 kB / 462.7 MB, free: 9.902 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.855e-05/0.661, allocations: 19.88 kB / 462.7 MB, free: 9.883 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000113/0.6611, allocations: 40.75 kB / 462.7 MB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001579/0.6627, allocations: 0.5091 MB / 463.3 MB, free: 9.332 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004157/0.6669, allocations: 1.35 MB / 464.6 MB, free: 7.863 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001161/0.6681, allocations: 258.9 kB / 464.9 MB, free: 7.602 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003409/0.6684, allocations: 88.77 kB / 464.9 MB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.32e-05/0.6685, allocations: 8.062 kB / 465 MB, free: 7.504 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.6686, allocations: 35.88 kB / 465 MB, free: 7.461 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.797e-06/0.6686, allocations: 0 / 465 MB, free: 7.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009246/0.6695, allocations: 221.7 kB / 465.2 MB, free: 7.238 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.6696, allocations: 59.41 kB / 465.3 MB, free: 7.168 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001687/0.6698, allocations: 131.2 kB / 465.4 MB, free: 7.031 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.086e-05/0.6698, allocations: 29.7 kB / 465.4 MB, free: 6.996 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.67, allocations: 191.7 kB / 465.6 MB, free: 6.801 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.6701, allocations: 91.67 kB / 465.7 MB, free: 6.711 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.459e-05/0.6702, allocations: 4 kB / 465.7 MB, free: 6.707 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.6703, allocations: 326.8 kB / 466 MB, free: 6.379 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000235/0.6706, allocations: 75.97 kB / 466.1 MB, free: 6.305 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003139/0.6709, allocations: 154.2 kB / 466.2 MB, free: 6.117 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003017/0.6712, allocations: 99.86 kB / 466.3 MB, free: 6.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.6712, allocations: 4 kB / 466.3 MB, free: 6.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007962/0.672, allocations: 285.1 kB / 466.6 MB, free: 5.73 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.356e-05/0.6721, allocations: 8 kB / 466.6 MB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.6721, allocations: 0 / 466.6 MB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.116e-05/0.6721, allocations: 8.781 kB / 466.6 MB, free: 5.715 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001124/0.6733, allocations: 136.2 kB / 466.8 MB, free: 5.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001634/0.6749, allocations: 2.368 MB / 469.1 MB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003439/0.6753, allocations: 31.75 kB / 469.2 MB, free: 3.09 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-05/0.6754, allocations: 15.98 kB / 469.2 MB, free: 3.074 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.0001485/0.6755, allocations: 122.8 kB / 469.3 MB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.6756, allocations: 11.91 kB / 469.3 MB, free: 2.938 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001186/0.6768, allocations: 337.7 kB / 469.7 MB, free: 2.605 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.6768, allocations: 3.953 kB / 469.7 MB, free: 2.602 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.6768, allocations: 8 kB / 469.7 MB, free: 2.594 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.6769, allocations: 3.984 kB / 469.7 MB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006478/0.6775, allocations: 337.3 kB / 470 MB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.6775, allocations: 0 / 470 MB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.6786, allocations: 115.9 kB / 470.1 MB, free: 2.098 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.018e-05/0.6786, allocations: 4 kB / 470.1 MB, free: 2.094 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.166e-05/0.6787, allocations: 8 kB / 470.1 MB, free: 2.086 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001749/0.6804, allocations: 2.368 MB / 472.5 MB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6805, allocations: 0 / 472.5 MB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007322/0.6812, allocations: 339.5 kB / 472.8 MB, free: 15.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.911e-05/0.6813, allocations: 96.81 kB / 472.9 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/0.6814, allocations: 8 kB / 472.9 MB, free: 15.16 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.6816, allocations: 11.98 kB / 472.9 MB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.157e-05/0.6817, allocations: 32.05 kB / 473 MB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.6818, allocations: 12 kB / 473 MB, free: 15.1 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.731e-05/0.6819, allocations: 102.4 kB / 473.1 MB, free: 15 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6819, allocations: 7.938 kB / 473.1 MB, free: 15 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008928/0.6828, allocations: 187.4 kB / 473.3 MB, free: 14.81 MB / 410.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.001648/0.6845, allocations: 1.037 MB / 474.3 MB, free: 13.75 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001028/0.6855, allocations: 253.3 kB / 474.6 MB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.6856, allocations: 0 / 474.6 MB, free: 13.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006346/0.6862, allocations: 151.9 kB / 474.7 MB, free: 13.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002728/0.6865, allocations: 11.05 kB / 474.7 MB, free: 13.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.6882, allocations: 0.5408 MB / 475.3 MB, free: 12.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005387/0.6888, allocations: 0.8102 MB / 476.1 MB, free: 11.94 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005692/0.6893, allocations: 102.4 kB / 476.2 MB, free: 11.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002113/0.6896, allocations: 91.39 kB / 476.3 MB, free: 11.75 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6896, allocations: 0 / 476.3 MB, free: 11.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0365/0.7261, allocations: 6.779 MB / 483 MB, free: 5.059 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003913/0.7266, allocations: 225.7 kB / 483.3 MB, free: 4.797 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.82/3.547, allocations: 3.938 kB / 483.3 MB, free: 4.793 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