Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.852 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.192e-05/4.206e-05, allocations: 7.984 kB / 273.2 MB, free: 0.6094 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1153, allocations: 48.71 MB / 321.9 MB, free: 15.8 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4688/0.5842, allocations: 90.65 MB / 412.5 MB, free: 15.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003668/0.5846, allocations: 99.14 kB / 412.6 MB, free: 15.13 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1/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.1/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.1/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.09088/0.6755, allocations: 17.76 MB / 430.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.6756, allocations: 0 / 430.4 MB, free: 13.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.523e-05/0.6756, allocations: 4 kB / 430.4 MB, free: 13.27 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001524/0.6771, allocations: 0.6269 MB / 431 MB, free: 12.6 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.6772, allocations: 12.03 kB / 431 MB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.6774, allocations: 74.52 kB / 431.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.826e-05/0.6775, allocations: 39.58 kB / 431.1 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003985/0.6779, allocations: 238.6 kB / 431.3 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.6779, allocations: 20.78 kB / 431.4 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.285e-05/0.678, allocations: 31.92 kB / 431.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.6791, allocations: 439.6 kB / 431.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.6791, allocations: 0 / 431.8 MB, free: 11.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.866e-05/0.6792, allocations: 12 kB / 431.8 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001015/0.6793, allocations: 40.75 kB / 431.9 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001276/0.6806, allocations: 0.5145 MB / 432.4 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003375/0.684, allocations: 1.357 MB / 433.7 MB, free: 9.66 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008645/0.6849, allocations: 274.4 kB / 434 MB, free: 9.383 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002339/0.6851, allocations: 80.83 kB / 434.1 MB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.688e-05/0.6852, allocations: 8 kB / 434.1 MB, free: 9.293 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.6853, allocations: 34.56 kB / 434.1 MB, free: 9.25 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.446e-06/0.6853, allocations: 0 / 434.1 MB, free: 9.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006975/0.686, allocations: 221.8 kB / 434.4 MB, free: 9.027 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.057e-05/0.6861, allocations: 51.41 kB / 434.4 MB, free: 8.965 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.6863, allocations: 133.1 kB / 434.5 MB, free: 8.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.581e-05/0.6863, allocations: 29.7 kB / 434.6 MB, free: 8.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.6865, allocations: 258.2 kB / 434.8 MB, free: 8.535 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.6866, allocations: 95.12 kB / 434.9 MB, free: 8.441 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.325e-05/0.6866, allocations: 4 kB / 434.9 MB, free: 8.438 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.6868, allocations: 322.8 kB / 435.2 MB, free: 8.113 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002321/0.687, allocations: 75.83 kB / 435.3 MB, free: 8.039 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003109/0.6874, allocations: 166.1 kB / 435.5 MB, free: 7.84 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002986/0.6877, allocations: 104 kB / 435.6 MB, free: 7.738 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/0.6877, allocations: 0 / 435.6 MB, free: 7.738 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007807/0.6885, allocations: 293.1 kB / 435.9 MB, free: 7.445 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.6885, allocations: 8 kB / 435.9 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.6885, allocations: 352 / 435.9 MB, free: 7.438 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.6886, allocations: 8 kB / 435.9 MB, free: 7.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001099/0.6897, allocations: 127.8 kB / 436 MB, free: 7.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/0.6914, allocations: 2.364 MB / 438.4 MB, free: 4.848 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003508/0.6918, allocations: 35.97 kB / 438.4 MB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.851e-05/0.6918, allocations: 23.98 kB / 438.4 MB, free: 4.789 MB / 362.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.0001514/0.692, allocations: 120.9 kB / 438.5 MB, free: 4.664 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.965e-05/0.6921, allocations: 11.91 kB / 438.5 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0012/0.6933, allocations: 342.4 kB / 438.9 MB, free: 4.312 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.6933, allocations: 4 kB / 438.9 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.6933, allocations: 0 / 438.9 MB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.6933, allocations: 7.922 kB / 438.9 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006387/0.694, allocations: 341.3 kB / 439.2 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.958e-06/0.694, allocations: 0 / 439.2 MB, free: 3.918 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009963/0.695, allocations: 127.8 kB / 439.3 MB, free: 3.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/0.695, allocations: 3.984 kB / 439.4 MB, free: 3.789 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.435e-05/0.6951, allocations: 8 kB / 439.4 MB, free: 3.781 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001588/0.6967, allocations: 2.36 MB / 441.7 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.6967, allocations: 0 / 441.7 MB, free: 1.328 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007725/0.6975, allocations: 347.5 kB / 442.1 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.74e-05/0.6976, allocations: 92.86 kB / 442.2 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.56e-05/0.6977, allocations: 8 kB / 442.2 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.698, allocations: 15.94 kB / 442.2 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.491e-05/0.6981, allocations: 23.97 kB / 442.2 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-05/0.6981, allocations: 8 kB / 442.2 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001071/0.6982, allocations: 104.5 kB / 442.3 MB, free: 0.707 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6982, allocations: 0 / 442.3 MB, free: 0.707 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001111/0.6994, allocations: 263.3 kB / 442.6 MB, free: 460 kB / 362.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.002207/0.7016, allocations: 1.171 MB / 443.7 MB, free: 15.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.7027, allocations: 252.1 kB / 444 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.988e-06/0.7027, allocations: 0 / 444 MB, free: 15.01 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006358/0.7034, allocations: 151.8 kB / 444.1 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.7037, allocations: 11.95 kB / 444.1 MB, free: 14.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.7057, allocations: 0.6091 MB / 444.7 MB, free: 14.2 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/0.7063, allocations: 0.8063 MB / 445.6 MB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002586/0.7066, allocations: 91.39 kB / 445.6 MB, free: 13.27 MB / 378.7 MB Notification: Performance of SimCode: time 1.523e-06/0.7066, allocations: 0 / 445.6 MB, free: 13.27 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.02/3.726, allocations: 11.24 MB / 456.9 MB, free: 2.027 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat