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_nominalPressureLossLawDensity_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_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.68/2.68, allocations: 235.1 MB / 243 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.446e-05/2.462e-05, allocations: 7.938 kB / 303.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4014, allocations: 54.85 MB / 358.2 MB, free: 15.63 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1699/0.5713, allocations: 87.12 MB / 445.3 MB, free: 8.383 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004075/0.5718, allocations: 95.94 kB / 445.4 MB, free: 8.289 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.04732/0.6192, allocations: 8.77 MB / 454.1 MB, free: 15.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 7.234e-06/0.6192, allocations: 3.984 kB / 454.1 MB, free: 15.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.466e-05/0.6193, allocations: 8 kB / 454.1 MB, free: 15.38 MB / 394.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.001367/0.6207, allocations: 0.5217 MB / 454.7 MB, free: 14.81 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.303e-05/0.6208, allocations: 12.03 kB / 454.7 MB, free: 14.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001528/0.6209, allocations: 35.58 kB / 454.7 MB, free: 14.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005649/0.6215, allocations: 234.7 kB / 454.9 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.381e-05/0.6216, allocations: 8 kB / 455 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.492e-05/0.6217, allocations: 20 kB / 455 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0013/0.623, allocations: 381.4 kB / 455.3 MB, free: 14.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001361/0.6244, allocations: 413.3 kB / 455.7 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.26e-05/0.6245, allocations: 0 / 455.7 MB, free: 13.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.196e-05/0.6245, allocations: 7.938 kB / 455.8 MB, free: 13.67 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.443e-05/0.6246, allocations: 20.78 kB / 455.8 MB, free: 13.65 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003103/0.6277, allocations: 1.124 MB / 456.9 MB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002139/0.628, allocations: 58.56 kB / 457 MB, free: 12.37 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.6282, allocations: 25 kB / 457 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.013e-05/0.6282, allocations: 7.984 kB / 457 MB, free: 12.34 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.172e-05/0.6283, allocations: 42.56 kB / 457 MB, free: 12.29 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 4.339e-06/0.6283, allocations: 0 / 457 MB, free: 12.29 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0004505/0.6288, allocations: 93.5 kB / 457.1 MB, free: 12.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.041e-05/0.6288, allocations: 55.41 kB / 457.2 MB, free: 12.12 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.6291, allocations: 154 kB / 457.3 MB, free: 11.96 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.866e-05/0.6291, allocations: 25.7 kB / 457.4 MB, free: 11.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.6294, allocations: 282 kB / 457.6 MB, free: 11.65 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.625e-05/0.6295, allocations: 27.64 kB / 457.7 MB, free: 11.62 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.628e-05/0.6295, allocations: 0 / 457.7 MB, free: 11.62 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.6297, allocations: 330.8 kB / 458 MB, free: 11.29 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.6299, allocations: 31.98 kB / 458 MB, free: 11.26 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003075/0.6302, allocations: 156.2 kB / 458.2 MB, free: 11.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002709/0.6305, allocations: 60.23 kB / 458.2 MB, free: 10.99 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.6305, allocations: 4 kB / 458.2 MB, free: 10.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006972/0.6312, allocations: 201.2 kB / 458.4 MB, free: 10.78 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.6313, allocations: 4 kB / 458.4 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.6313, allocations: 4 kB / 458.4 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.521e-05/0.6313, allocations: 8 kB / 458.4 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000664/0.632, allocations: 88.44 kB / 458.5 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001374/0.6334, allocations: 1.782 MB / 460.3 MB, free: 8.828 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003033/0.6338, allocations: 31.88 kB / 460.3 MB, free: 8.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.475e-05/0.6338, allocations: 15.94 kB / 460.4 MB, free: 8.781 MB / 394.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 () * 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.0002071/0.634, allocations: 121.7 kB / 460.5 MB, free: 8.656 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003668/0.6344, allocations: 89.56 kB / 460.6 MB, free: 8.562 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.6345, allocations: 11.91 kB / 460.6 MB, free: 8.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008964/0.6354, allocations: 174.1 kB / 460.7 MB, free: 8.375 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/0.6355, allocations: 3.953 kB / 460.7 MB, free: 8.371 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6355, allocations: 3.938 kB / 460.7 MB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.6355, allocations: 0 / 460.7 MB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005579/0.6361, allocations: 222.1 kB / 461 MB, free: 8.113 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.6361, allocations: 8 kB / 461 MB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006431/0.6368, allocations: 59.89 kB / 461 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.443e-06/0.6368, allocations: 0 / 461 MB, free: 8.047 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.16e-05/0.6368, allocations: 4 kB / 461 MB, free: 8.043 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001646/0.6385, allocations: 1.781 MB / 462.8 MB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.644e-06/0.6385, allocations: 3.938 kB / 462.8 MB, free: 6.188 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004429/0.639, allocations: 199.4 kB / 463 MB, free: 5.977 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.601e-05/0.6391, allocations: 85.14 kB / 463.1 MB, free: 5.875 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.6392, allocations: 4 kB / 463.1 MB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002605/0.6395, allocations: 8 kB / 463.1 MB, free: 5.863 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.386e-05/0.6396, allocations: 7.984 kB / 463.1 MB, free: 5.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.13e-05/0.6396, allocations: 7.984 kB / 463.1 MB, free: 5.848 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001494/0.6398, allocations: 115.2 kB / 463.2 MB, free: 5.734 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6398, allocations: 0 / 463.2 MB, free: 5.734 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001033/0.6408, allocations: 91.53 kB / 463.3 MB, free: 5.645 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 (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.00127/0.6422, allocations: 0.8086 MB / 464.1 MB, free: 4.816 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009044/0.6431, allocations: 135.7 kB / 464.3 MB, free: 4.684 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6431, allocations: 0 / 464.3 MB, free: 4.684 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005521/0.6437, allocations: 61.08 kB / 464.3 MB, free: 4.625 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.6441, allocations: 8 kB / 464.3 MB, free: 4.617 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.646, allocations: 421.3 kB / 464.7 MB, free: 4.168 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006627/0.6467, allocations: 0.7982 MB / 465.5 MB, free: 3.344 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002387/0.6469, allocations: 79.41 kB / 465.6 MB, free: 3.266 MB / 394.7 MB Notification: Performance of SimCode: time 1.212e-06/0.647, allocations: 4 kB / 465.6 MB, free: 3.262 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.986/3.633, allocations: 8.141 MB / 473.8 MB, free: 11.11 MB / 410.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_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat