Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.196/2.196, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.298e-05/3.302e-05, allocations: 0 / 267.6 MB, free: 4.922 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 48.71 MB / 316.4 MB, free: 4.121 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4862/0.6039, allocations: 98.1 MB / 414.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003879/0.6044, allocations: 92.06 kB / 414.5 MB, free: 10.38 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4955:11-4956:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4977:11-4978:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4937:11-4953:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4959:11-4975:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.157/0.7614, allocations: 27.45 MB / 442 MB, free: 2.285 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.073e-06/0.7615, allocations: 3.938 kB / 442 MB, free: 2.281 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.103e-05/0.7615, allocations: 8 kB / 442 MB, free: 2.273 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002597/0.7641, allocations: 0.9002 MB / 442.9 MB, free: 1.328 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/0.7642, allocations: 8.031 kB / 442.9 MB, free: 1.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002255/0.7644, allocations: 82.95 kB / 443 MB, free: 1.238 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000773/0.7652, allocations: 338.1 kB / 443.3 MB, free: 0.8672 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.981e-05/0.7653, allocations: 31.98 kB / 443.4 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002016/0.7655, allocations: 47.98 kB / 443.4 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00288/0.7684, allocations: 1.214 MB / 444.6 MB, free: 15.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002573/0.771, allocations: 1.046 MB / 445.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.7711, allocations: 0 / 445.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000102/0.7712, allocations: 3.984 kB / 445.7 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001367/0.7713, allocations: 65.97 kB / 445.7 MB, free: 14.45 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007605/0.779, allocations: 2.779 MB / 448.5 MB, free: 11.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001262/0.7803, allocations: 391.6 kB / 448.9 MB, free: 11.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003044/0.7806, allocations: 121.3 kB / 449 MB, free: 11.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.778e-05/0.7807, allocations: 8.281 kB / 449 MB, free: 11.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.7807, allocations: 38.83 kB / 449.1 MB, free: 10.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 3.757e-06/0.7808, allocations: 0 / 449.1 MB, free: 10.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009586/0.7817, allocations: 311.7 kB / 449.4 MB, free: 10.66 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.922e-05/0.7818, allocations: 59.41 kB / 449.4 MB, free: 10.59 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002756/0.7821, allocations: 181.6 kB / 449.6 MB, free: 10.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.7821, allocations: 29.7 kB / 449.6 MB, free: 10.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.7825, allocations: 382.1 kB / 450 MB, free: 9.98 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.7826, allocations: 118.2 kB / 450.1 MB, free: 9.863 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.7827, allocations: 0 / 450.1 MB, free: 9.863 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.7828, allocations: 338.8 kB / 450.4 MB, free: 9.523 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003098/0.7832, allocations: 125 kB / 450.6 MB, free: 9.398 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000479/0.7836, allocations: 309.9 kB / 450.9 MB, free: 9.012 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004628/0.7841, allocations: 191.6 kB / 451.1 MB, free: 8.824 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.688e-06/0.7841, allocations: 4 kB / 451.1 MB, free: 8.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001253/0.7854, allocations: 464.9 kB / 451.5 MB, free: 8.359 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.009e-05/0.7855, allocations: 8.875 kB / 451.5 MB, free: 8.352 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.7855, allocations: 4 kB / 451.5 MB, free: 8.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.614e-05/0.7855, allocations: 12 kB / 451.5 MB, free: 8.336 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001497/0.787, allocations: 207.8 kB / 451.7 MB, free: 8.133 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002237/0.7893, allocations: 2.996 MB / 454.7 MB, free: 5.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006006/0.79, allocations: 55.91 kB / 454.8 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.977e-05/0.7901, allocations: 31.98 kB / 454.8 MB, free: 4.934 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002208/0.7903, allocations: 124.7 kB / 454.9 MB, free: 4.805 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008374/0.7911, allocations: 321.3 kB / 455.3 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.592e-05/0.7912, allocations: 23.72 kB / 455.3 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001849/0.7931, allocations: 0.508 MB / 455.8 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.7931, allocations: 4 kB / 455.8 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.7931, allocations: 0 / 455.8 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.108e-06/0.7931, allocations: 3.984 kB / 455.8 MB, free: 3.941 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002366/0.7955, allocations: 0.9618 MB / 456.8 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.7956, allocations: 0 / 456.8 MB, free: 2.91 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.7969, allocations: 180.1 kB / 456.9 MB, free: 2.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.558e-05/0.7969, allocations: 4 kB / 456.9 MB, free: 2.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.082e-05/0.797, allocations: 11.98 kB / 457 MB, free: 2.719 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00215/0.7991, allocations: 2.973 MB / 459.9 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.104e-06/0.7992, allocations: 0 / 459.9 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009704/0.8002, allocations: 0.5388 MB / 460.5 MB, free: 15 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.8003, allocations: 104.7 kB / 460.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.2e-05/0.8004, allocations: 4 kB / 460.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003572/0.8008, allocations: 15.94 kB / 460.6 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.8009, allocations: 35.95 kB / 460.6 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.508e-05/0.801, allocations: 20 kB / 460.6 MB, free: 14.8 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001517/0.8011, allocations: 124.5 kB / 460.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8012, allocations: 7.938 kB / 460.8 MB, free: 14.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001667/0.8028, allocations: 358.7 kB / 461.1 MB, free: 14.32 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002817/0.8057, allocations: 1.929 MB / 463 MB, free: 12.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001507/0.8072, allocations: 392.3 kB / 463.4 MB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.8073, allocations: 0 / 463.4 MB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008914/0.8082, allocations: 213.3 kB / 463.6 MB, free: 11.73 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.8086, allocations: 16.56 kB / 463.7 MB, free: 11.71 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003361/0.8119, allocations: 1.069 MB / 464.7 MB, free: 10.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008407/0.8128, allocations: 0.9953 MB / 465.7 MB, free: 9.551 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001058/0.8139, allocations: 170.8 kB / 465.9 MB, free: 9.387 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/0.815, allocations: 218.9 kB / 466.1 MB, free: 9.176 MB / 394.7 MB Notification: Performance of SimCode: time 1.533e-06/0.815, allocations: 0 / 466.1 MB, free: 9.176 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07118/0.8862, allocations: 11.13 MB / 477.2 MB, free: 14.05 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003356/0.8866, allocations: 194.5 kB / 477.4 MB, free: 13.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.054/3.941, allocations: 0 / 477.4 MB, free: 13.79 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat