Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.957/1.957, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.098e-05/4.107e-05, allocations: 4 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1082, allocations: 48.69 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4233/0.5315, allocations: 89.91 MB / 411.8 MB, free: 15.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000378/0.5319, allocations: 102.9 kB / 411.9 MB, free: 15.88 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1213/0.6532, allocations: 22.52 MB / 434.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.6533, allocations: 0 / 434.4 MB, free: 9.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.304e-05/0.6533, allocations: 4 kB / 434.4 MB, free: 9.227 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001512/0.6549, allocations: 0.6074 MB / 435 MB, free: 8.574 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/0.6549, allocations: 8.031 kB / 435 MB, free: 8.566 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000136/0.6551, allocations: 82.5 kB / 435.1 MB, free: 8.477 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.6552, allocations: 39.58 kB / 435.1 MB, free: 8.438 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004803/0.6557, allocations: 278.4 kB / 435.4 MB, free: 8.125 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.456e-05/0.6557, allocations: 24.77 kB / 435.4 MB, free: 8.102 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.535e-05/0.6558, allocations: 31.98 kB / 435.5 MB, free: 8.07 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001147/0.657, allocations: 475.3 kB / 435.9 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.63e-05/0.657, allocations: 0 / 435.9 MB, free: 7.602 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.558e-05/0.6571, allocations: 15.98 kB / 435.9 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.387e-05/0.6572, allocations: 40.92 kB / 436 MB, free: 7.547 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.6584, allocations: 0.4939 MB / 436.5 MB, free: 7.051 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/0.6615, allocations: 1.333 MB / 437.8 MB, free: 5.605 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.6628, allocations: 354.4 kB / 438.2 MB, free: 5.246 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003151/0.6631, allocations: 108.8 kB / 438.3 MB, free: 5.137 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.836e-05/0.6632, allocations: 11.98 kB / 438.3 MB, free: 5.125 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.6632, allocations: 38.56 kB / 438.3 MB, free: 5.078 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.755e-06/0.6632, allocations: 0 / 438.3 MB, free: 5.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0009071/0.6642, allocations: 289.7 kB / 438.6 MB, free: 4.789 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/0.6642, allocations: 51.41 kB / 438.6 MB, free: 4.727 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005012/0.6647, allocations: 278.8 kB / 438.9 MB, free: 4.453 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.6648, allocations: 29.7 kB / 438.9 MB, free: 4.418 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.665, allocations: 250.4 kB / 439.2 MB, free: 4.168 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001206/0.6651, allocations: 102.5 kB / 439.3 MB, free: 4.066 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.6652, allocations: 8.094 kB / 439.3 MB, free: 4.059 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.6653, allocations: 326.8 kB / 439.6 MB, free: 3.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.6656, allocations: 99.94 kB / 439.7 MB, free: 3.633 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003587/0.666, allocations: 138.8 kB / 439.8 MB, free: 3.484 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/0.6664, allocations: 125.3 kB / 440 MB, free: 3.363 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.6664, allocations: 8 kB / 440 MB, free: 3.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00094/0.6674, allocations: 323.5 kB / 440.3 MB, free: 3.035 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.6674, allocations: 4 kB / 440.3 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.6674, allocations: 0 / 440.3 MB, free: 3.031 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.6675, allocations: 7.984 kB / 440.3 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.6686, allocations: 123.8 kB / 440.4 MB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002231/0.6709, allocations: 3.005 MB / 443.4 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004921/0.6714, allocations: 43.58 kB / 443.5 MB, free: 15.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.877e-05/0.6715, allocations: 12 kB / 443.5 MB, free: 15.73 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * 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.0001582/0.6717, allocations: 120.9 kB / 443.6 MB, free: 15.6 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.259e-05/0.6718, allocations: 23.72 kB / 443.6 MB, free: 15.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00145/0.6732, allocations: 438.8 kB / 444.1 MB, free: 15.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.6732, allocations: 7.984 kB / 444.1 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6733, allocations: 0 / 444.1 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.6733, allocations: 4 kB / 444.1 MB, free: 15.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007413/0.674, allocations: 373.2 kB / 444.4 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.674, allocations: 0 / 444.4 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.6751, allocations: 119.8 kB / 444.5 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/0.6751, allocations: 0 / 444.5 MB, free: 14.6 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.637e-05/0.6752, allocations: 8 kB / 444.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.6773, allocations: 3.004 MB / 447.6 MB, free: 11.47 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.6774, allocations: 4.031 kB / 447.6 MB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009419/0.6783, allocations: 411.2 kB / 448 MB, free: 11.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001456/0.6785, allocations: 112.7 kB / 448.1 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.395e-05/0.6786, allocations: 8.141 kB / 448.1 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003658/0.679, allocations: 23.98 kB / 448.1 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001014/0.6791, allocations: 19.97 kB / 448.1 MB, free: 10.87 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.684e-05/0.6791, allocations: 15.98 kB / 448.1 MB, free: 10.85 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003656/0.6795, allocations: 219.1 kB / 448.4 MB, free: 10.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.384e-06/0.6795, allocations: 0 / 448.4 MB, free: 10.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001038/0.6806, allocations: 211.6 kB / 448.6 MB, free: 10.43 MB / 378.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 (31): * Single equations (assignments): 26 * 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.002009/0.6826, allocations: 1.133 MB / 449.7 MB, free: 9.273 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001359/0.684, allocations: 319.7 kB / 450 MB, free: 8.961 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.366e-06/0.684, allocations: 0 / 450 MB, free: 8.961 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008722/0.6849, allocations: 187.8 kB / 450.2 MB, free: 8.777 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005924/0.6855, allocations: 60.55 kB / 450.3 MB, free: 8.719 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00199/0.6875, allocations: 0.6655 MB / 450.9 MB, free: 8.016 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.6881, allocations: 0.8418 MB / 451.8 MB, free: 7.148 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003088/0.6884, allocations: 119.4 kB / 451.9 MB, free: 7.031 MB / 378.7 MB Notification: Performance of SimCode: time 3.025e-06/0.6884, allocations: 0 / 451.9 MB, free: 7.031 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.018/3.706, allocations: 14.45 MB / 466.3 MB, free: 8.594 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat