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.Channel.dp_internalFlowOverall_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.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.549/2.549, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.656e-05/4.675e-05, allocations: 8 kB / 309.8 MB, free: 1.219 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4076/0.4077, allocations: 54.85 MB / 364.6 MB, free: 5.559 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/0.622, allocations: 105.2 MB / 469.8 MB, free: 7.254 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003922/0.6225, allocations: 99.92 kB / 469.9 MB, free: 7.156 MB / 394.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4955:11-4956:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4977:11-4978:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4937:11-4953:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4959:11-4975:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1429/0.7654, allocations: 27.85 MB / 497.8 MB, free: 11.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.228e-06/0.7655, allocations: 0 / 497.8 MB, free: 11.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.104e-05/0.7655, allocations: 15.94 kB / 497.8 MB, free: 11 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002904/0.7684, allocations: 0.8924 MB / 498.7 MB, free: 10.06 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.193e-05/0.7685, allocations: 12.03 kB / 498.7 MB, free: 10.05 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003312/0.7689, allocations: 151.9 kB / 498.8 MB, free: 9.891 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.7691, allocations: 71.06 kB / 498.9 MB, free: 9.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008299/0.7699, allocations: 346.1 kB / 499.3 MB, free: 9.441 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.38e-05/0.77, allocations: 58 kB / 499.3 MB, free: 9.387 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.7702, allocations: 76 kB / 499.4 MB, free: 9.312 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002784/0.773, allocations: 1.159 MB / 0.4888 GB, free: 8.148 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/0.7731, allocations: 0 / 0.4888 GB, free: 8.148 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.7733, allocations: 32 kB / 0.4888 GB, free: 8.117 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000148/0.7734, allocations: 73.95 kB / 0.4889 GB, free: 8.043 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004041/0.7775, allocations: 1.671 MB / 0.4905 GB, free: 6.371 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008017/0.7855, allocations: 2.962 MB / 0.4934 GB, free: 3.262 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001416/0.787, allocations: 423.6 kB / 0.4938 GB, free: 2.836 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.7874, allocations: 133.4 kB / 0.494 GB, free: 2.703 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.003e-05/0.7875, allocations: 16.25 kB / 0.494 GB, free: 2.688 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.127e-05/0.7875, allocations: 34.84 kB / 0.494 GB, free: 2.645 MB / 426.7 MB Notification: Performance of pre-optimization done (n=34): time 3.387e-06/0.7876, allocations: 4 kB / 0.494 GB, free: 2.641 MB / 426.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009701/0.7885, allocations: 323.5 kB / 0.4943 GB, free: 2.32 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.502e-05/0.7886, allocations: 55.41 kB / 0.4944 GB, free: 2.254 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/0.7889, allocations: 189.6 kB / 0.4946 GB, free: 2.059 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.298e-05/0.789, allocations: 29.7 kB / 0.4946 GB, free: 2.023 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.7893, allocations: 452.6 kB / 0.495 GB, free: 1.574 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.7894, allocations: 122.3 kB / 0.4951 GB, free: 1.453 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.7895, allocations: 8 kB / 0.4951 GB, free: 1.445 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001418/0.7896, allocations: 334.8 kB / 0.4955 GB, free: 1.109 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003751/0.79, allocations: 141 kB / 0.4956 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005541/0.7906, allocations: 318.5 kB / 0.4959 GB, free: 0.5703 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.7911, allocations: 200.4 kB / 0.4961 GB, free: 384 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.738e-06/0.7911, allocations: 4 kB / 0.4961 GB, free: 380 kB / 426.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001345/0.7925, allocations: 0.5008 MB / 0.4966 GB, free: 15.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.7926, allocations: 8 kB / 0.4966 GB, free: 15.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/0.7926, allocations: 8 kB / 0.4966 GB, free: 15.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.372e-05/0.7926, allocations: 15.94 kB / 0.4966 GB, free: 15.83 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001481/0.7941, allocations: 204.2 kB / 0.4968 GB, free: 15.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002098/0.7963, allocations: 3.004 MB / 0.4997 GB, free: 12.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005786/0.7969, allocations: 55.52 kB / 0.4998 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.6e-05/0.797, allocations: 40.17 kB / 0.4998 GB, free: 12.42 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002091/0.7972, allocations: 140.7 kB / 0.5 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.7973, allocations: 23.72 kB / 0.5 GB, free: 12.25 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002029/0.7993, allocations: 0.5309 MB / 0.5005 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.7994, allocations: 4 kB / 0.5005 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.7994, allocations: 3.953 kB / 0.5005 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.7994, allocations: 0 / 0.5005 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/0.8022, allocations: 1.152 MB / 0.5016 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.8022, allocations: 0 / 0.5016 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00131/0.8036, allocations: 175.8 kB / 0.5018 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.846e-05/0.8036, allocations: 4 kB / 0.5018 GB, free: 10.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.307e-05/0.8037, allocations: 16.23 kB / 0.5018 GB, free: 10.28 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001961/0.8057, allocations: 2.965 MB / 0.5047 GB, free: 7.203 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-05/0.8057, allocations: 4.031 kB / 0.5047 GB, free: 7.199 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.8068, allocations: 0.5546 MB / 0.5053 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001094/0.8069, allocations: 108.7 kB / 0.5054 GB, free: 6.43 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.807, allocations: 16 kB / 0.5054 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003557/0.8074, allocations: 19.98 kB / 0.5054 GB, free: 6.395 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001319/0.8075, allocations: 31.97 kB / 0.5054 GB, free: 6.363 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.476e-05/0.8076, allocations: 19.94 kB / 0.5055 GB, free: 6.344 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001775/0.8078, allocations: 140.5 kB / 0.5056 GB, free: 6.207 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.8078, allocations: 3.938 kB / 0.5056 GB, free: 6.203 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001673/0.8095, allocations: 378.6 kB / 0.506 GB, free: 5.832 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002937/0.8125, allocations: 1.949 MB / 0.5079 GB, free: 3.801 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001713/0.8142, allocations: 421.1 kB / 0.5083 GB, free: 3.391 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/0.8143, allocations: 0 / 0.5083 GB, free: 3.391 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000983/0.8153, allocations: 227.6 kB / 0.5085 GB, free: 3.168 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.8157, allocations: 24.44 kB / 0.5085 GB, free: 3.141 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003712/0.8194, allocations: 1.133 MB / 0.5096 GB, free: 1.938 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008101/0.8203, allocations: 0.9992 MB / 0.5106 GB, free: 0.9062 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004818/0.8208, allocations: 207.4 kB / 0.5108 GB, free: 0.707 MB / 442.7 MB Notification: Performance of SimCode: time 1.523e-06/0.8208, allocations: 0 / 0.5108 GB, free: 0.707 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.428/4.249, allocations: 24.1 MB / 0.5343 GB, free: 139 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat