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.969/1.969, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.829e-05/2.84e-05, allocations: 0 / 267.6 MB, free: 5.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1088/0.1089, allocations: 48.7 MB / 316.3 MB, free: 4.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4836/0.5926, allocations: 90.25 MB / 406.6 MB, free: 2.062 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003597/0.593, allocations: 97.88 kB / 406.7 MB, free: 2.008 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.08769/0.6807, allocations: 17.6 MB / 424.3 MB, free: 3.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.764e-06/0.6808, allocations: 4 kB / 424.3 MB, free: 3.141 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.54e-05/0.6808, allocations: 4 kB / 424.3 MB, free: 3.137 MB / 346.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.001484/0.6823, allocations: 0.6358 MB / 424.9 MB, free: 2.477 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/0.6823, allocations: 8.031 kB / 424.9 MB, free: 2.469 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.6825, allocations: 35.58 kB / 425 MB, free: 2.434 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003866/0.6829, allocations: 234.1 kB / 425.2 MB, free: 2.172 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.6829, allocations: 8 kB / 425.2 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.394e-05/0.683, allocations: 20 kB / 425.2 MB, free: 2.145 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009123/0.6839, allocations: 406 kB / 425.6 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008789/0.6848, allocations: 401.7 kB / 426 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.6848, allocations: 0 / 426 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.6849, allocations: 0 / 426 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.365e-05/0.685, allocations: 40.75 kB / 426 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002887/0.6879, allocations: 1.264 MB / 427.3 MB, free: 292 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007227/0.6886, allocations: 265.4 kB / 427.6 MB, free: 64 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002086/0.6889, allocations: 75.45 kB / 427.6 MB, free: 4 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.848e-05/0.689, allocations: 8.109 kB / 427.7 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.689, allocations: 38.81 kB / 427.7 MB, free: 15.95 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 2.895e-06/0.689, allocations: 4 kB / 427.7 MB, free: 15.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.0005977/0.6896, allocations: 214 kB / 427.9 MB, free: 15.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.676e-05/0.6897, allocations: 51.41 kB / 428 MB, free: 15.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001484/0.6898, allocations: 130.4 kB / 428.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.6899, allocations: 25.7 kB / 428.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.69, allocations: 261.1 kB / 428.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.351e-05/0.6902, allocations: 82.44 kB / 428.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.6902, allocations: 0 / 428.4 MB, free: 15.22 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000146/0.6903, allocations: 325.6 kB / 428.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.6905, allocations: 70.14 kB / 428.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002484/0.6908, allocations: 155.4 kB / 429 MB, free: 14.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.691, allocations: 100.6 kB / 429.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.6911, allocations: 0 / 429.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000668/0.6917, allocations: 271.8 kB / 429.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.6918, allocations: 7.938 kB / 429.4 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.6918, allocations: 4 kB / 429.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.441e-05/0.6918, allocations: 4 kB / 429.4 MB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.6929, allocations: 131.2 kB / 429.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/0.6946, allocations: 2.365 MB / 431.9 MB, free: 11.77 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003239/0.6949, allocations: 27.73 kB / 431.9 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.694e-05/0.695, allocations: 12 kB / 431.9 MB, free: 11.73 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.0001731/0.6952, allocations: 128.6 kB / 432 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005228/0.6957, allocations: 201.9 kB / 432.2 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.665e-05/0.6958, allocations: 19.91 kB / 432.2 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001035/0.6968, allocations: 313.3 kB / 432.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.6968, allocations: 4 kB / 432.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.6969, allocations: 4 kB / 432.5 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.6969, allocations: 3.938 kB / 432.6 MB, free: 11.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.6974, allocations: 272.7 kB / 432.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.6974, allocations: 0 / 432.8 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00097/0.6984, allocations: 119.7 kB / 432.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.6984, allocations: 0 / 432.9 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.029e-05/0.6984, allocations: 7.984 kB / 432.9 MB, free: 10.74 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001585/0.7, allocations: 2.372 MB / 435.3 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.7001, allocations: 0 / 435.3 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006174/0.7007, allocations: 322 kB / 435.6 MB, free: 7.992 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.378e-05/0.7008, allocations: 92.86 kB / 435.7 MB, free: 7.883 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.886e-05/0.7008, allocations: 4 kB / 435.7 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002597/0.7011, allocations: 12.08 kB / 435.7 MB, free: 7.867 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.877e-05/0.7012, allocations: 35.34 kB / 435.8 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.439e-05/0.7013, allocations: 8 kB / 435.8 MB, free: 7.828 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.528e-05/0.7014, allocations: 97.08 kB / 435.9 MB, free: 7.738 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.41e-07/0.7014, allocations: 0 / 435.9 MB, free: 7.738 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001118/0.7025, allocations: 257.1 kB / 436.1 MB, free: 7.496 MB / 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.002043/0.7046, allocations: 1.146 MB / 437.3 MB, free: 6.367 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009451/0.7055, allocations: 239.2 kB / 437.5 MB, free: 6.168 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.666e-06/0.7056, allocations: 0.6875 kB / 437.5 MB, free: 6.168 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005898/0.7062, allocations: 141.2 kB / 437.6 MB, free: 6.047 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002729/0.7065, allocations: 15.64 kB / 437.7 MB, free: 6.035 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.7086, allocations: 0.5707 MB / 438.2 MB, free: 5.445 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006752/0.7093, allocations: 0.8092 MB / 439 MB, free: 4.613 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.7096, allocations: 91.27 kB / 439.1 MB, free: 4.578 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7097, allocations: 0 / 439.1 MB, free: 4.578 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.898/3.608, allocations: 11.28 MB / 450.4 MB, free: 9.312 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