Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.992/1.992, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000442/0.000442, allocations: 16 kB / 282.7 MB, free: 9.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4561/0.4566, allocations: 48.7 MB / 331.4 MB, free: 6.418 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1851/0.6417, allocations: 83.6 MB / 415 MB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005103/0.6423, allocations: 95.94 kB / 415.1 MB, free: 10.59 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1/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.1/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.1/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.05922/0.7015, allocations: 11.26 MB / 426.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.7016, allocations: 0 / 426.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.667e-05/0.7016, allocations: 4 kB / 426.4 MB, free: 15.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.001433/0.7031, allocations: 0.5886 MB / 426.9 MB, free: 14.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.7032, allocations: 16.02 kB / 427 MB, free: 14.62 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001264/0.7033, allocations: 74.52 kB / 427 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.551e-05/0.7034, allocations: 31.62 kB / 427.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/0.7038, allocations: 238.7 kB / 427.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.428e-05/0.7038, allocations: 20.66 kB / 427.3 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/0.7039, allocations: 27.98 kB / 427.3 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.7052, allocations: 467.9 kB / 427.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.7052, allocations: 0 / 427.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.287e-05/0.7053, allocations: 11.98 kB / 427.8 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001014/0.7054, allocations: 40.97 kB / 427.8 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001511/0.7069, allocations: 0.5582 MB / 428.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003322/0.7103, allocations: 1.358 MB / 429.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.7114, allocations: 294.3 kB / 430.1 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.011e-05/0.7115, allocations: 7.984 kB / 430.1 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.7115, allocations: 34.56 kB / 430.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=25): time 3.106e-06/0.7115, allocations: 0 / 430.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=25): time 0.001274/0.7128, allocations: 341.7 kB / 430.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.507e-05/0.7129, allocations: 55.41 kB / 430.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.7131, allocations: 127.3 kB / 430.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.689e-05/0.7132, allocations: 29.7 kB / 430.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002153/0.7134, allocations: 266.1 kB / 430.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001326/0.7135, allocations: 91.12 kB / 431 MB, free: 10.36 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.7136, allocations: 8 kB / 431 MB, free: 10.35 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.7138, allocations: 322.8 kB / 431.3 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000369/0.7141, allocations: 95.78 kB / 431.4 MB, free: 9.934 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.7146, allocations: 174.2 kB / 431.6 MB, free: 9.727 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004165/0.715, allocations: 124.7 kB / 431.7 MB, free: 9.605 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.715, allocations: 0 / 431.7 MB, free: 9.605 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001042/0.7161, allocations: 333 kB / 432 MB, free: 9.273 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.735e-05/0.7161, allocations: 4 kB / 432 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.7162, allocations: 4.344 kB / 432 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.7162, allocations: 8 kB / 432 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.7173, allocations: 135.8 kB / 432.2 MB, free: 9.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0019/0.7192, allocations: 2.364 MB / 434.5 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003581/0.7196, allocations: 32.03 kB / 434.6 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.876e-05/0.7197, allocations: 23.98 kB / 434.6 MB, free: 6.613 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 () * 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.0003379/0.72, allocations: 177.6 kB / 434.8 MB, free: 6.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.604e-05/0.7201, allocations: 15.81 kB / 434.8 MB, free: 6.414 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00149/0.7216, allocations: 374.8 kB / 435.1 MB, free: 6.039 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.7216, allocations: 4 kB / 435.1 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.7216, allocations: 11.92 kB / 435.2 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.7217, allocations: 0 / 435.2 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000653/0.7223, allocations: 349.2 kB / 435.5 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.7223, allocations: 0 / 435.5 MB, free: 5.633 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009538/0.7233, allocations: 115.9 kB / 435.6 MB, free: 5.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-05/0.7233, allocations: 4 kB / 435.6 MB, free: 5.516 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.7234, allocations: 8 kB / 435.6 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001653/0.725, allocations: 2.36 MB / 438 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/0.7251, allocations: 4.031 kB / 438 MB, free: 3.051 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009924/0.7261, allocations: 371.3 kB / 438.3 MB, free: 2.672 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.553e-05/0.7262, allocations: 100.8 kB / 438.4 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.7263, allocations: 4 kB / 438.4 MB, free: 2.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002651/0.7265, allocations: 12 kB / 438.5 MB, free: 2.539 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.7267, allocations: 31.89 kB / 438.5 MB, free: 2.508 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.274e-05/0.7267, allocations: 8 kB / 438.5 MB, free: 2.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.7268, allocations: 103.2 kB / 438.6 MB, free: 2.398 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7268, allocations: 4 kB / 438.6 MB, free: 2.395 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008901/0.7277, allocations: 191.4 kB / 438.8 MB, free: 2.207 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 () * 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.001985/0.7297, allocations: 1.069 MB / 439.9 MB, free: 1.113 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.7311, allocations: 287.7 kB / 440.1 MB, free: 0.832 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.7311, allocations: 0 / 440.1 MB, free: 0.832 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007655/0.7319, allocations: 176.4 kB / 440.3 MB, free: 0.6602 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.7322, allocations: 15.98 kB / 440.3 MB, free: 0.6445 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004564/0.7368, allocations: 3.187 MB / 443.5 MB, free: 13.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006051/0.7374, allocations: 0.8064 MB / 444.3 MB, free: 12.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002642/0.7377, allocations: 91.39 kB / 444.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of SimCode: time 1.323e-06/0.7377, allocations: 0 / 444.4 MB, free: 12.43 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.877/3.614, allocations: 9.943 MB / 454.4 MB, free: 2.473 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_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat