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 2.019/2.019, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.236e-05/4.24e-05, allocations: 4 kB / 273.2 MB, free: 0.6211 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1067/0.1068, allocations: 48.71 MB / 321.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4338/0.5407, allocations: 90.66 MB / 412.5 MB, free: 15.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003927/0.5411, allocations: 95.94 kB / 412.6 MB, free: 15.02 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.09877/0.6399, allocations: 17.75 MB / 430.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.64, allocations: 0 / 430.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.64, allocations: 4 kB / 430.4 MB, free: 13.17 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.001565/0.6416, allocations: 0.6308 MB / 431 MB, free: 12.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.363e-05/0.6417, allocations: 8.031 kB / 431 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.6418, allocations: 78.53 kB / 431.1 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.646e-05/0.6419, allocations: 31.58 kB / 431.1 MB, free: 12.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003862/0.6423, allocations: 246.6 kB / 431.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.6423, allocations: 24.72 kB / 431.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.163e-05/0.6424, allocations: 28 kB / 431.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.6434, allocations: 438 kB / 431.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.6435, allocations: 0 / 431.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.775e-05/0.6435, allocations: 8 kB / 431.9 MB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.496e-05/0.6436, allocations: 44.75 kB / 431.9 MB, free: 11.55 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001188/0.6448, allocations: 0.5052 MB / 432.4 MB, free: 11.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003135/0.648, allocations: 1.357 MB / 433.8 MB, free: 9.562 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000842/0.6489, allocations: 258.5 kB / 434 MB, free: 9.301 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.6492, allocations: 88.81 kB / 434.1 MB, free: 9.211 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.141e-05/0.6492, allocations: 16.38 kB / 434.1 MB, free: 9.195 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.007e-05/0.6493, allocations: 34.5 kB / 434.2 MB, free: 9.152 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.266e-06/0.6493, allocations: 0 / 434.2 MB, free: 9.152 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.000686/0.65, allocations: 217.8 kB / 434.4 MB, free: 8.934 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.205e-05/0.65, allocations: 55.41 kB / 434.4 MB, free: 8.867 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001629/0.6502, allocations: 125.2 kB / 434.5 MB, free: 8.734 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.522e-05/0.6503, allocations: 29.7 kB / 434.6 MB, free: 8.699 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001642/0.6504, allocations: 266.2 kB / 434.8 MB, free: 8.438 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.92e-05/0.6505, allocations: 86.75 kB / 434.9 MB, free: 8.352 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.6506, allocations: 7.938 kB / 434.9 MB, free: 8.344 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6507, allocations: 322.8 kB / 435.2 MB, free: 8.02 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.6509, allocations: 75.83 kB / 435.3 MB, free: 7.945 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003077/0.6513, allocations: 158.2 kB / 435.5 MB, free: 7.754 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002917/0.6516, allocations: 100.1 kB / 435.6 MB, free: 7.656 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/0.6516, allocations: 7.891 kB / 435.6 MB, free: 7.648 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007812/0.6524, allocations: 281.2 kB / 435.8 MB, free: 7.367 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/0.6524, allocations: 12.27 kB / 435.9 MB, free: 7.355 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.6525, allocations: 11.98 kB / 435.9 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.6525, allocations: 7.984 kB / 435.9 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.6536, allocations: 127.8 kB / 436 MB, free: 7.211 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001565/0.6552, allocations: 2.36 MB / 438.4 MB, free: 4.758 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003661/0.6556, allocations: 43.97 kB / 438.4 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.6557, allocations: 16 kB / 438.4 MB, free: 4.699 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.0001531/0.6558, allocations: 120.9 kB / 438.5 MB, free: 4.574 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.422e-05/0.6559, allocations: 11.89 kB / 438.6 MB, free: 4.562 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001241/0.6572, allocations: 338.4 kB / 438.9 MB, free: 4.223 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.197e-06/0.6572, allocations: 4 kB / 438.9 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.6572, allocations: 0 / 438.9 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.6572, allocations: 0 / 438.9 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006275/0.6579, allocations: 349.3 kB / 439.2 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.068e-06/0.6579, allocations: 0 / 439.2 MB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/0.6589, allocations: 123.8 kB / 439.3 MB, free: 3.707 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.6589, allocations: 3.938 kB / 439.4 MB, free: 3.703 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.594e-05/0.659, allocations: 11.98 kB / 439.4 MB, free: 3.691 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00148/0.6605, allocations: 2.36 MB / 441.7 MB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.6605, allocations: 0 / 441.7 MB, free: 1.238 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007144/0.6612, allocations: 339.5 kB / 442.1 MB, free: 0.8906 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/0.6613, allocations: 100.8 kB / 442.2 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.626e-05/0.6614, allocations: 4 kB / 442.2 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.6617, allocations: 12 kB / 442.2 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.456e-05/0.6618, allocations: 31.92 kB / 442.2 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.527e-05/0.6618, allocations: 7.984 kB / 442.2 MB, free: 0.7188 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.441e-05/0.6619, allocations: 100.5 kB / 442.3 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.662, allocations: 0 / 442.3 MB, free: 0.6211 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00116/0.6631, allocations: 267.3 kB / 442.6 MB, free: 368 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.002139/0.6653, allocations: 1.163 MB / 443.7 MB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001059/0.6664, allocations: 255.8 kB / 444 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6664, allocations: 0 / 444 MB, free: 14.92 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000637/0.6671, allocations: 143.9 kB / 444.1 MB, free: 14.78 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002757/0.6673, allocations: 23.88 kB / 444.1 MB, free: 14.76 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.6693, allocations: 0.6016 MB / 444.7 MB, free: 14.12 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004632/0.6698, allocations: 0.8062 MB / 445.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002452/0.67, allocations: 91.39 kB / 445.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of SimCode: time 1.032e-06/0.67, allocations: 0 / 445.6 MB, free: 13.2 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.981/3.651, allocations: 11.21 MB / 456.9 MB, free: 1.977 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