Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.128/2.128, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.357e-05, allocations: 0 / 267.6 MB, free: 4.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 48.71 MB / 316.4 MB, free: 4.121 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4384/0.5476, allocations: 80.89 MB / 397.2 MB, free: 11.54 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003758/0.548, allocations: 101.6 kB / 397.3 MB, free: 11.48 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.03939/0.5874, allocations: 8.77 MB / 406.1 MB, free: 4.055 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5875, allocations: 0 / 406.1 MB, free: 4.055 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.517e-05/0.5875, allocations: 4 kB / 406.1 MB, free: 4.051 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0008605/0.5884, allocations: 0.5187 MB / 406.6 MB, free: 3.508 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.5884, allocations: 8.031 kB / 406.6 MB, free: 3.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.087e-05/0.5885, allocations: 39.56 kB / 406.7 MB, free: 3.461 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003595/0.5889, allocations: 234.2 kB / 406.9 MB, free: 3.199 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.5889, allocations: 12 kB / 406.9 MB, free: 3.188 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.22e-05/0.589, allocations: 20 kB / 406.9 MB, free: 3.168 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008197/0.5898, allocations: 384.4 kB / 407.3 MB, free: 2.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008312/0.5907, allocations: 405.8 kB / 407.7 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.661e-05/0.5907, allocations: 0 / 407.7 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.5908, allocations: 0 / 407.7 MB, free: 2.598 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.535e-05/0.5908, allocations: 28.45 kB / 407.7 MB, free: 2.574 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00221/0.5931, allocations: 1.142 MB / 408.9 MB, free: 1.473 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.5933, allocations: 62.12 kB / 408.9 MB, free: 1.41 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.74e-05/0.5934, allocations: 32.14 kB / 409 MB, free: 1.383 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.347e-05/0.5934, allocations: 7.938 kB / 409 MB, free: 1.375 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.413e-05/0.5935, allocations: 30.56 kB / 409 MB, free: 1.336 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.464e-06/0.5935, allocations: 0 / 409 MB, free: 1.336 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003238/0.5938, allocations: 92.83 kB / 409.1 MB, free: 1.246 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.5939, allocations: 55.41 kB / 409.2 MB, free: 1.18 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.5941, allocations: 150.2 kB / 409.3 MB, free: 1.039 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/0.5941, allocations: 29.7 kB / 409.3 MB, free: 1.004 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001727/0.5943, allocations: 221.6 kB / 409.6 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.632e-05/0.5943, allocations: 27.14 kB / 409.6 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.285e-05/0.5944, allocations: 0 / 409.6 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5945, allocations: 321.9 kB / 409.9 MB, free: 468 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.426e-05/0.5946, allocations: 31.73 kB / 409.9 MB, free: 444 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/0.5948, allocations: 158 kB / 410.1 MB, free: 244 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.595, allocations: 66.94 kB / 410.1 MB, free: 184 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.595, allocations: 4 kB / 410.1 MB, free: 180 kB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004906/0.5955, allocations: 194.4 kB / 410.3 MB, free: 0 / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.062e-05/0.5956, allocations: 8.141 kB / 410.3 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.5956, allocations: 8 kB / 410.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.219e-05/0.5956, allocations: 4 kB / 410.4 MB, free: 15.98 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.5963, allocations: 91.88 kB / 410.4 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.5976, allocations: 1.784 MB / 412.2 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.5979, allocations: 27.33 kB / 412.3 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/0.598, allocations: 16 kB / 412.3 MB, free: 14 MB / 346.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.0001484/0.5981, allocations: 124.2 kB / 412.4 MB, free: 13.88 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002433/0.5984, allocations: 96.97 kB / 412.5 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.266e-05/0.5984, allocations: 7.906 kB / 412.5 MB, free: 13.78 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006516/0.5991, allocations: 175.6 kB / 412.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5991, allocations: 0 / 412.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.5991, allocations: 0 / 412.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5991, allocations: 0 / 412.7 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003881/0.5995, allocations: 231.9 kB / 412.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.025e-06/0.5996, allocations: 0 / 412.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004451/0.6, allocations: 55.95 kB / 412.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.129e-06/0.6, allocations: 0 / 412.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.773e-05/0.6001, allocations: 10.86 kB / 413 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001207/0.6013, allocations: 1.776 MB / 414.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.6013, allocations: 288 / 414.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.6016, allocations: 205.9 kB / 414.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.002e-05/0.6017, allocations: 88.86 kB / 415 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.243e-05/0.6018, allocations: 4 kB / 415 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.6019, allocations: 7.984 kB / 415 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.602, allocations: 11.5 kB / 415 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.602, allocations: 7.984 kB / 415.1 MB, free: 11.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001077/0.6022, allocations: 110.2 kB / 415.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.6022, allocations: 0 / 415.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006853/0.6029, allocations: 94.81 kB / 415.3 MB, free: 10.95 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 (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.0009328/0.6038, allocations: 0.8077 MB / 416.1 MB, free: 10.13 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006299/0.6045, allocations: 137.9 kB / 416.2 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.6045, allocations: 0 / 416.2 MB, free: 10.01 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003626/0.6049, allocations: 59.22 kB / 416.3 MB, free: 9.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002661/0.6051, allocations: 6.875 kB / 416.3 MB, free: 9.953 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.6064, allocations: 395 kB / 416.6 MB, free: 9.555 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/0.607, allocations: 0.801 MB / 417.4 MB, free: 8.734 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003473/0.6073, allocations: 64.97 kB / 417.5 MB, free: 8.668 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000138/0.6075, allocations: 76.66 kB / 417.6 MB, free: 8.645 MB / 346.7 MB Notification: Performance of SimCode: time 1.383e-06/0.6075, allocations: 0 / 417.6 MB, free: 8.645 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04806/0.6556, allocations: 4.396 MB / 422 MB, free: 4.266 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003623/0.656, allocations: 214.9 kB / 422.2 MB, free: 3.98 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.574/3.23, allocations: 4 kB / 422.2 MB, free: 3.977 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat