Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.963/1.963, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.266e-05/4.269e-05, allocations: 4 kB / 273.2 MB, free: 0.6133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1035, allocations: 48.7 MB / 321.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4368/0.5404, allocations: 98.54 MB / 420.4 MB, free: 7.305 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004619/0.5409, allocations: 99.02 kB / 420.5 MB, free: 7.211 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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/OpenModelica/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/OpenModelica/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/OpenModelica/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.1525/0.6934, allocations: 27.79 MB / 448.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.769e-06/0.6935, allocations: 0 / 448.3 MB, free: 11.11 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.6935, allocations: 11.94 kB / 448.3 MB, free: 11.09 MB / 378.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.00261/0.6961, allocations: 0.9041 MB / 449.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.6962, allocations: 8.031 kB / 449.2 MB, free: 10.13 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002763/0.6965, allocations: 147.9 kB / 449.4 MB, free: 9.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002017/0.6967, allocations: 79.02 kB / 449.5 MB, free: 9.902 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007677/0.6975, allocations: 342.1 kB / 449.8 MB, free: 9.527 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.055e-05/0.6976, allocations: 61.98 kB / 449.8 MB, free: 9.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.6978, allocations: 76 kB / 449.9 MB, free: 9.395 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.7005, allocations: 1.143 MB / 451.1 MB, free: 8.242 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.7006, allocations: 4 kB / 451.1 MB, free: 8.238 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.7008, allocations: 35.98 kB / 451.1 MB, free: 8.203 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000138/0.7009, allocations: 73.95 kB / 451.2 MB, free: 8.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003839/0.7048, allocations: 1.659 MB / 452.8 MB, free: 6.473 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007669/0.7125, allocations: 2.968 MB / 455.8 MB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.7139, allocations: 403.5 kB / 456.2 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003397/0.7142, allocations: 129.4 kB / 456.3 MB, free: 2.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.362e-05/0.7143, allocations: 12.28 kB / 456.3 MB, free: 2.809 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.7144, allocations: 30.84 kB / 456.4 MB, free: 2.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 3.075e-06/0.7144, allocations: 0 / 456.4 MB, free: 2.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009692/0.7154, allocations: 323.7 kB / 456.7 MB, free: 2.449 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.7154, allocations: 59.36 kB / 456.7 MB, free: 2.379 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002841/0.7157, allocations: 193.5 kB / 456.9 MB, free: 2.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/0.7158, allocations: 33.7 kB / 457 MB, free: 2.141 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003264/0.7161, allocations: 452.6 kB / 457.4 MB, free: 1.691 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001511/0.7163, allocations: 126.2 kB / 457.5 MB, free: 1.566 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.748e-05/0.7163, allocations: 12 kB / 457.5 MB, free: 1.555 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.7165, allocations: 330.8 kB / 457.9 MB, free: 1.223 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.7169, allocations: 129.1 kB / 458 MB, free: 1.094 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005742/0.7175, allocations: 329.8 kB / 458.3 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005154/0.718, allocations: 196 kB / 458.5 MB, free: 0.4961 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.718, allocations: 4 kB / 458.5 MB, free: 0.4922 MB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001355/0.7194, allocations: 0.4897 MB / 459 MB, free: 15.99 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.574e-05/0.7195, allocations: 8 kB / 459 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.7195, allocations: 8 kB / 459 MB, free: 15.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.104e-05/0.7195, allocations: 8 kB / 459 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001524/0.7211, allocations: 207.7 kB / 459.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002193/0.7233, allocations: 2.993 MB / 462.2 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005892/0.724, allocations: 55.58 kB / 462.3 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-05/0.7241, allocations: 35.98 kB / 462.3 MB, free: 12.57 MB / 394.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.0002265/0.7243, allocations: 152.7 kB / 462.5 MB, free: 12.41 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.215e-05/0.7244, allocations: 19.81 kB / 462.5 MB, free: 12.39 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.7265, allocations: 0.5346 MB / 463 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.7265, allocations: 8 kB / 463 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7265, allocations: 0 / 463 MB, free: 11.85 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/0.7265, allocations: 3.984 kB / 463 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002897/0.7295, allocations: 1.15 MB / 464.2 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.7295, allocations: 0 / 464.2 MB, free: 10.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/0.7308, allocations: 175.8 kB / 464.3 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.441e-05/0.7308, allocations: 4 kB / 464.3 MB, free: 10.44 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/0.7309, allocations: 15.98 kB / 464.4 MB, free: 10.42 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002/0.7329, allocations: 2.962 MB / 467.3 MB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.344e-06/0.733, allocations: 4.031 kB / 467.3 MB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/0.7341, allocations: 0.5504 MB / 467.9 MB, free: 6.699 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.7342, allocations: 104.7 kB / 468 MB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.437e-05/0.7343, allocations: 11.94 kB / 468 MB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003545/0.7346, allocations: 23.94 kB / 468 MB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.7348, allocations: 39.95 kB / 468.1 MB, free: 6.504 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.52e-05/0.7348, allocations: 16 kB / 468.1 MB, free: 6.488 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001674/0.735, allocations: 127.2 kB / 468.2 MB, free: 6.363 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.414e-06/0.735, allocations: 0 / 468.2 MB, free: 6.363 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001664/0.7367, allocations: 390.5 kB / 468.6 MB, free: 5.98 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.002947/0.7397, allocations: 1.955 MB / 470.5 MB, free: 3.949 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001696/0.7414, allocations: 405.2 kB / 470.9 MB, free: 3.555 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.7415, allocations: 0 / 470.9 MB, free: 3.555 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009401/0.7424, allocations: 220.3 kB / 471.1 MB, free: 3.34 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.7428, allocations: 20.19 kB / 471.2 MB, free: 3.316 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003533/0.7464, allocations: 1.132 MB / 472.3 MB, free: 2.113 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008109/0.7473, allocations: 0.9992 MB / 473.3 MB, free: 1.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004709/0.7478, allocations: 207.4 kB / 473.5 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of SimCode: time 1.402e-06/0.7478, allocations: 0 / 473.5 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.142/3.89, allocations: 24.09 MB / 497.6 MB, free: 8.77 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat