Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.575/2.575, allocations: 235 MB / 247.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.957e-05/3.984e-05, allocations: 0.9375 kB / 305 MB, free: 5.055 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4319/0.432, allocations: 54.85 MB / 359.9 MB, free: 3.188 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1898/0.6218, allocations: 87.77 MB / 447.7 MB, free: 9.133 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000528/0.6224, allocations: 97.06 kB / 447.8 MB, free: 9.039 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd - DAE generated: time 0.05029/0.6727, allocations: 8.884 MB / 456.6 MB, free: 84 kB / 378.7 MB Notification: Performance of FrontEnd: time 5.009e-06/0.6728, allocations: 0 / 456.6 MB, free: 84 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.505e-05/0.6728, allocations: 7.938 kB / 456.6 MB, free: 76 kB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009365/0.6738, allocations: 0.5295 MB / 457.2 MB, free: 15.5 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.321e-05/0.6738, allocations: 8.031 kB / 457.2 MB, free: 15.49 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001272/0.674, allocations: 78.53 kB / 457.3 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.495e-05/0.6741, allocations: 31.62 kB / 457.3 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.6745, allocations: 230.7 kB / 457.5 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.797e-05/0.6745, allocations: 28.77 kB / 457.5 MB, free: 15.08 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.624e-05/0.6746, allocations: 32 kB / 457.6 MB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.6757, allocations: 458.8 kB / 458 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.974e-05/0.6757, allocations: 4 kB / 458 MB, free: 14.58 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.836e-05/0.6758, allocations: 19.95 kB / 458 MB, free: 14.56 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.791e-05/0.6758, allocations: 20.77 kB / 458.1 MB, free: 14.54 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009016/0.6768, allocations: 390.9 kB / 458.4 MB, free: 14.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002433/0.6792, allocations: 1.214 MB / 459.7 MB, free: 12.85 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001982/0.6795, allocations: 62.5 kB / 459.7 MB, free: 12.78 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.979e-05/0.6796, allocations: 32.84 kB / 459.8 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.002e-05/0.6796, allocations: 0 / 459.8 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.6797, allocations: 30.56 kB / 459.8 MB, free: 12.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.984e-06/0.6797, allocations: 4 kB / 459.8 MB, free: 12.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003806/0.6801, allocations: 103.1 kB / 459.9 MB, free: 12.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.657e-05/0.6801, allocations: 51.41 kB / 459.9 MB, free: 12.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.6803, allocations: 153.3 kB / 460.1 MB, free: 12.37 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.703e-05/0.6804, allocations: 29.7 kB / 460.1 MB, free: 12.34 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.6806, allocations: 215.2 kB / 460.3 MB, free: 12.12 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.6806, allocations: 31.64 kB / 460.4 MB, free: 12.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.553e-05/0.6806, allocations: 4 kB / 460.4 MB, free: 12.08 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.6808, allocations: 322.8 kB / 460.7 MB, free: 11.76 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001226/0.6809, allocations: 39.98 kB / 460.7 MB, free: 11.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.6812, allocations: 173.4 kB / 460.9 MB, free: 11.49 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001821/0.6814, allocations: 63.89 kB / 461 MB, free: 11.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.6814, allocations: 4 kB / 461 MB, free: 11.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005614/0.682, allocations: 221.1 kB / 461.2 MB, free: 11.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.649e-05/0.682, allocations: 8 kB / 461.2 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.682, allocations: 4 kB / 461.2 MB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.6821, allocations: 8.516 kB / 461.2 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/0.6827, allocations: 91.88 kB / 461.3 MB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001251/0.684, allocations: 1.786 MB / 463.1 MB, free: 9.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002644/0.6843, allocations: 23.84 kB / 463.1 MB, free: 9.215 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-05/0.6843, allocations: 19.98 kB / 463.1 MB, free: 9.195 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001524/0.6845, allocations: 122.6 kB / 463.2 MB, free: 9.07 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.776e-05/0.6846, allocations: 7.906 kB / 463.2 MB, free: 9.062 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007273/0.6853, allocations: 186 kB / 463.4 MB, free: 8.879 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.6853, allocations: 3.953 kB / 463.4 MB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.6853, allocations: 0 / 463.4 MB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6854, allocations: 0 / 463.4 MB, free: 8.875 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/0.6859, allocations: 293.6 kB / 463.7 MB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6859, allocations: 3.938 kB / 463.7 MB, free: 8.535 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004772/0.6864, allocations: 63.94 kB / 463.8 MB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.6864, allocations: 0 / 463.8 MB, free: 8.473 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.242e-05/0.6865, allocations: 4 kB / 463.8 MB, free: 8.469 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001189/0.6877, allocations: 1.774 MB / 465.6 MB, free: 6.625 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/0.6877, allocations: 8.062 kB / 465.6 MB, free: 6.617 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003585/0.6881, allocations: 195.6 kB / 465.8 MB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.6882, allocations: 92.95 kB / 465.8 MB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.555e-05/0.6882, allocations: 0 / 465.8 MB, free: 6.301 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.6884, allocations: 11.92 kB / 465.9 MB, free: 6.289 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.532e-05/0.6885, allocations: 23.88 kB / 465.9 MB, free: 6.266 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.6885, allocations: 4 kB / 465.9 MB, free: 6.262 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001323/0.6887, allocations: 109.7 kB / 466 MB, free: 6.156 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6887, allocations: 0 / 466 MB, free: 6.156 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006891/0.6894, allocations: 107.5 kB / 466.1 MB, free: 6.051 MB / 394.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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001012/0.6904, allocations: 0.7865 MB / 466.9 MB, free: 5.234 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007509/0.6912, allocations: 147.7 kB / 467 MB, free: 5.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.6912, allocations: 5.062 kB / 467 MB, free: 5.086 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003874/0.6916, allocations: 67.95 kB / 467.1 MB, free: 5.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.6919, allocations: 12 kB / 467.1 MB, free: 5.008 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.6933, allocations: 411.2 kB / 467.5 MB, free: 4.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004932/0.6938, allocations: 0.8063 MB / 468.3 MB, free: 3.738 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000359/0.6942, allocations: 60.97 kB / 468.4 MB, free: 3.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.6943, allocations: 79.41 kB / 468.5 MB, free: 3.602 MB / 394.7 MB Notification: Performance of SimCode: time 1.823e-06/0.6944, allocations: 0 / 468.5 MB, free: 3.602 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.7257, allocations: 5.335 MB / 473.8 MB, free: 14.36 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004051/0.7262, allocations: 246.9 kB / 474 MB, free: 14.02 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.681/3.408, allocations: 0 / 474 MB, free: 14.02 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat