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.Valve.dp_severalGeometryOverall_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.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.178/2.178, allocations: 209.2 MB / 224.8 MB, free: 0.6211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006043/0.0006044, allocations: 12 kB / 282.7 MB, free: 9.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3871, allocations: 48.7 MB / 331.4 MB, free: 6.398 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.5698, allocations: 87.18 MB / 418.6 MB, free: 7.082 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004275/0.5703, allocations: 99.92 kB / 418.7 MB, free: 6.984 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1/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.1269/0.6973, allocations: 24.11 MB / 442.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.6973, allocations: 4 kB / 442.8 MB, free: 14.86 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.041e-05/0.6974, allocations: 20 kB / 442.8 MB, free: 14.84 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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.005511/0.7029, allocations: 1.472 MB / 444.3 MB, free: 13.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.885e-05/0.703, allocations: 8.031 kB / 444.3 MB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001118/0.7042, allocations: 320.4 kB / 444.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006946/0.7049, allocations: 173.8 kB / 444.8 MB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002187/0.7071, allocations: 0.6218 MB / 445.4 MB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000236/0.7074, allocations: 147.9 kB / 445.5 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000592/0.708, allocations: 188 kB / 445.7 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009945/0.718, allocations: 2.697 MB / 448.4 MB, free: 9.09 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.988e-05/0.7181, allocations: 3.938 kB / 448.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003608/0.7185, allocations: 87.98 kB / 448.5 MB, free: 9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003366/0.7188, allocations: 144.4 kB / 448.6 MB, free: 8.855 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01367/0.7325, allocations: 3.741 MB / 452.4 MB, free: 5.098 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02013/0.7527, allocations: 6.7 MB / 459.1 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002279/0.7551, allocations: 0.6841 MB / 459.8 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001205/0.7553, allocations: 28.52 kB / 459.8 MB, free: 13.45 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.825e-05/0.7553, allocations: 39.12 kB / 459.8 MB, free: 13.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 4.308e-06/0.7553, allocations: 0 / 459.8 MB, free: 13.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=63): time 0.003682/0.759, allocations: 0.9775 MB / 460.8 MB, free: 12.41 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.7591, allocations: 59.97 kB / 460.9 MB, free: 12.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00251/0.7617, allocations: 1.244 MB / 462.1 MB, free: 11.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00015/0.7619, allocations: 41.69 kB / 462.2 MB, free: 11.04 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.7631, allocations: 1.333 MB / 463.5 MB, free: 9.688 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004488/0.7636, allocations: 272.7 kB / 463.8 MB, free: 9.418 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001681/0.7638, allocations: 64 kB / 463.8 MB, free: 9.355 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003001/0.7641, allocations: 445.4 kB / 464.2 MB, free: 8.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0022/0.7663, allocations: 0.6891 MB / 464.9 MB, free: 8.219 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004172/0.7705, allocations: 2.749 MB / 467.7 MB, free: 4.43 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003924/0.7745, allocations: 1.274 MB / 469 MB, free: 3.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.865e-05/0.7746, allocations: 20 kB / 469 MB, free: 3.141 MB / 394.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.0107/0.7853, allocations: 3.271 MB / 472.3 MB, free: 15.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.882e-05/0.7855, allocations: 36 kB / 472.3 MB, free: 15.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001272/0.7856, allocations: 76 kB / 472.4 MB, free: 15.76 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001686/0.7858, allocations: 108 kB / 472.5 MB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005168/0.791, allocations: 0.8698 MB / 473.3 MB, free: 14.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004339/0.7954, allocations: 6.063 MB / 479.4 MB, free: 8.484 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003198/0.7986, allocations: 404 kB / 479.8 MB, free: 8.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005372/0.7992, allocations: 215.9 kB / 480 MB, free: 7.875 MB / 410.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 () * Number of clocked 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.001609/0.8009, allocations: 0.7119 MB / 480.7 MB, free: 7.148 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003197/0.8012, allocations: 126.4 kB / 480.8 MB, free: 7.023 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005718/0.8069, allocations: 1.301 MB / 482.1 MB, free: 5.707 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/0.807, allocations: 11.94 kB / 482.2 MB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.807, allocations: 0 / 482.2 MB, free: 5.695 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.619e-05/0.807, allocations: 3.984 kB / 482.2 MB, free: 5.691 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002176/0.8092, allocations: 0.9554 MB / 483.1 MB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.402e-06/0.8093, allocations: 0 / 483.1 MB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002219/0.8115, allocations: 319.7 kB / 483.4 MB, free: 4.379 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.486e-05/0.8115, allocations: 4 kB / 483.4 MB, free: 4.375 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001017/0.8116, allocations: 35.98 kB / 483.5 MB, free: 4.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2903/1.102, allocations: 5.916 MB / 489.4 MB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.102, allocations: 0.6094 kB / 489.4 MB, free: 120.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002841/1.105, allocations: 0.9037 MB / 490.3 MB, free: 120.6 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005911/1.106, allocations: 299.4 kB / 490.6 MB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002254/1.106, allocations: 14.33 kB / 490.6 MB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007363/1.107, allocations: 37.58 kB / 490.6 MB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002532/1.107, allocations: 66.91 kB / 490.7 MB, free: 120.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.107, allocations: 38.11 kB / 490.7 MB, free: 120.5 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001646/1.109, allocations: 0.7849 MB / 491.5 MB, free: 120.4 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.109, allocations: 1.219 kB / 491.5 MB, free: 120.4 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00335/1.112, allocations: 0.4975 MB / 492 MB, free: 120.4 MB / 410.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 (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.003682/1.116, allocations: 1.643 MB / 493.7 MB, free: 119.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006275/1.122, allocations: 1.87 MB / 495.5 MB, free: 119.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/1.122, allocations: 0 / 495.5 MB, free: 119.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002238/1.124, allocations: 480.1 kB / 496 MB, free: 119.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007044/1.125, allocations: 90.12 kB / 496.1 MB, free: 119.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02983/1.155, allocations: 60.29 MB / 0.5433 GB, free: 63.86 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/1.156, allocations: 1.458 MB / 0.5448 GB, free: 63.13 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0012/1.157, allocations: 0.5937 MB / 0.5453 GB, free: 62.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.082e-06/1.157, allocations: 0 / 0.5453 GB, free: 62.73 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.664/4.821, allocations: 90.64 MB / 0.6339 GB, free: 1.641 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat