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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.082/2.082, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004517/0.0004517, allocations: 19.92 kB / 282.7 MB, free: 9.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3886, allocations: 48.69 MB / 331.4 MB, free: 6.445 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.5361, allocations: 81.45 MB / 412.8 MB, free: 12.83 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003597/0.5365, allocations: 100.4 kB / 412.9 MB, free: 12.73 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, 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:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, 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:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd - DAE generated: time 0.04044/0.577, allocations: 8.897 MB / 421.8 MB, free: 3.715 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.577, allocations: 0 / 421.8 MB, free: 3.715 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.577, allocations: 4 kB / 421.8 MB, free: 3.711 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009394/0.578, allocations: 0.5228 MB / 422.3 MB, free: 3.141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.5781, allocations: 8.031 kB / 422.4 MB, free: 3.133 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001163/0.5782, allocations: 74.53 kB / 422.4 MB, free: 3.051 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.924e-05/0.5783, allocations: 35.62 kB / 422.5 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003607/0.5786, allocations: 242.6 kB / 422.7 MB, free: 2.738 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.492e-05/0.5787, allocations: 25 kB / 422.7 MB, free: 2.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.43e-05/0.5788, allocations: 32 kB / 422.8 MB, free: 2.684 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001166/0.58, allocations: 490 kB / 423.2 MB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.58, allocations: 3.938 kB / 423.2 MB, free: 2.184 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.469e-05/0.5801, allocations: 20 kB / 423.3 MB, free: 2.164 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.945e-05/0.5801, allocations: 21 kB / 423.3 MB, free: 2.145 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.5812, allocations: 431.7 kB / 423.7 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002382/0.5837, allocations: 1.213 MB / 424.9 MB, free: 424 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003203/0.584, allocations: 90.47 kB / 425 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.154e-05/0.5841, allocations: 3.984 kB / 425 MB, free: 320 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.5841, allocations: 34.56 kB / 425 MB, free: 276 kB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.926e-06/0.5841, allocations: 0 / 425 MB, free: 276 kB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007827/0.5849, allocations: 177.5 kB / 425.2 MB, free: 92 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.678e-05/0.585, allocations: 51.41 kB / 425.3 MB, free: 28 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00022/0.5852, allocations: 157.4 kB / 425.4 MB, free: 15.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.5853, allocations: 25.7 kB / 425.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001957/0.5855, allocations: 285.7 kB / 425.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.839e-05/0.5855, allocations: 27.64 kB / 425.7 MB, free: 15.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.564e-05/0.5855, allocations: 4 kB / 425.8 MB, free: 15.52 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.5857, allocations: 322.8 kB / 426.1 MB, free: 15.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002468/0.5859, allocations: 55.94 kB / 426.1 MB, free: 15.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003312/0.5863, allocations: 176.2 kB / 426.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003035/0.5866, allocations: 88.23 kB / 426.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.5866, allocations: 4 kB / 426.4 MB, free: 14.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007924/0.5874, allocations: 253.1 kB / 426.6 MB, free: 14.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.5875, allocations: 8 kB / 426.6 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.5875, allocations: 4.562 kB / 426.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.474e-05/0.5875, allocations: 4 kB / 426.6 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005929/0.5881, allocations: 95.88 kB / 426.7 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001188/0.5893, allocations: 1.785 MB / 428.5 MB, free: 12.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000261/0.5897, allocations: 19.84 kB / 428.5 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.697e-05/0.5897, allocations: 19.98 kB / 428.6 MB, free: 12.56 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0003186/0.59, allocations: 185.6 kB / 428.7 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.797e-05/0.5901, allocations: 15.75 kB / 428.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009527/0.5911, allocations: 206.1 kB / 429 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.5911, allocations: 4 kB / 429 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.5911, allocations: 0 / 429 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.5911, allocations: 0 / 429 MB, free: 12.15 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.5916, allocations: 301.4 kB / 429.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/0.5917, allocations: 7.938 kB / 429.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004324/0.5921, allocations: 63.94 kB / 429.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/0.5921, allocations: 4 kB / 429.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.988e-05/0.5922, allocations: 4 kB / 429.3 MB, free: 11.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/0.5933, allocations: 1.77 MB / 431.1 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/0.5934, allocations: 3.984 kB / 431.1 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005726/0.594, allocations: 231.5 kB / 431.3 MB, free: 9.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.5941, allocations: 81.02 kB / 431.4 MB, free: 9.543 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.616e-05/0.5941, allocations: 4 kB / 431.4 MB, free: 9.539 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.5943, allocations: 7.938 kB / 431.4 MB, free: 9.531 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.009e-05/0.5944, allocations: 15.98 kB / 431.4 MB, free: 9.516 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.158e-05/0.5944, allocations: 7.984 kB / 431.5 MB, free: 9.508 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001315/0.5945, allocations: 113.9 kB / 431.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.5945, allocations: 0 / 431.6 MB, free: 9.398 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006702/0.5952, allocations: 103.5 kB / 431.7 MB, free: 9.297 MB / 362.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 (7): * Single equations (assignments): 4 * 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.001225/0.5965, allocations: 0.8422 MB / 432.5 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009393/0.5974, allocations: 184.8 kB / 432.7 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.5975, allocations: 0 / 432.7 MB, free: 8.246 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004893/0.598, allocations: 83.88 kB / 432.8 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002589/0.5982, allocations: 8 kB / 432.8 MB, free: 8.156 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/0.6023, allocations: 3.956 MB / 436.7 MB, free: 4.059 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.6028, allocations: 0.7985 MB / 437.5 MB, free: 3.234 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.603, allocations: 83.41 kB / 437.6 MB, free: 3.156 MB / 362.7 MB Notification: Performance of SimCode: time 1.113e-06/0.603, allocations: 0 / 437.6 MB, free: 3.156 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.951/3.554, allocations: 8.114 MB / 445.7 MB, free: 11.05 MB / 378.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_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat