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 2.205/2.205, allocations: 209.4 MB / 216.5 MB, free: 6.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.653e-05/2.663e-05, allocations: 4 kB / 267.7 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 48.7 MB / 316.4 MB, free: 4.141 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4611/0.5761, allocations: 83.05 MB / 399.4 MB, free: 9.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003529/0.5765, allocations: 98.73 kB / 399.5 MB, free: 9.465 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.05622/0.6327, allocations: 11.12 MB / 410.6 MB, free: 108 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.6328, allocations: 0 / 410.6 MB, free: 108 kB / 330.7 MB Notification: Performance of Transformations before backend: time 3.597e-05/0.6328, allocations: 7.938 kB / 410.6 MB, free: 100 kB / 330.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.001284/0.6341, allocations: 0.5822 MB / 411.2 MB, free: 15.49 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/0.6342, allocations: 12.03 kB / 411.2 MB, free: 15.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.164e-05/0.6343, allocations: 31.62 kB / 411.3 MB, free: 15.45 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.6347, allocations: 240.1 kB / 411.5 MB, free: 15.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.6348, allocations: 11.98 kB / 411.5 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.031e-05/0.6348, allocations: 16 kB / 411.5 MB, free: 15.15 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000892/0.6357, allocations: 399.5 kB / 411.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008727/0.6366, allocations: 401.9 kB / 412.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.6366, allocations: 0 / 412.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.035e-05/0.6367, allocations: 0 / 412.3 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.214e-05/0.6368, allocations: 48.31 kB / 412.3 MB, free: 14.53 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002894/0.6397, allocations: 1.266 MB / 413.6 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007274/0.6405, allocations: 252.5 kB / 413.9 MB, free: 13.08 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.6407, allocations: 75.52 kB / 413.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.866e-05/0.6408, allocations: 16.33 kB / 413.9 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.6408, allocations: 42.05 kB / 414 MB, free: 12.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 3.707e-06/0.6408, allocations: 0 / 414 MB, free: 12.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006132/0.6415, allocations: 206 kB / 414.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.6415, allocations: 51.41 kB / 414.2 MB, free: 12.72 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.6417, allocations: 134.4 kB / 414.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.105e-05/0.6417, allocations: 25.7 kB / 414.4 MB, free: 12.56 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.6419, allocations: 194.8 kB / 414.6 MB, free: 12.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.505e-05/0.642, allocations: 83.94 kB / 414.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.087e-05/0.642, allocations: 0 / 414.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6422, allocations: 326.6 kB / 415 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001815/0.6424, allocations: 73.31 kB / 415.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002473/0.6427, allocations: 151 kB / 415.2 MB, free: 11.76 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002393/0.6429, allocations: 93.17 kB / 415.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.6429, allocations: 0 / 415.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0006544/0.6436, allocations: 259.6 kB / 415.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.6436, allocations: 11.95 kB / 415.6 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.6436, allocations: 3.938 kB / 415.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.6437, allocations: 8.344 kB / 415.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/0.6448, allocations: 130.8 kB / 415.7 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/0.6465, allocations: 2.371 MB / 418.1 MB, free: 8.852 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003445/0.6469, allocations: 23.75 kB / 418.1 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-05/0.647, allocations: 19.42 kB / 418.1 MB, free: 8.812 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.0001562/0.6471, allocations: 119.8 kB / 418.2 MB, free: 8.691 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005307/0.6477, allocations: 214.2 kB / 418.4 MB, free: 8.504 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.024e-05/0.6478, allocations: 15.89 kB / 418.5 MB, free: 8.488 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001066/0.6488, allocations: 318.7 kB / 418.8 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.206e-06/0.6489, allocations: 4 kB / 418.8 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.6489, allocations: 0 / 418.8 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.6489, allocations: 0 / 418.8 MB, free: 8.215 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000495/0.6494, allocations: 273.3 kB / 419 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/0.6494, allocations: 4 kB / 419 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000987/0.6504, allocations: 123.8 kB / 419.2 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.6504, allocations: 4 kB / 419.2 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.811e-05/0.6505, allocations: 4 kB / 419.2 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.652, allocations: 2.354 MB / 421.5 MB, free: 5.379 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.6521, allocations: 7.984 kB / 421.5 MB, free: 5.371 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006057/0.6527, allocations: 327.4 kB / 421.9 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/0.6528, allocations: 96.8 kB / 421.9 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.298e-05/0.6528, allocations: 0 / 421.9 MB, free: 4.957 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002657/0.6531, allocations: 15.8 kB / 422 MB, free: 4.945 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.993e-05/0.6532, allocations: 19.97 kB / 422 MB, free: 4.926 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.61e-05/0.6533, allocations: 23.19 kB / 422 MB, free: 4.906 MB / 346.7 MB Notification: Performance of sorting global known variables: time 7.968e-05/0.6534, allocations: 91.09 kB / 422.1 MB, free: 4.82 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6534, allocations: 0 / 422.1 MB, free: 4.82 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008871/0.6543, allocations: 182 kB / 422.3 MB, free: 4.645 MB / 346.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.001441/0.6557, allocations: 1.008 MB / 423.3 MB, free: 3.645 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008793/0.6566, allocations: 240.9 kB / 423.5 MB, free: 3.445 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.6567, allocations: 0 / 423.5 MB, free: 3.445 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005905/0.6573, allocations: 136.7 kB / 423.6 MB, free: 3.328 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002469/0.6575, allocations: 8.438 kB / 423.7 MB, free: 3.324 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001505/0.659, allocations: 0.5296 MB / 424.2 MB, free: 2.781 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005402/0.6596, allocations: 0.8047 MB / 425 MB, free: 1.953 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005713/0.6602, allocations: 101.8 kB / 425.1 MB, free: 1.855 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001963/0.6604, allocations: 90.33 kB / 425.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6604, allocations: 0 / 425.2 MB, free: 1.82 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0454/0.7058, allocations: 6.099 MB / 431.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003471/0.7063, allocations: 196.3 kB / 431.5 MB, free: 11.53 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.831/3.537, allocations: 0 / 431.5 MB, free: 11.53 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