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.Valve.dp_severalGeometryOverall_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.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.568/2.568, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.654e-05/4.676e-05, allocations: 4 kB / 309.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4167/0.4168, allocations: 54.84 MB / 364.6 MB, free: 5.566 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1861/0.603, allocations: 93.62 MB / 458.3 MB, free: 2.828 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004614/0.6035, allocations: 96.94 kB / 458.4 MB, free: 2.734 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6536:11-6538:135:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6547:11-6549:131:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6584:11-6586:135:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6595:11-6597:129:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6529:11-6534:62:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6540:11-6545:61:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6552:11-6557:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6564:11-6569:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6577:11-6582:61:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6588:11-6593:59:writable] Error: Type mismatch in binding Av = Av, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6559:11-6562:78:writable] Error: Type mismatch in binding opening = opening, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6571:11-6573:134:writable] Error: Type mismatch in binding opening = opening, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1264/0.7299, allocations: 24.09 MB / 482.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.73, allocations: 4 kB / 482.4 MB, free: 10.67 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.889e-05/0.73, allocations: 20 kB / 482.5 MB, free: 10.65 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.003985/0.734, allocations: 1.464 MB / 483.9 MB, free: 9.133 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.738e-05/0.7341, allocations: 8.031 kB / 483.9 MB, free: 9.125 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007366/0.7349, allocations: 316.4 kB / 484.2 MB, free: 8.805 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004517/0.7353, allocations: 173.8 kB / 484.4 MB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.737, allocations: 0.6225 MB / 485 MB, free: 7.969 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.7372, allocations: 151.9 kB / 485.2 MB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00044/0.7377, allocations: 191.9 kB / 485.4 MB, free: 7.633 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00676/0.7445, allocations: 2.616 MB / 488 MB, free: 4.988 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.501e-05/0.7446, allocations: 0 / 488 MB, free: 4.988 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002597/0.7448, allocations: 83.94 kB / 488.1 MB, free: 4.906 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000236/0.7451, allocations: 144.4 kB / 488.2 MB, free: 4.762 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009139/0.7542, allocations: 3.605 MB / 491.8 MB, free: 1.141 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01949/0.7738, allocations: 6.681 MB / 498.5 MB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001751/0.7756, allocations: 0.6255 MB / 499.1 MB, free: 9.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006153/0.7763, allocations: 222.6 kB / 499.3 MB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000126/0.7764, allocations: 32.47 kB / 499.4 MB, free: 9.336 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.7764, allocations: 39.12 kB / 499.4 MB, free: 9.289 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 3.467e-06/0.7765, allocations: 0 / 499.4 MB, free: 9.289 MB / 426.7 MB Notification: Performance of matching and sorting (n=63): time 0.001967/0.7784, allocations: 0.6341 MB / 0.4883 GB, free: 8.648 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.418e-05/0.7785, allocations: 55.97 kB / 0.4884 GB, free: 8.582 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002423/0.7809, allocations: 1.234 MB / 0.4896 GB, free: 7.336 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001304/0.7811, allocations: 37.7 kB / 0.4896 GB, free: 7.293 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001275/0.7824, allocations: 1.341 MB / 0.4909 GB, free: 5.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004705/0.7829, allocations: 276.7 kB / 0.4912 GB, free: 5.656 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.7831, allocations: 67.94 kB / 0.4913 GB, free: 5.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003349/0.7834, allocations: 441.3 kB / 0.4917 GB, free: 5.148 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001731/0.7852, allocations: 0.6191 MB / 0.4923 GB, free: 4.527 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003877/0.7891, allocations: 2.676 MB / 0.4949 GB, free: 0.8125 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003228/0.7923, allocations: 1.234 MB / 0.4961 GB, free: 15.58 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.538e-05/0.7924, allocations: 23.83 kB / 0.4961 GB, free: 15.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.009484/0.8019, allocations: 3.125 MB / 0.4992 GB, free: 12.43 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.896e-05/0.8021, allocations: 40.92 kB / 0.4992 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001115/0.8022, allocations: 76 kB / 0.4993 GB, free: 12.32 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001632/0.8024, allocations: 112 kB / 0.4994 GB, free: 12.21 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005157/0.8075, allocations: 0.8735 MB / 0.5002 GB, free: 11.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004428/0.812, allocations: 6.052 MB / 0.5062 GB, free: 5.051 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003131/0.8152, allocations: 404.1 kB / 0.5065 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00046/0.8157, allocations: 220.2 kB / 0.5067 GB, free: 4.438 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 337 * Number of states: 0 () * Number of discrete variables: 35 (dp_IN_con_3[5].valveCoefficient,geometry[5],dp_IN_con_3[4].valveCoefficient,geometry[4],dp_IN_con_3[3].valveCoefficient,geometry[3],dp_IN_con_3[2].valveCoefficient,geometry[2],dp_IN_con_3[1].valveCoefficient,geometry[1],m_flow_IN_con_3[5].valveCoefficient,m_flow_IN_con_3[4].valveCoefficient,m_flow_IN_con_3[3].valveCoefficient,m_flow_IN_con_3[2].valveCoefficient,m_flow_IN_con_3[1].valveCoefficient,dp_IN_con_2[5].valveCoefficient,dp_IN_con_2[4].valveCoefficient,dp_IN_con_2[3].valveCoefficient,dp_IN_con_2[2].valveCoefficient,dp_IN_con_2[1].valveCoefficient,m_flow_IN_con_2[5].valveCoefficient,m_flow_IN_con_2[4].valveCoefficient,m_flow_IN_con_2[3].valveCoefficient,m_flow_IN_con_2[2].valveCoefficient,m_flow_IN_con_2[1].valveCoefficient,dp_IN_con_1[5].valveCoefficient,dp_IN_con_1[4].valveCoefficient,dp_IN_con_1[3].valveCoefficient,dp_IN_con_1[2].valveCoefficient,dp_IN_con_1[1].valveCoefficient,m_flow_IN_con_1[5].valveCoefficient,m_flow_IN_con_1[4].valveCoefficient,m_flow_IN_con_1[3].valveCoefficient,m_flow_IN_con_1[2].valveCoefficient,m_flow_IN_con_1[1].valveCoefficient) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (397): * Single equations (assignments): 387 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000708/0.8164, allocations: 375.8 kB / 0.5071 GB, free: 4.062 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003447/0.8168, allocations: 122.4 kB / 0.5072 GB, free: 3.941 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004936/0.8217, allocations: 1.191 MB / 0.5084 GB, free: 2.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.358e-05/0.8218, allocations: 8 kB / 0.5084 GB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.8218, allocations: 0 / 0.5084 GB, free: 2.723 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.462e-05/0.8218, allocations: 3.984 kB / 0.5084 GB, free: 2.719 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.8239, allocations: 0.9554 MB / 0.5093 GB, free: 1.719 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.8239, allocations: 0 / 0.5093 GB, free: 1.719 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002189/0.8261, allocations: 323.7 kB / 0.5096 GB, free: 1.402 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.499e-05/0.8262, allocations: 4 kB / 0.5096 GB, free: 1.398 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.963e-05/0.8263, allocations: 35.97 kB / 0.5097 GB, free: 1.363 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004051/0.8303, allocations: 5.915 MB / 0.5155 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.316e-06/0.8304, allocations: 7.891 kB / 0.5155 GB, free: 11.21 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00205/0.8324, allocations: 0.7956 MB / 0.5162 GB, free: 10.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006866/0.8331, allocations: 307.2 kB / 0.5165 GB, free: 10.08 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002074/0.8334, allocations: 12 kB / 0.5165 GB, free: 10.07 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007402/0.8341, allocations: 39.97 kB / 0.5166 GB, free: 10.03 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002258/0.8344, allocations: 72.66 kB / 0.5167 GB, free: 9.957 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/0.8345, allocations: 35.98 kB / 0.5167 GB, free: 9.922 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001648/0.8361, allocations: 0.7745 MB / 0.5174 GB, free: 9.141 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.61e-07/0.8362, allocations: 0 / 0.5174 GB, free: 9.141 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003117/0.8393, allocations: 0.4952 MB / 0.5179 GB, free: 8.645 MB / 458.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 (74): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002909/0.8422, allocations: 1.554 MB / 0.5194 GB, free: 7.066 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005319/0.8476, allocations: 1.746 MB / 0.5211 GB, free: 5.332 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/0.8476, allocations: 0 / 0.5211 GB, free: 5.332 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001793/0.8495, allocations: 425 kB / 0.5216 GB, free: 4.922 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006305/0.8501, allocations: 96.64 kB / 0.5216 GB, free: 4.824 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008257/0.8584, allocations: 2.44 MB / 0.524 GB, free: 2.332 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/0.8601, allocations: 1.46 MB / 0.5255 GB, free: 0.8398 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/0.8615, allocations: 0.5969 MB / 0.526 GB, free: 248 kB / 458.7 MB Notification: Performance of SimCode: time 1.423e-06/0.8615, allocations: 3.938 kB / 0.526 GB, free: 244 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.918/4.779, allocations: 90.72 MB / 0.6146 GB, free: 71.82 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat