Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.348/2.348, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.754e-05/3.765e-05, allocations: 5.766 kB / 348.5 MB, free: 10.7 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1281/0.1282, allocations: 61.88 MB / 410.4 MB, free: 12.88 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4946/0.6229, allocations: 96.16 MB / 0.4947 GB, free: 7.762 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003323/0.6232, allocations: 97.12 kB / 0.4948 GB, free: 7.668 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:6132:11-6138: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 trunk/Fluid/Dissipation.mo:6140:11-6143: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 trunk/Fluid/Dissipation.mo:6146:11-6152: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 trunk/Fluid/Dissipation.mo:6154:11-6157: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.07219/0.6955, allocations: 11.53 MB / 0.506 GB, free: 12.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.063e-06/0.6955, allocations: 0 / 0.506 GB, free: 12.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.912e-05/0.6955, allocations: 4 kB / 0.506 GB, free: 12.07 MB / 426.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.001592/0.6972, allocations: 0.5724 MB / 0.5066 GB, free: 11.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.726e-05/0.6972, allocations: 8.031 kB / 0.5066 GB, free: 11.45 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001655/0.6974, allocations: 78.52 kB / 0.5067 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.6976, allocations: 27.62 kB / 0.5067 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005219/0.6981, allocations: 250.5 kB / 0.5069 GB, free: 11.05 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.183e-05/0.6982, allocations: 20.77 kB / 0.507 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001048/0.6983, allocations: 28 kB / 0.507 GB, free: 11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001415/0.6997, allocations: 438 kB / 0.5074 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/0.6997, allocations: 3.984 kB / 0.5074 GB, free: 10.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.782e-05/0.6998, allocations: 12 kB / 0.5074 GB, free: 10.56 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/0.6999, allocations: 36.75 kB / 0.5075 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001672/0.7016, allocations: 0.5091 MB / 0.5079 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004048/0.7057, allocations: 1.349 MB / 0.5093 GB, free: 8.543 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.7068, allocations: 264.7 kB / 0.5095 GB, free: 8.277 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.7072, allocations: 89.25 kB / 0.5096 GB, free: 8.188 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.823e-05/0.7073, allocations: 4 kB / 0.5096 GB, free: 8.184 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.7073, allocations: 38.5 kB / 0.5096 GB, free: 8.137 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 4.037e-06/0.7073, allocations: 3.938 kB / 0.5096 GB, free: 8.133 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009308/0.7083, allocations: 226.8 kB / 0.5099 GB, free: 7.906 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.7083, allocations: 55.41 kB / 0.5099 GB, free: 7.84 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001973/0.7086, allocations: 129.8 kB / 0.51 GB, free: 7.703 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.873e-05/0.7086, allocations: 29.7 kB / 0.5101 GB, free: 7.668 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.7088, allocations: 196.2 kB / 0.5103 GB, free: 7.469 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.709, allocations: 86.75 kB / 0.5103 GB, free: 7.383 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.709, allocations: 8 kB / 0.5103 GB, free: 7.375 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001788/0.7092, allocations: 322.8 kB / 0.5107 GB, free: 7.051 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003276/0.7096, allocations: 79.83 kB / 0.5107 GB, free: 6.973 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003783/0.71, allocations: 150.2 kB / 0.5109 GB, free: 6.789 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002995/0.7103, allocations: 102.9 kB / 0.511 GB, free: 6.691 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.7103, allocations: 4 kB / 0.511 GB, free: 6.688 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007859/0.7111, allocations: 285.1 kB / 0.5112 GB, free: 6.402 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.211e-05/0.7111, allocations: 8 kB / 0.5113 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.7111, allocations: 0 / 0.5113 GB, free: 6.395 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.7112, allocations: 11.95 kB / 0.5113 GB, free: 6.383 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/0.7123, allocations: 136.2 kB / 0.5114 GB, free: 6.25 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.7139, allocations: 2.356 MB / 0.5137 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003324/0.7143, allocations: 39.67 kB / 0.5137 GB, free: 3.762 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.571e-05/0.7143, allocations: 15.98 kB / 0.5137 GB, free: 3.746 MB / 426.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.0001393/0.7145, allocations: 120.9 kB / 0.5139 GB, free: 3.621 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/0.7145, allocations: 16.09 kB / 0.5139 GB, free: 3.605 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.7157, allocations: 341.8 kB / 0.5142 GB, free: 3.266 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.7157, allocations: 11.98 kB / 0.5142 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/0.7158, allocations: 0 / 0.5142 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.7158, allocations: 7.922 kB / 0.5142 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006241/0.7164, allocations: 341.3 kB / 0.5146 GB, free: 2.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.7164, allocations: 3.953 kB / 0.5146 GB, free: 2.859 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009635/0.7174, allocations: 123.8 kB / 0.5147 GB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.003e-06/0.7174, allocations: 0 / 0.5147 GB, free: 2.738 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.265e-05/0.7175, allocations: 8 kB / 0.5147 GB, free: 2.73 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001499/0.719, allocations: 2.364 MB / 0.517 GB, free: 280 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.719, allocations: 0 / 0.517 GB, free: 280 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.7197, allocations: 341.2 kB / 0.5173 GB, free: 15.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.195e-05/0.7198, allocations: 92.86 kB / 0.5174 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.675e-05/0.7199, allocations: 8 kB / 0.5174 GB, free: 15.81 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000294/0.7202, allocations: 16.08 kB / 0.5174 GB, free: 15.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.156e-05/0.7203, allocations: 23.97 kB / 0.5174 GB, free: 15.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/0.7203, allocations: 8 kB / 0.5175 GB, free: 15.76 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.284e-05/0.7204, allocations: 103.3 kB / 0.5176 GB, free: 15.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.6e-07/0.7205, allocations: 0 / 0.5176 GB, free: 15.66 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008588/0.7213, allocations: 179.5 kB / 0.5177 GB, free: 15.48 MB / 442.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.001564/0.7229, allocations: 1.039 MB / 0.5187 GB, free: 14.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009954/0.7239, allocations: 252.4 kB / 0.519 GB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.7239, allocations: 0 / 0.519 GB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006166/0.7246, allocations: 143.9 kB / 0.5191 GB, free: 14.04 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.7248, allocations: 14.58 kB / 0.5191 GB, free: 14.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.7265, allocations: 0.5428 MB / 0.5197 GB, free: 13.45 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.727, allocations: 0.8138 MB / 0.5205 GB, free: 12.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000565/0.7276, allocations: 105.8 kB / 0.5206 GB, free: 12.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.7278, allocations: 87.39 kB / 0.5206 GB, free: 12.42 MB / 442.7 MB Notification: Performance of SimCode: time 1.182e-06/0.7278, allocations: 0 / 0.5206 GB, free: 12.42 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03631/0.7641, allocations: 6.773 MB / 0.5273 GB, free: 5.801 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/0.7644, allocations: 242.9 kB / 0.5275 GB, free: 5.527 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.611/3.375, allocations: 0 / 0.5275 GB, free: 5.527 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat