Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.551/2.551, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.273e-05/2.291e-05, allocations: 3.938 kB / 299.5 MB, free: 6.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3919/0.3919, allocations: 54.85 MB / 354.4 MB, free: 36 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.239/0.631, allocations: 104.5 MB / 458.9 MB, free: 7.355 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003531/0.6314, allocations: 95.94 kB / 459 MB, free: 7.262 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2/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.2/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.2/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.4958/1.127, allocations: 27.45 MB / 486.4 MB, free: 109 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.904e-06/1.127, allocations: 0 / 486.4 MB, free: 109 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.684e-05/1.127, allocations: 7.906 kB / 486.4 MB, free: 109 MB / 410.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.002286/1.13, allocations: 0.9059 MB / 487.3 MB, free: 108.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/1.13, allocations: 7.906 kB / 487.3 MB, free: 108.4 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/1.13, allocations: 78.45 kB / 487.4 MB, free: 108.4 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000656/1.131, allocations: 352 kB / 487.8 MB, free: 108.2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.533e-05/1.131, allocations: 27.66 kB / 487.8 MB, free: 108.2 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/1.131, allocations: 43.56 kB / 487.8 MB, free: 108.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002269/1.133, allocations: 1.22 MB / 489.1 MB, free: 108.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002006/1.135, allocations: 1.034 MB / 490.1 MB, free: 108.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/1.135, allocations: 1.312 kB / 490.1 MB, free: 108.1 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.775e-05/1.135, allocations: 7.844 kB / 490.1 MB, free: 108.1 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001116/1.135, allocations: 70.5 kB / 490.2 MB, free: 108.1 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006218/1.142, allocations: 2.77 MB / 492.9 MB, free: 107.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001086/1.143, allocations: 385.8 kB / 493.3 MB, free: 107.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/1.143, allocations: 121.3 kB / 493.4 MB, free: 107.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.276e-05/1.143, allocations: 15.44 kB / 493.4 MB, free: 107.1 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/1.143, allocations: 44.88 kB / 493.5 MB, free: 107.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.995e-06/1.143, allocations: 0 / 493.5 MB, free: 107.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.000761/1.144, allocations: 317.6 kB / 493.8 MB, free: 107 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/1.144, allocations: 55.25 kB / 493.9 MB, free: 107 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/1.144, allocations: 184.9 kB / 494 MB, free: 106.9 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.944e-05/1.144, allocations: 25.7 kB / 494.1 MB, free: 106.8 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001787/1.144, allocations: 384.9 kB / 494.4 MB, free: 106.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.241e-05/1.145, allocations: 112.8 kB / 494.5 MB, free: 106.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.159e-05/1.145, allocations: 0 / 494.5 MB, free: 106.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.816e-05/1.145, allocations: 333.9 kB / 494.9 MB, free: 106.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/1.145, allocations: 127.5 kB / 495 MB, free: 106.2 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003799/1.145, allocations: 310.9 kB / 495.3 MB, free: 106 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003726/1.146, allocations: 181.8 kB / 495.5 MB, free: 105.9 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/1.146, allocations: 10.84 kB / 495.5 MB, free: 105.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0009948/1.147, allocations: 462.5 kB / 495.9 MB, free: 105.9 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/1.147, allocations: 7.312 kB / 495.9 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/1.147, allocations: 7.688 kB / 496 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.997e-05/1.147, allocations: 10.16 kB / 496 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/1.148, allocations: 206.3 kB / 496.2 MB, free: 105.9 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001388/1.15, allocations: 3.006 MB / 499.2 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005423/1.15, allocations: 49 kB / 499.2 MB, free: 102.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.166e-05/1.15, allocations: 36.16 kB / 499.3 MB, free: 102.9 MB / 410.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.0001607/1.15, allocations: 127.2 kB / 499.4 MB, free: 102.8 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006657/1.151, allocations: 309.6 kB / 499.7 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/1.151, allocations: 21.78 kB / 499.7 MB, free: 102.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001654/1.153, allocations: 0.5091 MB / 0.4885 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/1.153, allocations: 3.906 kB / 0.4885 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/1.153, allocations: 0 / 0.4885 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/1.153, allocations: 3.562 kB / 0.4885 GB, free: 102.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002028/1.155, allocations: 0.9626 MB / 0.4894 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.155, allocations: 3.969 kB / 0.4894 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001196/1.156, allocations: 168.5 kB / 0.4896 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.316e-05/1.156, allocations: 12.17 kB / 0.4896 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.063e-05/1.156, allocations: 11.38 kB / 0.4896 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001303/1.158, allocations: 2.962 MB / 0.4925 GB, free: 99.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/1.158, allocations: 7.516 kB / 0.4925 GB, free: 99.04 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008354/1.159, allocations: 0.5411 MB / 0.493 GB, free: 98.63 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.648e-05/1.159, allocations: 111 kB / 0.4932 GB, free: 98.51 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.319e-05/1.159, allocations: 3.875 kB / 0.4932 GB, free: 98.51 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003478/1.159, allocations: 15.06 kB / 0.4932 GB, free: 98.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/1.159, allocations: 33.36 kB / 0.4932 GB, free: 98.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.728e-05/1.159, allocations: 22.7 kB / 0.4932 GB, free: 98.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001134/1.159, allocations: 133 kB / 0.4934 GB, free: 98.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.159, allocations: 0 / 0.4934 GB, free: 98.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001555/1.161, allocations: 354.9 kB / 0.4937 GB, free: 98.27 MB / 410.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.002368/1.163, allocations: 1.928 MB / 0.4956 GB, free: 96.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001365/1.165, allocations: 392.2 kB / 0.4959 GB, free: 96.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/1.165, allocations: 0 / 0.4959 GB, free: 96.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008122/1.166, allocations: 207.1 kB / 0.4961 GB, free: 96.57 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003891/1.166, allocations: 25.89 kB / 0.4962 GB, free: 96.56 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002956/1.169, allocations: 1.077 MB / 0.4972 GB, free: 96.07 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005978/1.17, allocations: 1.005 MB / 0.4982 GB, free: 95.18 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000899/1.171, allocations: 171.9 kB / 0.4984 GB, free: 95.07 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003671/1.171, allocations: 210.6 kB / 0.4986 GB, free: 94.89 MB / 410.7 MB Notification: Performance of SimCode: time 9.02e-07/1.171, allocations: 0 / 0.4986 GB, free: 94.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05457/1.226, allocations: 11.13 MB / 0.5094 GB, free: 86.55 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002541/1.226, allocations: 198.4 kB / 0.5096 GB, free: 86.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.848/4.074, allocations: 7.203 kB / 0.5096 GB, free: 86.29 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat