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_volumeFlowRate_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.686/2.686, allocations: 235.1 MB / 243 MB, free: 9.582 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.599e-05/2.607e-05, allocations: 7.938 kB / 303.3 MB, free: 13.17 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3734, allocations: 54.85 MB / 358.1 MB, free: 14.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1578/0.5313, allocations: 83.68 MB / 441.8 MB, free: 11.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003711/0.5318, allocations: 95.94 kB / 441.9 MB, free: 10.96 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5587:11-5590:61:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02892/0.5607, allocations: 5.97 MB / 447.9 MB, free: 4.961 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.5607, allocations: 0 / 447.9 MB, free: 4.961 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.5608, allocations: 0 / 447.9 MB, free: 4.961 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007169/0.5615, allocations: 442 kB / 448.3 MB, free: 4.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5e-05/0.5616, allocations: 12.03 kB / 448.3 MB, free: 4.473 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007588/0.5623, allocations: 75.67 kB / 448.4 MB, free: 4.398 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003465/0.5627, allocations: 222.8 kB / 448.6 MB, free: 4.141 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.5627, allocations: 4 kB / 448.6 MB, free: 4.137 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.5628, allocations: 8 kB / 448.6 MB, free: 4.129 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006508/0.5635, allocations: 231.8 kB / 448.9 MB, free: 3.902 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005606/0.564, allocations: 237.4 kB / 449.1 MB, free: 3.664 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.242e-05/0.5641, allocations: 0 / 449.1 MB, free: 3.664 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.374e-05/0.5641, allocations: 3.953 kB / 449.1 MB, free: 3.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.921e-05/0.5642, allocations: 23.92 kB / 449.1 MB, free: 3.637 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.5661, allocations: 0.7408 MB / 449.9 MB, free: 2.816 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004721/0.5666, allocations: 158.4 kB / 450 MB, free: 2.652 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.5667, allocations: 56.84 kB / 450.1 MB, free: 2.594 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.5668, allocations: 4 kB / 450.1 MB, free: 2.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.5668, allocations: 30.56 kB / 450.1 MB, free: 2.551 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.856e-06/0.5669, allocations: 0 / 450.1 MB, free: 2.551 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005915/0.5675, allocations: 157.7 kB / 450.3 MB, free: 2.391 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.5675, allocations: 59.39 kB / 450.3 MB, free: 2.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.5677, allocations: 119.9 kB / 450.4 MB, free: 2.199 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.5677, allocations: 25.7 kB / 450.5 MB, free: 2.168 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001473/0.5679, allocations: 214.1 kB / 450.7 MB, free: 1.957 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.76e-05/0.568, allocations: 39.55 kB / 450.7 MB, free: 1.918 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.568, allocations: 0 / 450.7 MB, free: 1.918 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.5682, allocations: 314.8 kB / 451 MB, free: 1.602 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.5684, allocations: 51.95 kB / 451.1 MB, free: 1.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003067/0.5687, allocations: 113.2 kB / 451.2 MB, free: 1.418 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.569, allocations: 71.92 kB / 451.3 MB, free: 1.348 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.569, allocations: 0 / 451.3 MB, free: 1.348 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006081/0.5697, allocations: 201.3 kB / 451.4 MB, free: 1.145 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.5697, allocations: 12.08 kB / 451.5 MB, free: 1.133 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.5697, allocations: 3.938 kB / 451.5 MB, free: 1.129 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.5698, allocations: 4 kB / 451.5 MB, free: 1.125 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008111/0.5706, allocations: 72.14 kB / 451.5 MB, free: 1.055 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.572, allocations: 1.793 MB / 453.3 MB, free: 15.19 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003728/0.5724, allocations: 27.91 kB / 453.4 MB, free: 15.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.5725, allocations: 19.97 kB / 453.4 MB, free: 15.14 MB / 394.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 (17): * Single equations (assignments): 14 * 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.0001399/0.5726, allocations: 106.5 kB / 453.5 MB, free: 15.04 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000495/0.5731, allocations: 157.4 kB / 453.6 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.578e-05/0.5732, allocations: 11.91 kB / 453.6 MB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001102/0.5743, allocations: 245.9 kB / 453.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.5743, allocations: 4 kB / 453.9 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.5743, allocations: 4 kB / 453.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.737e-05/0.5744, allocations: 0 / 453.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.5748, allocations: 210 kB / 454.1 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.5748, allocations: 0 / 454.1 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/0.5754, allocations: 59.88 kB / 454.2 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.5754, allocations: 0 / 454.2 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.5755, allocations: 8 kB / 454.2 MB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/0.5768, allocations: 1.789 MB / 456 MB, free: 12.45 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.466e-05/0.5768, allocations: 4.031 kB / 456 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004368/0.5773, allocations: 227.6 kB / 456.2 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.898e-05/0.5774, allocations: 89 kB / 456.3 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.564e-05/0.5774, allocations: 0 / 456.3 MB, free: 12.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.5777, allocations: 8 kB / 456.3 MB, free: 12.09 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.834e-05/0.5778, allocations: 7.984 kB / 456.3 MB, free: 12.08 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-05/0.5778, allocations: 7.984 kB / 456.3 MB, free: 12.07 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000137/0.578, allocations: 115.9 kB / 456.4 MB, free: 11.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.578, allocations: 7.938 kB / 456.4 MB, free: 11.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005972/0.5786, allocations: 55.78 kB / 456.5 MB, free: 11.9 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 (13): * Single equations (assignments): 10 * 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.001019/0.5796, allocations: 0.8008 MB / 457.3 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007521/0.5804, allocations: 151.7 kB / 457.4 MB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5804, allocations: 0 / 457.4 MB, free: 10.92 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004221/0.5809, allocations: 71.89 kB / 457.5 MB, free: 10.85 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000286/0.5812, allocations: 11.97 kB / 457.5 MB, free: 10.84 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001304/0.5825, allocations: 328.8 kB / 457.8 MB, free: 10.48 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004789/0.583, allocations: 0.7435 MB / 458.6 MB, free: 9.707 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002009/0.5832, allocations: 55.41 kB / 458.6 MB, free: 9.652 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.5832, allocations: 0 / 458.6 MB, free: 9.652 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.929/3.512, allocations: 5.553 MB / 464.2 MB, free: 4.105 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_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat