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.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.053/2.053, allocations: 209.2 MB / 224.8 MB, free: 1.543 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006022/0.0006024, allocations: 16 kB / 282.7 MB, free: 9.645 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1073/0.1079, allocations: 48.71 MB / 331.4 MB, free: 8.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4124/0.5204, allocations: 77.52 MB / 408.9 MB, free: 7.477 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003464/0.5208, allocations: 99.92 kB / 409 MB, free: 7.379 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5488:11-5489:129:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02089/0.5417, allocations: 4.204 MB / 413.2 MB, free: 3.191 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.5417, allocations: 0 / 413.2 MB, free: 3.191 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.5417, allocations: 0 / 413.2 MB, free: 3.191 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007284/0.5425, allocations: 454.7 kB / 413.7 MB, free: 2.699 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/0.5425, allocations: 8.031 kB / 413.7 MB, free: 2.691 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.006e-05/0.5426, allocations: 50.55 kB / 413.7 MB, free: 2.633 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001134/0.5438, allocations: 99.69 kB / 413.8 MB, free: 2.535 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.5441, allocations: 214.8 kB / 414 MB, free: 2.285 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.5442, allocations: 12 kB / 414 MB, free: 2.273 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.561e-05/0.5442, allocations: 19.98 kB / 414.1 MB, free: 2.254 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006961/0.5449, allocations: 221.5 kB / 414.3 MB, free: 2.031 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.545, allocations: 15.84 kB / 414.3 MB, free: 2.016 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.545, allocations: 8 kB / 414.3 MB, free: 2.008 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.011e-05/0.5451, allocations: 8.875 kB / 414.3 MB, free: 2 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007977/0.5459, allocations: 243.6 kB / 414.5 MB, free: 1.762 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.5476, allocations: 0.7439 MB / 415.3 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003652/0.5481, allocations: 94.47 kB / 415.4 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.5481, allocations: 0 / 415.4 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.5481, allocations: 38.56 kB / 415.4 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 1.993e-06/0.5482, allocations: 0 / 415.4 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0008755/0.549, allocations: 189.6 kB / 415.6 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.5491, allocations: 51.41 kB / 415.7 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000279/0.5494, allocations: 174.5 kB / 415.8 MB, free: 352 kB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.54e-05/0.5494, allocations: 25.7 kB / 415.9 MB, free: 320 kB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.5496, allocations: 198.1 kB / 416 MB, free: 120 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.5496, allocations: 27.64 kB / 416.1 MB, free: 92 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/0.5497, allocations: 4 kB / 416.1 MB, free: 88 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5498, allocations: 318.8 kB / 416.4 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.5501, allocations: 51.95 kB / 416.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002868/0.5504, allocations: 106.8 kB / 416.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002728/0.5507, allocations: 67.94 kB / 416.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.5507, allocations: 0 / 416.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0006758/0.5514, allocations: 189.3 kB / 416.8 MB, free: 15.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.5514, allocations: 7.953 kB / 416.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.5514, allocations: 4 kB / 416.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.941e-05/0.5515, allocations: 12.22 kB / 416.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001545/0.553, allocations: 103.9 kB / 416.9 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001905/0.555, allocations: 1.824 MB / 418.7 MB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.5553, allocations: 20.03 kB / 418.8 MB, free: 13.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.523e-05/0.5553, allocations: 8 kB / 418.8 MB, free: 13.28 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (14): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002046/0.5556, allocations: 144.7 kB / 418.9 MB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.589e-05/0.5556, allocations: 19.84 kB / 418.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007665/0.5564, allocations: 194.7 kB / 419.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.5564, allocations: 4 kB / 419.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.5564, allocations: 0 / 419.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.5565, allocations: 4 kB / 419.1 MB, free: 12.91 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003742/0.5568, allocations: 225.6 kB / 419.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5569, allocations: 0 / 419.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001369/0.5582, allocations: 93 kB / 419.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.5583, allocations: 4 kB / 419.4 MB, free: 12.55 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.529e-05/0.5583, allocations: 3.953 kB / 419.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.5597, allocations: 1.777 MB / 421.2 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5598, allocations: 4.281 kB / 421.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006436/0.5604, allocations: 251.2 kB / 421.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/0.5605, allocations: 92.94 kB / 421.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.311e-05/0.5606, allocations: 4 kB / 421.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002385/0.5609, allocations: 11.95 kB / 421.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.184e-05/0.5609, allocations: 11.98 kB / 421.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.832e-05/0.561, allocations: 4 kB / 421.6 MB, free: 10.29 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001848/0.5612, allocations: 139.9 kB / 421.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5612, allocations: 0 / 421.7 MB, free: 10.15 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000516/0.5617, allocations: 43.91 kB / 421.8 MB, free: 10.11 MB / 346.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001148/0.5629, allocations: 0.819 MB / 422.6 MB, free: 9.262 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00191/0.5648, allocations: 206.3 kB / 422.8 MB, free: 9.062 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.5648, allocations: 0 / 422.8 MB, free: 9.062 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001202/0.5661, allocations: 115.8 kB / 422.9 MB, free: 8.949 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005174/0.5666, allocations: 43.86 kB / 423 MB, free: 8.906 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.5697, allocations: 2.122 MB / 425.1 MB, free: 6.707 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.5701, allocations: 0.7358 MB / 425.8 MB, free: 5.945 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001403/0.5703, allocations: 43.42 kB / 425.9 MB, free: 5.902 MB / 346.7 MB Notification: Performance of SimCode: time 1.443e-06/0.5703, allocations: 0 / 425.9 MB, free: 5.902 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.961/3.531, allocations: 5.266 MB / 431.1 MB, free: 0.6445 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat