Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.509/2.509, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.349e-05/4.335e-05, allocations: 9.812 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1367/0.1368, allocations: 61.89 MB / 410.4 MB, free: 12.89 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5518/0.6887, allocations: 96.15 MB / 0.4947 GB, free: 7.801 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003757/0.6891, allocations: 96.94 kB / 0.4948 GB, free: 7.707 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 4.0.0/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 4.0.0/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 4.0.0/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 4.0.0/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.05854/0.7477, allocations: 11.53 MB / 0.506 GB, free: 12.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.7477, allocations: 0 / 0.506 GB, free: 12.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.52e-05/0.7477, allocations: 4 kB / 0.506 GB, free: 12.11 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.001265/0.749, allocations: 0.5724 MB / 0.5066 GB, free: 11.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/0.7491, allocations: 8.031 kB / 0.5066 GB, free: 11.48 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001191/0.7492, allocations: 82.45 kB / 0.5067 GB, free: 11.39 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.832e-05/0.7493, allocations: 35.62 kB / 0.5067 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003772/0.7497, allocations: 242.6 kB / 0.5069 GB, free: 11.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.7497, allocations: 20.77 kB / 0.5069 GB, free: 11.06 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.7e-05/0.7498, allocations: 28 kB / 0.507 GB, free: 11.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009993/0.7509, allocations: 438 kB / 0.5074 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.7509, allocations: 4 kB / 0.5074 GB, free: 10.6 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.041e-05/0.7509, allocations: 15.98 kB / 0.5074 GB, free: 10.58 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.14e-05/0.751, allocations: 40.75 kB / 0.5074 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.7522, allocations: 0.5129 MB / 0.508 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/0.7553, allocations: 1.334 MB / 0.5093 GB, free: 8.574 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008058/0.7561, allocations: 262.5 kB / 0.5095 GB, free: 8.309 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.7564, allocations: 89.27 kB / 0.5096 GB, free: 8.219 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.362e-05/0.7564, allocations: 16.3 kB / 0.5096 GB, free: 8.203 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.7565, allocations: 34.5 kB / 0.5096 GB, free: 8.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.705e-06/0.7565, allocations: 3.938 kB / 0.5096 GB, free: 8.156 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006604/0.7572, allocations: 222.8 kB / 0.5099 GB, free: 7.934 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.7572, allocations: 59.41 kB / 0.5099 GB, free: 7.863 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001461/0.7574, allocations: 129.8 kB / 0.51 GB, free: 7.727 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.52e-05/0.7574, allocations: 33.7 kB / 0.5101 GB, free: 7.688 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.7576, allocations: 187.8 kB / 0.5102 GB, free: 7.496 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.587e-05/0.7577, allocations: 86.75 kB / 0.5103 GB, free: 7.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.487e-05/0.7577, allocations: 8 kB / 0.5103 GB, free: 7.402 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.7578, allocations: 322.8 kB / 0.5106 GB, free: 7.078 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002189/0.7581, allocations: 75.83 kB / 0.5107 GB, free: 7.004 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002856/0.7584, allocations: 158.2 kB / 0.5109 GB, free: 6.812 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.7587, allocations: 102.9 kB / 0.511 GB, free: 6.715 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.7587, allocations: 0 / 0.511 GB, free: 6.715 MB / 426.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007535/0.7595, allocations: 285.1 kB / 0.5112 GB, free: 6.43 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.7595, allocations: 8 kB / 0.5112 GB, free: 6.422 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.7595, allocations: 0 / 0.5112 GB, free: 6.422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.7595, allocations: 11.95 kB / 0.5113 GB, free: 6.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.7606, allocations: 127.8 kB / 0.5114 GB, free: 6.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.7622, allocations: 2.368 MB / 0.5137 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003409/0.7625, allocations: 39.66 kB / 0.5137 GB, free: 3.785 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.247e-05/0.7626, allocations: 12 kB / 0.5137 GB, free: 3.773 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.0001516/0.7627, allocations: 128.9 kB / 0.5139 GB, free: 3.641 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.833e-05/0.7628, allocations: 11.91 kB / 0.5139 GB, free: 3.629 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.764, allocations: 353.3 kB / 0.5142 GB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.764, allocations: 4 kB / 0.5142 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.7641, allocations: 0 / 0.5142 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.7641, allocations: 4 kB / 0.5142 GB, free: 3.273 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006108/0.7647, allocations: 337.3 kB / 0.5145 GB, free: 2.895 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.7647, allocations: 3.953 kB / 0.5145 GB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009987/0.7657, allocations: 119.9 kB / 0.5147 GB, free: 2.773 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.343e-05/0.7658, allocations: 0 / 0.5147 GB, free: 2.773 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.413e-05/0.7658, allocations: 19.86 kB / 0.5147 GB, free: 2.754 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/0.7673, allocations: 2.356 MB / 0.517 GB, free: 312 kB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.7673, allocations: 0 / 0.517 GB, free: 312 kB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007083/0.768, allocations: 339.2 kB / 0.5173 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.224e-05/0.7681, allocations: 96.84 kB / 0.5174 GB, free: 15.84 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.7682, allocations: 12 kB / 0.5174 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002779/0.7685, allocations: 12 kB / 0.5174 GB, free: 15.82 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.596e-05/0.7686, allocations: 24.05 kB / 0.5174 GB, free: 15.8 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/0.7686, allocations: 12 kB / 0.5175 GB, free: 15.79 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.178e-05/0.7687, allocations: 99.27 kB / 0.5175 GB, free: 15.69 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.7687, allocations: 0 / 0.5175 GB, free: 15.69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008651/0.7696, allocations: 183.5 kB / 0.5177 GB, free: 15.51 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.001554/0.7712, allocations: 1.038 MB / 0.5187 GB, free: 14.45 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.7722, allocations: 241.2 kB / 0.519 GB, free: 14.21 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7722, allocations: 4 kB / 0.519 GB, free: 14.21 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006361/0.7729, allocations: 151.8 kB / 0.5191 GB, free: 14.06 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.7731, allocations: 15.94 kB / 0.5191 GB, free: 14.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001628/0.7748, allocations: 0.5395 MB / 0.5197 GB, free: 13.47 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004945/0.7753, allocations: 0.8099 MB / 0.5204 GB, free: 12.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005619/0.7759, allocations: 105.8 kB / 0.5205 GB, free: 12.54 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002168/0.7761, allocations: 87.39 kB / 0.5206 GB, free: 12.45 MB / 442.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7761, allocations: 0 / 0.5206 GB, free: 12.45 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03473/0.8108, allocations: 6.79 MB / 0.5273 GB, free: 5.82 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00029/0.8112, allocations: 229.2 kB / 0.5275 GB, free: 5.559 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.744/3.555, allocations: 0 / 0.5275 GB, free: 5.559 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat