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/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.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.63/2.63, allocations: 235.1 MB / 243 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.763e-05/2.761e-05, allocations: 4 kB / 303.3 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3474/0.3474, allocations: 54.85 MB / 358.1 MB, free: 14.87 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1668/0.5143, allocations: 92.94 MB / 451.1 MB, free: 1.785 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000395/0.5147, allocations: 103.9 kB / 451.2 MB, free: 1.684 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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/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/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/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/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/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/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/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/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.4361/0.9509, allocations: 23.72 MB / 474.9 MB, free: 94.38 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.166e-06/0.951, allocations: 1.375 kB / 474.9 MB, free: 94.38 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.521e-05/0.951, allocations: 22.44 kB / 474.9 MB, free: 94.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: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.004667/0.9557, allocations: 1.467 MB / 476.4 MB, free: 93.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.055e-05/0.9558, allocations: 10.31 kB / 476.4 MB, free: 93.55 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007606/0.9566, allocations: 174.4 kB / 476.6 MB, free: 93.46 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002032/0.9586, allocations: 0.616 MB / 477.2 MB, free: 93.19 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.9588, allocations: 68.84 kB / 477.3 MB, free: 93.19 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004254/0.9592, allocations: 110.9 kB / 477.4 MB, free: 93.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008677/0.9679, allocations: 3.204 MB / 480.6 MB, free: 93.18 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00684/0.9748, allocations: 2.333 MB / 482.9 MB, free: 92.43 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.918e-05/0.9749, allocations: 0 / 482.9 MB, free: 92.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000251/0.9752, allocations: 6.391 kB / 482.9 MB, free: 92.43 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002446/0.9755, allocations: 141.5 kB / 483 MB, free: 92.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02099/0.9965, allocations: 6.425 MB / 489.5 MB, free: 89.58 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/0.9978, allocations: 0.5919 MB / 490.1 MB, free: 89.3 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004248/0.9983, allocations: 199.7 kB / 490.3 MB, free: 89.12 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001239/0.9984, allocations: 30.75 kB / 490.3 MB, free: 89.11 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.9984, allocations: 43.44 kB / 490.3 MB, free: 89.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=63): time 3.426e-06/0.9985, allocations: 0 / 490.3 MB, free: 89.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=63): time 0.001662/1, allocations: 0.6049 MB / 490.9 MB, free: 88.54 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/1, allocations: 59.97 kB / 491 MB, free: 88.46 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001835/1.002, allocations: 1.178 MB / 492.2 MB, free: 87.44 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/1.002, allocations: 25.7 kB / 492.2 MB, free: 87.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007598/1.003, allocations: 1.346 MB / 493.5 MB, free: 86.17 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003587/1.003, allocations: 258.7 kB / 493.8 MB, free: 85.95 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001296/1.004, allocations: 4 kB / 493.8 MB, free: 85.95 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001937/1.004, allocations: 436.3 kB / 494.2 MB, free: 85.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001331/1.005, allocations: 0.5618 MB / 494.8 MB, free: 85.07 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002468/1.008, allocations: 2.593 MB / 497.4 MB, free: 81.59 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002296/1.01, allocations: 1.162 MB / 498.5 MB, free: 80.58 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.583e-05/1.01, allocations: 20 kB / 498.6 MB, free: 80.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.006901/1.017, allocations: 2.68 MB / 0.4895 GB, free: 77.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.929e-05/1.017, allocations: 36 kB / 0.4895 GB, free: 77.84 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.57e-05/1.017, allocations: 76.84 kB / 0.4896 GB, free: 77.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/1.017, allocations: 111.9 kB / 0.4897 GB, free: 77.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004954/1.022, allocations: 0.8696 MB / 0.4906 GB, free: 76.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/1.025, allocations: 6.067 MB / 0.4965 GB, free: 70.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003044/1.028, allocations: 352 kB / 0.4968 GB, free: 70.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005076/1.029, allocations: 216 kB / 0.497 GB, free: 69.93 MB / 394.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.0004992/1.029, allocations: 305.2 kB / 0.4973 GB, free: 69.63 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001471/1.031, allocations: 0.6106 MB / 0.4979 GB, free: 69.01 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001761/1.031, allocations: 122.4 kB / 0.498 GB, free: 68.89 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004138/1.035, allocations: 1.145 MB / 0.4991 GB, free: 67.78 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/1.035, allocations: 8 kB / 0.4992 GB, free: 67.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.035, allocations: 0 / 0.4992 GB, free: 67.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.13e-05/1.035, allocations: 3.984 kB / 0.4992 GB, free: 67.77 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/1.037, allocations: 0.7764 MB / 0.4999 GB, free: 66.97 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/1.037, allocations: 4 kB / 0.4999 GB, free: 66.97 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002102/1.039, allocations: 319.7 kB / 0.5002 GB, free: 66.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.208e-05/1.039, allocations: 0 / 0.5002 GB, free: 66.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.398e-05/1.039, allocations: 23.98 kB / 0.5002 GB, free: 66.63 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002425/1.041, allocations: 5.927 MB / 0.506 GB, free: 60.47 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.101e-06/1.041, allocations: 0 / 0.506 GB, free: 60.47 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001561/1.043, allocations: 0.7688 MB / 0.5068 GB, free: 59.69 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005441/1.043, allocations: 299.2 kB / 0.5071 GB, free: 59.38 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002142/1.044, allocations: 0 / 0.5071 GB, free: 59.38 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007551/1.044, allocations: 23.97 kB / 0.5071 GB, free: 59.36 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/1.045, allocations: 68.64 kB / 0.5072 GB, free: 59.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.686e-05/1.045, allocations: 43.98 kB / 0.5072 GB, free: 59.25 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001135/1.046, allocations: 0.7106 MB / 0.5079 GB, free: 58.53 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.046, allocations: 4 kB / 0.5079 GB, free: 58.53 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002986/1.049, allocations: 426.9 kB / 0.5083 GB, free: 58.11 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 (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.002274/1.051, allocations: 1.52 MB / 0.5098 GB, free: 56.59 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004069/1.055, allocations: 1.566 MB / 0.5113 GB, free: 55.04 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.055, allocations: 0 / 0.5113 GB, free: 55.04 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001516/1.057, allocations: 406.7 kB / 0.5117 GB, free: 54.64 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005768/1.057, allocations: 72.75 kB / 0.5118 GB, free: 54.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00634/1.064, allocations: 2.33 MB / 0.5141 GB, free: 52.19 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00104/1.065, allocations: 1.46 MB / 0.5155 GB, free: 50.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001042/1.066, allocations: 0.5969 MB / 0.5161 GB, free: 50.11 MB / 394.7 MB Notification: Performance of SimCode: time 1.272e-06/1.066, allocations: 0 / 0.5161 GB, free: 50.11 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.917/4.983, allocations: 90.5 MB / 0.6044 GB, free: 7.461 MB / 442.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