Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.545/2.545, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.139e-05/4.143e-05, allocations: 4.922 kB / 305 MB, free: 5.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4185/0.4186, allocations: 54.86 MB / 359.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1789/0.5976, allocations: 97.42 MB / 457.3 MB, free: 15.53 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000388/0.598, allocations: 96.5 kB / 457.4 MB, free: 15.44 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6086:11-6092:61:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6094:11-6097:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6100:11-6106:59:writable] Error: Type mismatch in binding roughness = roughness, expected subtype of enumeration(Neglected, Considered)[4], got type enumeration(Neglected, Considered). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6108:11-6111:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.09333/0.6914, allocations: 17.76 MB / 475.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.013e-06/0.6914, allocations: 0 / 475.2 MB, free: 13.61 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.618e-05/0.6915, allocations: 4 kB / 475.2 MB, free: 13.61 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001659/0.6931, allocations: 0.623 MB / 475.8 MB, free: 12.94 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/0.6932, allocations: 12.03 kB / 475.8 MB, free: 12.93 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001476/0.6934, allocations: 78.5 kB / 475.9 MB, free: 12.84 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.611e-05/0.6935, allocations: 39.62 kB / 475.9 MB, free: 12.8 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.6939, allocations: 234.7 kB / 476.1 MB, free: 12.53 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.694, allocations: 24.77 kB / 476.2 MB, free: 12.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.679e-05/0.694, allocations: 27.98 kB / 476.2 MB, free: 12.48 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.6952, allocations: 437.9 kB / 476.6 MB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.6952, allocations: 0 / 476.6 MB, free: 12.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.679e-05/0.6953, allocations: 15.98 kB / 476.6 MB, free: 12.03 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.125e-05/0.6954, allocations: 40.69 kB / 476.7 MB, free: 11.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001232/0.6966, allocations: 0.513 MB / 477.2 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003286/0.7, allocations: 1.354 MB / 478.5 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008964/0.7009, allocations: 263.7 kB / 478.8 MB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.7012, allocations: 80.83 kB / 478.9 MB, free: 9.656 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.887e-05/0.7013, allocations: 8 kB / 478.9 MB, free: 9.648 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.7013, allocations: 38.56 kB / 478.9 MB, free: 9.602 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.527e-06/0.7013, allocations: 0 / 478.9 MB, free: 9.602 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0007232/0.7021, allocations: 225.6 kB / 479.1 MB, free: 9.375 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.7021, allocations: 51.41 kB / 479.2 MB, free: 9.312 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.7023, allocations: 135.2 kB / 479.3 MB, free: 9.172 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.514e-05/0.7024, allocations: 25.7 kB / 479.4 MB, free: 9.141 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000182/0.7026, allocations: 262.2 kB / 479.6 MB, free: 8.879 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001134/0.7027, allocations: 95.12 kB / 479.7 MB, free: 8.785 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.245e-05/0.7027, allocations: 7.938 kB / 479.7 MB, free: 8.777 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.7029, allocations: 326.8 kB / 480 MB, free: 8.449 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002279/0.7031, allocations: 67.97 kB / 480.1 MB, free: 8.383 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003158/0.7035, allocations: 162.2 kB / 480.3 MB, free: 8.188 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000303/0.7038, allocations: 103.9 kB / 480.4 MB, free: 8.086 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.7038, allocations: 0 / 480.4 MB, free: 8.086 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0008021/0.7046, allocations: 281.1 kB / 480.6 MB, free: 7.805 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.7046, allocations: 8 kB / 480.6 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.138e-06/0.7047, allocations: 352 / 480.6 MB, free: 7.797 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/0.7047, allocations: 12 kB / 480.6 MB, free: 7.785 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001096/0.7058, allocations: 127.8 kB / 480.8 MB, free: 7.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/0.7076, allocations: 2.364 MB / 483.1 MB, free: 5.203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003647/0.708, allocations: 35.72 kB / 483.2 MB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.835e-05/0.7081, allocations: 24.27 kB / 483.2 MB, free: 5.145 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.7083, allocations: 126.5 kB / 483.3 MB, free: 5.016 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.023e-05/0.7083, allocations: 11.91 kB / 483.3 MB, free: 5.004 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00123/0.7096, allocations: 343.2 kB / 483.7 MB, free: 4.672 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.7096, allocations: 4 kB / 483.7 MB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.7097, allocations: 0 / 483.7 MB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.7097, allocations: 0 / 483.7 MB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007193/0.7104, allocations: 333.3 kB / 484 MB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.02e-06/0.7104, allocations: 0 / 484 MB, free: 4.293 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/0.7115, allocations: 127.8 kB / 484.1 MB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/0.7116, allocations: 0 / 484.1 MB, free: 4.168 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-05/0.7116, allocations: 11.98 kB / 484.1 MB, free: 4.156 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001863/0.7135, allocations: 2.36 MB / 486.5 MB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.7135, allocations: 0 / 486.5 MB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007711/0.7143, allocations: 347.7 kB / 486.8 MB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.445e-05/0.7144, allocations: 96.86 kB / 486.9 MB, free: 1.234 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.873e-05/0.7145, allocations: 12 kB / 486.9 MB, free: 1.223 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002856/0.7148, allocations: 15.98 kB / 487 MB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.171e-05/0.7149, allocations: 15.97 kB / 487 MB, free: 1.191 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.715, allocations: 12 kB / 487 MB, free: 1.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.564e-05/0.7151, allocations: 101.1 kB / 487.1 MB, free: 1.082 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7151, allocations: 0 / 487.1 MB, free: 1.082 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001265/0.7163, allocations: 263.3 kB / 487.3 MB, free: 0.8242 MB / 410.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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002373/0.7188, allocations: 1.165 MB / 488.5 MB, free: 15.63 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001134/0.7199, allocations: 249.4 kB / 488.7 MB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.72, allocations: 0 / 488.7 MB, free: 15.39 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006988/0.7207, allocations: 159.8 kB / 488.9 MB, free: 15.23 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.721, allocations: 4 kB / 488.9 MB, free: 15.23 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002093/0.7231, allocations: 0.6088 MB / 489.5 MB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/0.7237, allocations: 0.8099 MB / 490.3 MB, free: 13.74 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.724, allocations: 95.39 kB / 490.4 MB, free: 13.65 MB / 426.7 MB Notification: Performance of SimCode: time 1.343e-06/0.724, allocations: 0 / 490.4 MB, free: 13.65 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.043/3.767, allocations: 11.22 MB / 0.4899 GB, free: 2.418 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat