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.523/2.523, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.456e-05/4.473e-05, allocations: 8 kB / 305 MB, free: 5.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4557, allocations: 54.85 MB / 359.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1804/0.6362, allocations: 93.61 MB / 453.5 MB, free: 3.344 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004182/0.6367, allocations: 91.94 kB / 453.6 MB, free: 3.254 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.1267/0.7634, allocations: 24.06 MB / 477.6 MB, free: 11.23 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.345e-06/0.7635, allocations: 0 / 477.6 MB, free: 11.23 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.082e-05/0.7636, allocations: 21.41 kB / 477.7 MB, free: 11.21 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.004924/0.7685, allocations: 1.46 MB / 479.1 MB, free: 9.695 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.7686, allocations: 8.031 kB / 479.1 MB, free: 9.688 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009337/0.7695, allocations: 320.4 kB / 479.4 MB, free: 9.363 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006441/0.7702, allocations: 177.8 kB / 479.6 MB, free: 9.188 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002237/0.7725, allocations: 0.6179 MB / 480.2 MB, free: 8.527 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002315/0.7727, allocations: 144 kB / 480.4 MB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005792/0.7733, allocations: 192 kB / 480.6 MB, free: 8.199 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00853/0.7819, allocations: 2.596 MB / 483.2 MB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.778e-05/0.782, allocations: 0 / 483.2 MB, free: 5.574 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003681/0.7824, allocations: 83.94 kB / 483.2 MB, free: 5.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003321/0.7827, allocations: 152.3 kB / 483.4 MB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01153/0.7943, allocations: 3.565 MB / 486.9 MB, free: 1.766 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02213/0.8165, allocations: 6.685 MB / 493.6 MB, free: 10.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001695/0.8182, allocations: 0.6194 MB / 494.3 MB, free: 10.21 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005999/0.8189, allocations: 218.4 kB / 494.5 MB, free: 10 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001236/0.819, allocations: 28.69 kB / 494.5 MB, free: 9.973 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.099e-05/0.8191, allocations: 47.08 kB / 494.5 MB, free: 9.918 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 3.777e-06/0.8191, allocations: 0 / 494.5 MB, free: 9.918 MB / 426.7 MB Notification: Performance of matching and sorting (n=63): time 0.001986/0.8211, allocations: 0.6302 MB / 495.2 MB, free: 9.281 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.8211, allocations: 60.19 kB / 495.2 MB, free: 9.207 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00241/0.8236, allocations: 1.23 MB / 496.5 MB, free: 7.965 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.823e-05/0.8237, allocations: 37.7 kB / 496.5 MB, free: 7.922 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001214/0.8249, allocations: 1.341 MB / 497.8 MB, free: 6.559 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003465/0.8252, allocations: 272.7 kB / 498.1 MB, free: 6.289 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.8254, allocations: 68 kB / 498.2 MB, free: 6.223 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003119/0.8258, allocations: 441.3 kB / 498.6 MB, free: 5.781 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.8275, allocations: 0.623 MB / 499.2 MB, free: 5.156 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003562/0.8311, allocations: 2.657 MB / 0.4901 GB, free: 1.461 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002983/0.8341, allocations: 1.228 MB / 0.4913 GB, free: 244 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.735e-05/0.8342, allocations: 20 kB / 0.4913 GB, free: 224 kB / 426.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.007872/0.842, allocations: 2.923 MB / 0.4942 GB, free: 13.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.051e-05/0.8422, allocations: 37.72 kB / 0.4942 GB, free: 13.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001121/0.8423, allocations: 79.95 kB / 0.4943 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001654/0.8425, allocations: 107.9 kB / 0.4944 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004925/0.8474, allocations: 0.8818 MB / 0.4953 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004267/0.8517, allocations: 6.048 MB / 0.5012 GB, free: 5.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002988/0.8547, allocations: 404.1 kB / 0.5016 GB, free: 5.512 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003939/0.8551, allocations: 212 kB / 0.5018 GB, free: 5.305 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.0006509/0.8558, allocations: 376.5 kB / 0.5021 GB, free: 4.926 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.8561, allocations: 126.4 kB / 0.5022 GB, free: 4.801 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004837/0.8609, allocations: 1.191 MB / 0.5034 GB, free: 3.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.295e-05/0.8609, allocations: 8 kB / 0.5034 GB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.861, allocations: 0 / 0.5034 GB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.861, allocations: 3.984 kB / 0.5034 GB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/0.863, allocations: 0.9554 MB / 0.5043 GB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.8631, allocations: 0 / 0.5043 GB, free: 2.578 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002283/0.8654, allocations: 331.7 kB / 0.5047 GB, free: 2.254 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/0.8654, allocations: 4 kB / 0.5047 GB, free: 2.25 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001031/0.8655, allocations: 31.98 kB / 0.5047 GB, free: 2.219 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00425/0.8698, allocations: 5.908 MB / 0.5105 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/0.8698, allocations: 3.953 kB / 0.5105 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002092/0.8719, allocations: 0.7953 MB / 0.5112 GB, free: 11.26 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006627/0.8726, allocations: 299.4 kB / 0.5115 GB, free: 10.95 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002032/0.8728, allocations: 16 kB / 0.5115 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007519/0.8736, allocations: 39.95 kB / 0.5116 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002165/0.8738, allocations: 72.64 kB / 0.5117 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/0.8739, allocations: 39.94 kB / 0.5117 GB, free: 10.79 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001644/0.8756, allocations: 0.7706 MB / 0.5124 GB, free: 10.01 MB / 458.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.8756, allocations: 4 kB / 0.5125 GB, free: 10 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003193/0.8788, allocations: 0.4991 MB / 0.5129 GB, free: 9.504 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.8817, allocations: 1.543 MB / 0.5144 GB, free: 7.941 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00519/0.887, allocations: 1.644 MB / 0.5161 GB, free: 6.309 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.887, allocations: 0 / 0.5161 GB, free: 6.309 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001765/0.8888, allocations: 426.7 kB / 0.5165 GB, free: 5.895 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005862/0.8894, allocations: 87.78 kB / 0.5165 GB, free: 5.809 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007339/0.8967, allocations: 2.442 MB / 0.5189 GB, free: 3.312 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/0.8983, allocations: 1.463 MB / 0.5204 GB, free: 1.816 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00125/0.8996, allocations: 0.6008 MB / 0.5209 GB, free: 1.215 MB / 458.7 MB Notification: Performance of SimCode: time 1.122e-06/0.8996, allocations: 0 / 0.5209 GB, free: 1.215 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.007/4.907, allocations: 90.49 MB / 0.6093 GB, free: 72.92 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