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_overall_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_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.917/1.917, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000426/0.0004263, allocations: 12 kB / 282.7 MB, free: 9.531 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3406, allocations: 48.71 MB / 331.4 MB, free: 6.543 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.184/0.5247, allocations: 90.76 MB / 422.2 MB, free: 3.633 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004082/0.5252, allocations: 91.94 kB / 422.2 MB, free: 3.543 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.09305/0.6182, allocations: 17.81 MB / 440.1 MB, free: 1.629 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.6183, allocations: 0 / 440.1 MB, free: 1.629 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.406e-05/0.6183, allocations: 4 kB / 440.1 MB, free: 1.625 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.001528/0.6198, allocations: 0.6393 MB / 440.7 MB, free: 0.9375 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.6199, allocations: 12.03 kB / 440.7 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001245/0.6201, allocations: 78.47 kB / 440.8 MB, free: 0.8398 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.005e-05/0.6202, allocations: 31.62 kB / 440.8 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003702/0.6205, allocations: 238.6 kB / 441 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.939e-05/0.6206, allocations: 24.64 kB / 441.1 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.323e-05/0.6207, allocations: 31.94 kB / 441.1 MB, free: 492 kB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.6218, allocations: 459.9 kB / 441.6 MB, free: 24 kB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.6219, allocations: 0 / 441.6 MB, free: 24 kB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.6219, allocations: 16 kB / 441.6 MB, free: 8 kB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001094/0.622, allocations: 44.95 kB / 441.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.6235, allocations: 0.562 MB / 442.2 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003062/0.6266, allocations: 1.346 MB / 443.5 MB, free: 13.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009887/0.6276, allocations: 290.4 kB / 443.8 MB, free: 13.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.551e-05/0.6277, allocations: 8.391 kB / 443.8 MB, free: 13.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.293e-05/0.6277, allocations: 38.56 kB / 443.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=25): time 2.966e-06/0.6277, allocations: 0 / 443.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=25): time 0.001271/0.629, allocations: 341.7 kB / 444.2 MB, free: 13.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.6291, allocations: 55.41 kB / 444.2 MB, free: 13.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.6292, allocations: 131.3 kB / 444.4 MB, free: 13.04 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.6293, allocations: 29.7 kB / 444.4 MB, free: 13.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001685/0.6295, allocations: 266.1 kB / 444.7 MB, free: 12.75 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.6296, allocations: 86.75 kB / 444.7 MB, free: 12.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.6296, allocations: 4 kB / 444.7 MB, free: 12.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6298, allocations: 326.8 kB / 445.1 MB, free: 12.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.6301, allocations: 95.78 kB / 445.2 MB, free: 12.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004232/0.6306, allocations: 178.1 kB / 445.3 MB, free: 12.02 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004259/0.631, allocations: 125 kB / 445.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.631, allocations: 0 / 445.4 MB, free: 11.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001088/0.6321, allocations: 332.9 kB / 445.8 MB, free: 11.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.6322, allocations: 11.94 kB / 445.8 MB, free: 11.56 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.6322, allocations: 3.984 kB / 445.8 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.6322, allocations: 4 kB / 445.8 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.6333, allocations: 140.1 kB / 445.9 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/0.6351, allocations: 2.36 MB / 448.3 MB, free: 8.961 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003827/0.6356, allocations: 35.67 kB / 448.3 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.312e-05/0.6356, allocations: 12 kB / 448.3 MB, free: 8.914 MB / 378.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.0003233/0.636, allocations: 185.8 kB / 448.5 MB, free: 8.723 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.633e-05/0.636, allocations: 11.81 kB / 448.5 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.6376, allocations: 386.8 kB / 448.9 MB, free: 8.332 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/0.6376, allocations: 4 kB / 448.9 MB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.6377, allocations: 0 / 448.9 MB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.6377, allocations: 0 / 448.9 MB, free: 8.328 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006732/0.6384, allocations: 345.3 kB / 449.2 MB, free: 7.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/0.6384, allocations: 8 kB / 449.3 MB, free: 7.934 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/0.6394, allocations: 115.8 kB / 449.4 MB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.274e-05/0.6395, allocations: 0 / 449.4 MB, free: 7.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.686e-05/0.6395, allocations: 11.98 kB / 449.4 MB, free: 7.809 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001649/0.6412, allocations: 2.36 MB / 451.7 MB, free: 5.355 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/0.6412, allocations: 8.016 kB / 451.7 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001048/0.6423, allocations: 371.3 kB / 452.1 MB, free: 4.969 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.873e-05/0.6424, allocations: 92.86 kB / 452.2 MB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.131e-05/0.6425, allocations: 8 kB / 452.2 MB, free: 4.852 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002787/0.6428, allocations: 15.98 kB / 452.2 MB, free: 4.836 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001134/0.6429, allocations: 27.92 kB / 452.3 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.643, allocations: 15.98 kB / 452.3 MB, free: 4.793 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001153/0.6431, allocations: 99.2 kB / 452.4 MB, free: 4.695 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6431, allocations: 0 / 452.4 MB, free: 4.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001246/0.6444, allocations: 259.3 kB / 452.6 MB, free: 4.441 MB / 378.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.002607/0.647, allocations: 1.211 MB / 453.8 MB, free: 3.203 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001427/0.6485, allocations: 288.3 kB / 454.1 MB, free: 2.922 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.6485, allocations: 4 kB / 454.1 MB, free: 2.918 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007712/0.6493, allocations: 167.8 kB / 454.3 MB, free: 2.754 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002826/0.6496, allocations: 15.95 kB / 454.3 MB, free: 2.738 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004791/0.6544, allocations: 3.216 MB / 457.5 MB, free: 15.41 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005067/0.655, allocations: 0.7987 MB / 458.3 MB, free: 14.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.6553, allocations: 106.5 kB / 458.4 MB, free: 14.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6553, allocations: 0 / 458.4 MB, free: 14.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.322/3.978, allocations: 11.14 MB / 469.6 MB, free: 3.332 MB / 394.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