Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.339/2.339, allocations: 209.3 MB / 221.5 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.595e-05/5.606e-05, allocations: 8 kB / 273.2 MB, free: 116 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1119, allocations: 48.71 MB / 321.9 MB, free: 15.31 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.454/0.566, allocations: 78.65 MB / 400.6 MB, free: 10.85 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003983/0.5664, allocations: 95.92 kB / 400.7 MB, free: 10.75 MB / 330.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.01703/0.5835, allocations: 3.399 MB / 404.1 MB, free: 7.348 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.21e-06/0.5835, allocations: 0 / 404.1 MB, free: 7.348 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.557e-05/0.5836, allocations: 11.94 kB / 404.1 MB, free: 7.336 MB / 330.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.0007228/0.5843, allocations: 398.2 kB / 404.5 MB, free: 6.902 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/0.5844, allocations: 8.031 kB / 404.5 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.28e-05/0.5845, allocations: 46.55 kB / 404.5 MB, free: 6.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004391/0.5849, allocations: 35.88 kB / 404.5 MB, free: 6.805 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002704/0.5852, allocations: 194.9 kB / 404.7 MB, free: 6.574 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.5852, allocations: 8 kB / 404.7 MB, free: 6.566 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.398e-05/0.5853, allocations: 15.98 kB / 404.8 MB, free: 6.551 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004303/0.5857, allocations: 156.1 kB / 404.9 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.5858, allocations: 3.938 kB / 404.9 MB, free: 6.379 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.611e-05/0.5858, allocations: 8 kB / 404.9 MB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-05/0.5858, allocations: 8 kB / 404.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000308/0.5862, allocations: 99.95 kB / 405 MB, free: 6.266 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.5876, allocations: 0.6601 MB / 405.7 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004344/0.5881, allocations: 94.64 kB / 405.8 MB, free: 5.434 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.953e-05/0.5882, allocations: 24.86 kB / 405.8 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.262e-05/0.5882, allocations: 0 / 405.8 MB, free: 5.406 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.906e-05/0.5883, allocations: 43.48 kB / 405.8 MB, free: 5.355 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.903e-06/0.5883, allocations: 0 / 405.8 MB, free: 5.355 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.000323/0.5886, allocations: 77.59 kB / 405.9 MB, free: 5.273 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.5887, allocations: 55.39 kB / 406 MB, free: 5.207 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001576/0.5888, allocations: 113.2 kB / 406.1 MB, free: 5.086 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.5889, allocations: 29.64 kB / 406.1 MB, free: 5.051 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.589, allocations: 119.9 kB / 406.2 MB, free: 4.926 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.72e-05/0.5891, allocations: 27.8 kB / 406.3 MB, free: 4.898 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.133e-05/0.5891, allocations: 7.938 kB / 406.3 MB, free: 4.891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.5893, allocations: 322.8 kB / 406.6 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001004/0.5894, allocations: 24 kB / 406.6 MB, free: 4.543 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.5895, allocations: 83.64 kB / 406.7 MB, free: 4.434 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001401/0.5897, allocations: 39.88 kB / 406.7 MB, free: 4.395 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.725e-06/0.5897, allocations: 4 kB / 406.7 MB, free: 4.391 MB / 330.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003741/0.5901, allocations: 125.6 kB / 406.9 MB, free: 4.262 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.858e-05/0.5901, allocations: 8 kB / 406.9 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.5902, allocations: 0 / 406.9 MB, free: 4.254 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/0.5902, allocations: 7.984 kB / 406.9 MB, free: 4.246 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004113/0.5906, allocations: 39.92 kB / 406.9 MB, free: 4.207 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.381e-05/0.5907, allocations: 4 kB / 406.9 MB, free: 4.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001976/0.5909, allocations: 20.02 kB / 406.9 MB, free: 4.184 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.273e-05/0.5909, allocations: 12 kB / 406.9 MB, free: 4.172 MB / 330.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.0001153/0.591, allocations: 112.9 kB / 407.1 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.559e-05/0.5911, allocations: 11.84 kB / 407.1 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.5914, allocations: 98.81 kB / 407.2 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.879e-06/0.5915, allocations: 0 / 407.2 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5915, allocations: 0 / 407.2 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5915, allocations: 0 / 407.2 MB, free: 3.945 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/0.5918, allocations: 201.6 kB / 407.4 MB, free: 3.699 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.5918, allocations: 3.953 kB / 407.4 MB, free: 3.695 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002973/0.5921, allocations: 31.97 kB / 407.4 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.5922, allocations: 0 / 407.4 MB, free: 3.664 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.5922, allocations: 7.938 kB / 407.4 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.5922, allocations: 0 / 407.4 MB, free: 3.656 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.5922, allocations: 4.234 kB / 407.4 MB, free: 3.652 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.5926, allocations: 191.4 kB / 407.6 MB, free: 3.449 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.781e-05/0.5927, allocations: 92.95 kB / 407.7 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.5927, allocations: 0 / 407.7 MB, free: 3.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/0.5929, allocations: 8 kB / 407.7 MB, free: 3.332 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.308e-05/0.593, allocations: 3.984 kB / 407.7 MB, free: 3.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.593, allocations: 8 kB / 407.7 MB, free: 3.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.824e-05/0.5931, allocations: 91.27 kB / 407.8 MB, free: 3.23 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.5931, allocations: 4 kB / 407.8 MB, free: 3.227 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004199/0.5936, allocations: 31.94 kB / 407.8 MB, free: 3.195 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.0007862/0.5944, allocations: 0.7435 MB / 408.6 MB, free: 2.422 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003097/0.5947, allocations: 64.23 kB / 408.6 MB, free: 2.359 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.5947, allocations: 4.188 kB / 408.6 MB, free: 2.355 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.5948, allocations: 31.92 kB / 408.7 MB, free: 2.324 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002648/0.5951, allocations: 11.98 kB / 408.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007456/0.5959, allocations: 187.2 kB / 408.9 MB, free: 2.094 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003789/0.5963, allocations: 0.7199 MB / 409.6 MB, free: 1.348 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001979/0.5965, allocations: 28.39 kB / 409.6 MB, free: 1.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.65e-05/0.5966, allocations: 35.42 kB / 409.6 MB, free: 1.285 MB / 330.7 MB Notification: Performance of SimCode: time 1.322e-06/0.5966, allocations: 0 / 409.6 MB, free: 1.285 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07699/0.6736, allocations: 2.373 MB / 412 MB, free: 15.01 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002267/0.6739, allocations: 204.8 kB / 412.2 MB, free: 14.78 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.587/3.261, allocations: 0 / 412.2 MB, free: 14.78 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat