Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.294/2.294, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004229/0.0004229, allocations: 8 kB / 314.5 MB, free: 9.438 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3442, allocations: 54.86 MB / 369.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2087/0.5529, allocations: 90.14 MB / 459.5 MB, free: 440 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003882/0.5534, allocations: 103.9 kB / 459.6 MB, free: 336 kB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6216:11-6222:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, 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:6224:11-6227: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:6230:11-6236:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, 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:6238:11-6241: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.0588/0.6122, allocations: 11.29 MB / 470.9 MB, free: 4.957 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.6123, allocations: 0 / 470.9 MB, free: 4.957 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.641e-05/0.6123, allocations: 4 kB / 470.9 MB, free: 4.953 MB / 394.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.001395/0.6137, allocations: 0.5848 MB / 471.5 MB, free: 4.32 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.6138, allocations: 12.03 kB / 471.5 MB, free: 4.309 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/0.6139, allocations: 74.53 kB / 471.6 MB, free: 4.227 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.484e-05/0.614, allocations: 27.62 kB / 471.6 MB, free: 4.199 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003835/0.6144, allocations: 238.7 kB / 471.8 MB, free: 3.926 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.776e-05/0.6144, allocations: 28.62 kB / 471.9 MB, free: 3.898 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.341e-05/0.6145, allocations: 24 kB / 471.9 MB, free: 3.875 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.6157, allocations: 467.9 kB / 472.3 MB, free: 3.41 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.037e-05/0.6158, allocations: 4 kB / 472.3 MB, free: 3.406 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.982e-05/0.6158, allocations: 19.89 kB / 472.4 MB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-05/0.6159, allocations: 40.97 kB / 472.4 MB, free: 3.348 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.6174, allocations: 0.5582 MB / 473 MB, free: 2.789 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003205/0.6206, allocations: 1.35 MB / 474.3 MB, free: 1.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000999/0.6217, allocations: 290.4 kB / 474.6 MB, free: 1.027 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.681e-05/0.6218, allocations: 8.375 kB / 474.6 MB, free: 1.02 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.662e-05/0.6218, allocations: 34.5 kB / 474.6 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 2.966e-06/0.6218, allocations: 0 / 474.6 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.001265/0.6231, allocations: 349.7 kB / 475 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.6232, allocations: 51.41 kB / 475 MB, free: 0.5664 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.6234, allocations: 126.1 kB / 475.2 MB, free: 444 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.232e-05/0.6234, allocations: 33.7 kB / 475.2 MB, free: 404 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001699/0.6236, allocations: 258.2 kB / 475.4 MB, free: 144 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.6237, allocations: 86.75 kB / 475.5 MB, free: 56 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.6238, allocations: 8 kB / 475.5 MB, free: 48 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.3001/0.9239, allocations: 330.8 kB / 475.9 MB, free: 95.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.9244, allocations: 86.5 kB / 475.9 MB, free: 95.73 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004738/0.9249, allocations: 172.8 kB / 476.1 MB, free: 95.63 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004731/0.9254, allocations: 119.1 kB / 476.2 MB, free: 95.63 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.9254, allocations: 1.031 kB / 476.2 MB, free: 95.63 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001173/0.9266, allocations: 332.8 kB / 476.6 MB, free: 95.6 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.9267, allocations: 6.797 kB / 476.6 MB, free: 95.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.9267, allocations: 2.75 kB / 476.6 MB, free: 95.6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.9267, allocations: 4.312 kB / 476.6 MB, free: 95.6 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.9278, allocations: 138 kB / 476.7 MB, free: 95.6 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001112/0.929, allocations: 2.368 MB / 479.1 MB, free: 93.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/0.9293, allocations: 30.05 kB / 479.1 MB, free: 93.27 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/0.9294, allocations: 17.69 kB / 479.1 MB, free: 93.27 MB / 394.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 () * Number of clocked 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.000308/0.9297, allocations: 180.2 kB / 479.3 MB, free: 93.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.914e-05/0.9298, allocations: 19.83 kB / 479.3 MB, free: 93.15 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.9312, allocations: 380.4 kB / 479.7 MB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.9312, allocations: 2.625 kB / 479.7 MB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.9312, allocations: 0 / 479.7 MB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.896e-06/0.9312, allocations: 3.984 kB / 479.7 MB, free: 93.1 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005641/0.9318, allocations: 340.9 kB / 480 MB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.9318, allocations: 0 / 480 MB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009685/0.9328, allocations: 125.2 kB / 480.1 MB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.694e-06/0.9328, allocations: 1.438 kB / 480.1 MB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.146e-05/0.9329, allocations: 12.56 kB / 480.2 MB, free: 92.91 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001016/0.9339, allocations: 2.357 MB / 482.5 MB, free: 90.57 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9339, allocations: 6.484 kB / 482.5 MB, free: 90.57 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009098/0.9348, allocations: 383 kB / 482.9 MB, free: 90.43 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.967e-05/0.9349, allocations: 94.92 kB / 483 MB, free: 90.33 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.717e-05/0.935, allocations: 8.844 kB / 483 MB, free: 90.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.9352, allocations: 14.44 kB / 483 MB, free: 90.33 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.906e-05/0.9354, allocations: 22.3 kB / 483 MB, free: 90.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.492e-05/0.9354, allocations: 9.531 kB / 483 MB, free: 90.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.099e-05/0.9355, allocations: 100 kB / 483.1 MB, free: 90.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.9355, allocations: 0 / 483.1 MB, free: 90.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000892/0.9364, allocations: 187.6 kB / 483.3 MB, free: 90.25 MB / 394.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 () * Number of clocked 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.001708/0.9381, allocations: 1.071 MB / 484.4 MB, free: 89.58 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00144/0.9396, allocations: 292.6 kB / 484.7 MB, free: 89.58 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.9396, allocations: 5.062 kB / 484.7 MB, free: 89.58 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009885/0.9406, allocations: 172.5 kB / 484.9 MB, free: 89.57 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003735/0.941, allocations: 13.5 kB / 484.9 MB, free: 89.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004999/0.946, allocations: 3.194 MB / 488.1 MB, free: 87.18 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.9466, allocations: 0.8076 MB / 488.9 MB, free: 86.48 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003318/0.9469, allocations: 89.59 kB / 489 MB, free: 86.47 MB / 394.7 MB Notification: Performance of SimCode: time 1.132e-06/0.9469, allocations: 0 / 489 MB, free: 86.47 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.887/3.834, allocations: 9.947 MB / 498.9 MB, free: 83.77 MB / 394.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_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat