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 1.994/1.994, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.491e-05/4.51e-05, allocations: 4 kB / 273.2 MB, free: 0.6172 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1215, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4185/0.5401, allocations: 87.07 MB / 408.9 MB, free: 2.812 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003494/0.5405, allocations: 95.92 kB / 409 MB, free: 2.719 MB / 330.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.1302/0.6707, allocations: 24.05 MB / 433.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.6708, allocations: 4 kB / 433.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.274e-05/0.6709, allocations: 20 kB / 433.1 MB, free: 10.64 MB / 362.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.004241/0.6751, allocations: 1.457 MB / 434.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/0.6752, allocations: 8.031 kB / 434.6 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007382/0.676, allocations: 316.4 kB / 434.9 MB, free: 8.805 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004538/0.6764, allocations: 177.8 kB / 435 MB, free: 8.629 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.6782, allocations: 0.6257 MB / 435.7 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001753/0.6784, allocations: 147.9 kB / 435.8 MB, free: 7.816 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004565/0.6789, allocations: 192 kB / 436 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006804/0.6857, allocations: 2.619 MB / 438.6 MB, free: 4.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.626e-05/0.6859, allocations: 7.938 kB / 438.6 MB, free: 4.973 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002546/0.6861, allocations: 76 kB / 438.7 MB, free: 4.898 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002526/0.6864, allocations: 148.4 kB / 438.8 MB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008682/0.6951, allocations: 3.594 MB / 442.4 MB, free: 1.141 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0214/0.7165, allocations: 6.688 MB / 449.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.7185, allocations: 0.6215 MB / 449.7 MB, free: 9.59 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006383/0.7192, allocations: 218.4 kB / 450 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000129/0.7193, allocations: 28.52 kB / 450 MB, free: 9.348 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/0.7194, allocations: 39.12 kB / 450 MB, free: 9.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.837e-06/0.7194, allocations: 0 / 450 MB, free: 9.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=63): time 0.002086/0.7215, allocations: 0.6382 MB / 450.7 MB, free: 8.656 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.766e-05/0.7216, allocations: 60.14 kB / 450.7 MB, free: 8.586 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002647/0.7243, allocations: 1.23 MB / 452 MB, free: 7.344 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001728/0.7245, allocations: 45.64 kB / 452 MB, free: 7.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/0.726, allocations: 1.341 MB / 453.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005476/0.7266, allocations: 276.7 kB / 453.6 MB, free: 5.656 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.7268, allocations: 64 kB / 453.7 MB, free: 5.594 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000337/0.7272, allocations: 437.3 kB / 454.1 MB, free: 5.156 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001878/0.7291, allocations: 0.623 MB / 454.7 MB, free: 4.531 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004092/0.7332, allocations: 2.675 MB / 457.4 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003475/0.7367, allocations: 1.23 MB / 458.6 MB, free: 15.59 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.657e-05/0.7368, allocations: 20 kB / 458.6 MB, free: 15.57 MB / 394.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.009231/0.7461, allocations: 3.129 MB / 461.8 MB, free: 12.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.838e-05/0.7462, allocations: 39.94 kB / 461.8 MB, free: 12.4 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000121/0.7463, allocations: 76.88 kB / 461.9 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001748/0.7465, allocations: 108 kB / 462 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005414/0.752, allocations: 0.8774 MB / 462.9 MB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004522/0.7565, allocations: 6.059 MB / 468.9 MB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003361/0.76, allocations: 400.1 kB / 469.3 MB, free: 4.652 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006441/0.7607, allocations: 216.2 kB / 469.5 MB, free: 4.441 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.0007737/0.7614, allocations: 384.3 kB / 469.9 MB, free: 4.059 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000327/0.7618, allocations: 122.5 kB / 470 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005073/0.7669, allocations: 1.191 MB / 471.2 MB, free: 2.734 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.431e-05/0.7669, allocations: 4 kB / 471.2 MB, free: 2.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.767, allocations: 4 kB / 471.2 MB, free: 2.727 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.767, allocations: 3.984 kB / 471.2 MB, free: 2.723 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.7693, allocations: 0.9476 MB / 472.2 MB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/0.7693, allocations: 8 kB / 472.2 MB, free: 1.727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002373/0.7717, allocations: 319.7 kB / 472.5 MB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.919e-05/0.7718, allocations: 0 / 472.5 MB, free: 1.414 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001936/0.772, allocations: 35.94 kB / 472.5 MB, free: 1.379 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004194/0.7762, allocations: 5.923 MB / 478.5 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/0.7763, allocations: 3.984 kB / 478.5 MB, free: 11.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.7784, allocations: 0.8034 MB / 479.3 MB, free: 10.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007425/0.7792, allocations: 295.2 kB / 479.6 MB, free: 10.09 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002504/0.7795, allocations: 12 kB / 479.6 MB, free: 10.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008057/0.7803, allocations: 39.97 kB / 479.6 MB, free: 10.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002475/0.7806, allocations: 64.64 kB / 479.7 MB, free: 9.973 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001171/0.7807, allocations: 51.97 kB / 479.7 MB, free: 9.922 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001803/0.7825, allocations: 0.7667 MB / 480.5 MB, free: 9.148 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.7826, allocations: 0 / 480.5 MB, free: 9.148 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003491/0.7861, allocations: 0.4913 MB / 481 MB, free: 8.656 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 () * 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.003232/0.7894, allocations: 1.55 MB / 482.5 MB, free: 7.078 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005773/0.7952, allocations: 1.742 MB / 484.3 MB, free: 5.352 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.045e-06/0.7953, allocations: 0 / 484.3 MB, free: 5.352 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.7971, allocations: 424.7 kB / 484.7 MB, free: 4.938 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006454/0.7978, allocations: 92.73 kB / 484.8 MB, free: 4.844 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008129/0.8059, allocations: 2.436 MB / 487.2 MB, free: 2.355 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001589/0.8076, allocations: 1.46 MB / 488.7 MB, free: 0.8672 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/0.809, allocations: 0.593 MB / 489.3 MB, free: 280 kB / 410.7 MB Notification: Performance of SimCode: time 4.849e-06/0.809, allocations: 0 / 489.3 MB, free: 280 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.923/4.732, allocations: 90.73 MB / 0.5664 GB, free: 84.21 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