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_overall_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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.362/2.362, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.451e-05/3.461e-05, allocations: 4 kB / 309.8 MB, free: 1.203 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4512/0.4512, allocations: 54.85 MB / 364.6 MB, free: 5.574 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2081/0.6594, allocations: 97.43 MB / 462.1 MB, free: 15 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003836/0.6599, allocations: 96.59 kB / 462.2 MB, free: 14.91 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2/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.2/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.2/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.1028/0.7627, allocations: 17.81 MB / 480 MB, free: 13.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.325e-06/0.7628, allocations: 0 / 480 MB, free: 13.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.09e-05/0.7628, allocations: 4 kB / 480 MB, free: 13.03 MB / 410.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.002197/0.765, allocations: 0.6347 MB / 480.6 MB, free: 12.35 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.046e-05/0.7651, allocations: 12.03 kB / 480.6 MB, free: 12.34 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002055/0.7653, allocations: 70.53 kB / 480.7 MB, free: 12.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001428/0.7655, allocations: 31.62 kB / 480.7 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005821/0.7661, allocations: 242.6 kB / 481 MB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.872e-05/0.7662, allocations: 28.7 kB / 481 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.7663, allocations: 24 kB / 481 MB, free: 11.9 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001577/0.7679, allocations: 447.5 kB / 481.5 MB, free: 11.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/0.768, allocations: 4 kB / 481.5 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.557e-05/0.7681, allocations: 8 kB / 481.5 MB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001295/0.7682, allocations: 36.77 kB / 481.5 MB, free: 11.41 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001725/0.7699, allocations: 0.5184 MB / 482 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004227/0.7742, allocations: 1.35 MB / 483.4 MB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.7754, allocations: 274.4 kB / 483.6 MB, free: 9.141 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003094/0.7757, allocations: 80.83 kB / 483.7 MB, free: 9.059 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.796e-05/0.7758, allocations: 8.375 kB / 483.7 MB, free: 9.051 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.957e-05/0.7759, allocations: 39 kB / 483.8 MB, free: 9.004 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 4.067e-06/0.7759, allocations: 0 / 483.8 MB, free: 9.004 MB / 410.7 MB Notification: Performance of matching and sorting (n=25): time 0.0009452/0.7769, allocations: 213.3 kB / 484 MB, free: 8.789 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/0.7769, allocations: 59.36 kB / 484 MB, free: 8.719 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.7772, allocations: 134 kB / 484.2 MB, free: 8.578 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.533e-05/0.7773, allocations: 29.7 kB / 484.2 MB, free: 8.543 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000217/0.7775, allocations: 262.1 kB / 484.4 MB, free: 8.281 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.7776, allocations: 82.75 kB / 484.5 MB, free: 8.199 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.7777, allocations: 8 kB / 484.5 MB, free: 8.191 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001897/0.7779, allocations: 326.8 kB / 484.9 MB, free: 7.863 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003106/0.7782, allocations: 71.95 kB / 484.9 MB, free: 7.793 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.7787, allocations: 158.2 kB / 485.1 MB, free: 7.602 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004119/0.7791, allocations: 103.9 kB / 485.2 MB, free: 7.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.7791, allocations: 7.875 kB / 485.2 MB, free: 7.492 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001102/0.7803, allocations: 293.3 kB / 485.5 MB, free: 7.199 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.138e-05/0.7803, allocations: 4 kB / 485.5 MB, free: 7.195 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.7803, allocations: 4 kB / 485.5 MB, free: 7.191 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.688e-05/0.7804, allocations: 4 kB / 485.5 MB, free: 7.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001415/0.7818, allocations: 136.2 kB / 485.6 MB, free: 7.055 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002157/0.784, allocations: 2.372 MB / 488 MB, free: 4.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000485/0.7845, allocations: 27.75 kB / 488 MB, free: 4.562 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.137e-05/0.7846, allocations: 15.98 kB / 488 MB, free: 4.547 MB / 410.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.0002013/0.7848, allocations: 124.9 kB / 488.2 MB, free: 4.418 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.373e-05/0.7849, allocations: 15.86 kB / 488.2 MB, free: 4.402 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001618/0.7866, allocations: 339 kB / 488.5 MB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.7866, allocations: 0 / 488.5 MB, free: 4.07 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.7867, allocations: 8 kB / 488.5 MB, free: 4.062 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.096e-05/0.7867, allocations: 3.984 kB / 488.5 MB, free: 4.059 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009004/0.7876, allocations: 341.2 kB / 488.8 MB, free: 3.676 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-06/0.7876, allocations: 3.938 kB / 488.8 MB, free: 3.672 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001319/0.789, allocations: 123.8 kB / 489 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-05/0.789, allocations: 0 / 489 MB, free: 3.551 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-05/0.7891, allocations: 11.95 kB / 489 MB, free: 3.539 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002132/0.7912, allocations: 2.356 MB / 491.3 MB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.7913, allocations: 0 / 491.3 MB, free: 1.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009915/0.7923, allocations: 347.4 kB / 491.7 MB, free: 0.7344 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001011/0.7924, allocations: 92.86 kB / 491.8 MB, free: 0.625 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.113e-05/0.7925, allocations: 8 kB / 491.8 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000393/0.7929, allocations: 20.08 kB / 491.8 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.793, allocations: 15.97 kB / 491.8 MB, free: 0.582 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.494e-05/0.7931, allocations: 19.98 kB / 491.8 MB, free: 0.5625 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001309/0.7932, allocations: 97.11 kB / 491.9 MB, free: 480 kB / 410.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.7933, allocations: 0 / 491.9 MB, free: 480 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.001593/0.7949, allocations: 267.3 kB / 492.2 MB, free: 212 kB / 410.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.002981/0.7979, allocations: 1.16 MB / 493.3 MB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001525/0.7995, allocations: 252.2 kB / 493.6 MB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.031e-06/0.7995, allocations: 0.6875 kB / 493.6 MB, free: 14.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009225/0.8005, allocations: 163.8 kB / 493.8 MB, free: 14.61 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.8008, allocations: 11.94 kB / 493.8 MB, free: 14.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002099/0.8029, allocations: 0.6089 MB / 494.4 MB, free: 13.95 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.8035, allocations: 0.8099 MB / 495.2 MB, free: 13.12 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002657/0.8038, allocations: 91.39 kB / 495.3 MB, free: 13.03 MB / 426.7 MB Notification: Performance of SimCode: time 1.262e-06/0.8038, allocations: 0 / 495.3 MB, free: 13.03 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.099/3.903, allocations: 11.22 MB / 0.4946 GB, free: 1.797 MB / 426.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_overall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat