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.General.dp_pressureLossCoefficient_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.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.405/2.405, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.177e-05/3.192e-05, allocations: 4 kB / 309.8 MB, free: 1.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3967, allocations: 54.85 MB / 364.7 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.5542, allocations: 83.88 MB / 448.5 MB, free: 12.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003644/0.5547, allocations: 91.94 kB / 448.6 MB, free: 12.54 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2/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.02052/0.5752, allocations: 4.214 MB / 452.8 MB, free: 8.359 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.987e-06/0.5752, allocations: 0 / 452.8 MB, free: 8.359 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.5753, allocations: 3.938 kB / 452.8 MB, free: 8.355 MB / 378.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.0007305/0.576, allocations: 438.1 kB / 453.3 MB, free: 7.883 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.5761, allocations: 12.03 kB / 453.3 MB, free: 7.871 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.048e-05/0.5762, allocations: 50.53 kB / 453.3 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.5773, allocations: 111.6 kB / 453.4 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.5777, allocations: 210.8 kB / 453.6 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/0.5777, allocations: 12 kB / 453.6 MB, free: 7.445 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.204e-05/0.5778, allocations: 12 kB / 453.7 MB, free: 7.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005767/0.5784, allocations: 213.3 kB / 453.9 MB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.5784, allocations: 3.938 kB / 453.9 MB, free: 7.215 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.511e-05/0.5784, allocations: 8 kB / 453.9 MB, free: 7.207 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.307e-05/0.5785, allocations: 15.94 kB / 453.9 MB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005324/0.579, allocations: 195.9 kB / 454.1 MB, free: 7 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.5808, allocations: 0.7363 MB / 454.8 MB, free: 6.172 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.5811, allocations: 78.47 kB / 454.9 MB, free: 6.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001182/0.5813, allocations: 44.83 kB / 454.9 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.324e-05/0.5813, allocations: 0 / 454.9 MB, free: 6.039 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.5813, allocations: 30.56 kB / 455 MB, free: 6 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.5813, allocations: 0 / 455 MB, free: 6 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003884/0.5817, allocations: 101.7 kB / 455.1 MB, free: 5.895 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.5818, allocations: 59.41 kB / 455.1 MB, free: 5.824 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.5821, allocations: 170.4 kB / 455.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.5821, allocations: 25.7 kB / 455.3 MB, free: 5.617 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001278/0.5822, allocations: 202 kB / 455.5 MB, free: 5.418 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.803e-05/0.5823, allocations: 35.48 kB / 455.6 MB, free: 5.383 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.926e-05/0.5823, allocations: 8 kB / 455.6 MB, free: 5.375 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.5825, allocations: 314.8 kB / 455.9 MB, free: 5.059 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001276/0.5826, allocations: 39.97 kB / 455.9 MB, free: 5.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.5828, allocations: 83.47 kB / 456 MB, free: 4.914 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.583, allocations: 52.02 kB / 456 MB, free: 4.863 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.583, allocations: 0 / 456 MB, free: 4.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004319/0.5834, allocations: 149.4 kB / 456.2 MB, free: 4.711 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.5835, allocations: 11.98 kB / 456.2 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.5835, allocations: 0 / 456.2 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.5835, allocations: 4 kB / 456.2 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001636/0.5852, allocations: 111.2 kB / 456.3 MB, free: 4.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001946/0.5871, allocations: 1.821 MB / 458.1 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002927/0.5874, allocations: 23.86 kB / 458.2 MB, free: 2.676 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-05/0.5875, allocations: 12 kB / 458.2 MB, free: 2.664 MB / 378.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 () * 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.0001154/0.5876, allocations: 108.9 kB / 458.3 MB, free: 2.551 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.45e-05/0.5877, allocations: 19.8 kB / 458.3 MB, free: 2.531 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005526/0.5882, allocations: 155 kB / 458.4 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.5883, allocations: 7.984 kB / 458.5 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.598e-06/0.5883, allocations: 0 / 458.5 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/0.5883, allocations: 7.984 kB / 458.5 MB, free: 2.355 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.5887, allocations: 229.5 kB / 458.7 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5887, allocations: 0 / 458.7 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.5901, allocations: 95.83 kB / 458.8 MB, free: 1.988 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.5901, allocations: 4 kB / 458.8 MB, free: 1.984 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.041e-05/0.5901, allocations: 3.984 kB / 458.8 MB, free: 1.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001602/0.5917, allocations: 1.774 MB / 460.6 MB, free: 140 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.5918, allocations: 288 / 460.6 MB, free: 140 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004663/0.5923, allocations: 219.4 kB / 460.8 MB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.5924, allocations: 85.02 kB / 460.9 MB, free: 15.8 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.245e-05/0.5924, allocations: 7.938 kB / 460.9 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002492/0.5927, allocations: 15.98 kB / 460.9 MB, free: 15.78 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.191e-05/0.5928, allocations: 7.984 kB / 460.9 MB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.281e-05/0.5928, allocations: 8 kB / 460.9 MB, free: 15.76 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001937/0.593, allocations: 136 kB / 461 MB, free: 15.63 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.256e-06/0.593, allocations: 0 / 461 MB, free: 15.63 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004394/0.5935, allocations: 55.78 kB / 461.1 MB, free: 15.57 MB / 394.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 (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.0008618/0.5943, allocations: 0.7803 MB / 461.9 MB, free: 14.77 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001709/0.5961, allocations: 167.7 kB / 462 MB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.5961, allocations: 0 / 462 MB, free: 14.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001043/0.5971, allocations: 96.27 kB / 462.1 MB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004951/0.5977, allocations: 35.91 kB / 462.2 MB, free: 14.48 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.5987, allocations: 304 kB / 462.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004045/0.5991, allocations: 0.7552 MB / 463.2 MB, free: 13.36 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.5993, allocations: 39.42 kB / 463.2 MB, free: 13.32 MB / 394.7 MB Notification: Performance of SimCode: time 1.192e-06/0.5993, allocations: 0 / 463.2 MB, free: 13.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.953/3.552, allocations: 5.264 MB / 468.5 MB, free: 8.066 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat