Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.416/2.416, allocations: 235.1 MB / 242.2 MB, free: 15.81 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.468e-05/2.503e-05, allocations: 0 / 299.5 MB, free: 6.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4006/0.4007, allocations: 54.85 MB / 354.4 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2063/0.6071, allocations: 92.94 MB / 447.3 MB, free: 5.246 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003823/0.6075, allocations: 95.94 kB / 447.4 MB, free: 5.152 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.1145/0.7221, allocations: 23.7 MB / 471.1 MB, free: 13.43 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.7221, allocations: 0 / 471.1 MB, free: 13.43 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.923e-05/0.7222, allocations: 20 kB / 471.1 MB, free: 13.41 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.00367/0.7259, allocations: 1.464 MB / 472.6 MB, free: 11.9 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.726, allocations: 12.03 kB / 472.6 MB, free: 11.89 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005488/0.7265, allocations: 173.8 kB / 472.8 MB, free: 11.71 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001637/0.7282, allocations: 0.6217 MB / 473.4 MB, free: 11.05 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.7283, allocations: 64 kB / 473.4 MB, free: 10.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003469/0.7286, allocations: 112 kB / 473.5 MB, free: 10.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007669/0.7363, allocations: 3.202 MB / 476.7 MB, free: 7.672 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006299/0.7427, allocations: 2.342 MB / 479.1 MB, free: 5.301 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.29e-05/0.7428, allocations: 0 / 479.1 MB, free: 5.301 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001784/0.743, allocations: 3.953 kB / 479.1 MB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002333/0.7432, allocations: 136.4 kB / 479.2 MB, free: 5.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02329/0.7665, allocations: 6.429 MB / 485.7 MB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002204/0.7688, allocations: 0.5921 MB / 486.2 MB, free: 13.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007486/0.7696, allocations: 210.4 kB / 486.5 MB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001642/0.7698, allocations: 20.53 kB / 486.5 MB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.7698, allocations: 35.12 kB / 486.5 MB, free: 13.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 6.081e-06/0.7699, allocations: 3.938 kB / 486.5 MB, free: 13.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=63): time 0.002528/0.7724, allocations: 0.6111 MB / 487.1 MB, free: 13.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.7725, allocations: 63.97 kB / 487.2 MB, free: 12.94 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002965/0.7755, allocations: 1.174 MB / 488.4 MB, free: 11.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000156/0.7757, allocations: 25.7 kB / 488.4 MB, free: 11.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001658/0.7774, allocations: 1.276 MB / 489.7 MB, free: 10.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005851/0.778, allocations: 268.7 kB / 489.9 MB, free: 10.16 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.7782, allocations: 0 / 489.9 MB, free: 10.16 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000455/0.7787, allocations: 437.3 kB / 490.4 MB, free: 9.723 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002185/0.7809, allocations: 0.5605 MB / 490.9 MB, free: 9.16 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004648/0.7855, allocations: 2.595 MB / 493.5 MB, free: 5.527 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004185/0.7898, allocations: 1.153 MB / 494.7 MB, free: 4.375 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.314e-05/0.7899, allocations: 20 kB / 494.7 MB, free: 4.355 MB / 426.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.01108/0.801, allocations: 2.69 MB / 497.4 MB, free: 1.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001056/0.8012, allocations: 38.72 kB / 497.4 MB, free: 1.625 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001501/0.8014, allocations: 72 kB / 497.5 MB, free: 1.555 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002266/0.8016, allocations: 112 kB / 497.6 MB, free: 1.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006966/0.8086, allocations: 0.8657 MB / 498.5 MB, free: 0.5781 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3157/1.124, allocations: 6.066 MB / 0.4927 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003184/1.128, allocations: 344.4 kB / 0.493 GB, free: 108.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006987/1.128, allocations: 218.3 kB / 0.4932 GB, free: 108.7 MB / 426.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.0006226/1.129, allocations: 299.5 kB / 0.4935 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001752/1.131, allocations: 0.6107 MB / 0.4941 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002533/1.131, allocations: 123.4 kB / 0.4942 GB, free: 108.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004743/1.136, allocations: 1.15 MB / 0.4954 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.798e-05/1.136, allocations: 7.406 kB / 0.4954 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/1.136, allocations: 0 / 0.4954 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/1.136, allocations: 3.797 kB / 0.4954 GB, free: 108.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002034/1.138, allocations: 0.7776 MB / 0.4961 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/1.138, allocations: 8.484 kB / 0.4961 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00242/1.141, allocations: 314.7 kB / 0.4964 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-05/1.141, allocations: 2.156 kB / 0.4964 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001465/1.141, allocations: 26.47 kB / 0.4965 GB, free: 108.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002714/1.143, allocations: 5.925 MB / 0.5022 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/1.144, allocations: 0 / 0.5022 GB, free: 102.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/1.145, allocations: 0.7701 MB / 0.503 GB, free: 102.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006689/1.146, allocations: 296.8 kB / 0.5033 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003357/1.146, allocations: 1.281 kB / 0.5033 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007603/1.147, allocations: 27.5 kB / 0.5033 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002284/1.148, allocations: 66.83 kB / 0.5034 GB, free: 101.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001384/1.148, allocations: 42.42 kB / 0.5034 GB, free: 101.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001483/1.149, allocations: 0.718 MB / 0.5041 GB, free: 101.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.22e-07/1.149, allocations: 0 / 0.5041 GB, free: 101.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003879/1.153, allocations: 423 kB / 0.5045 GB, free: 101.8 MB / 426.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.002722/1.156, allocations: 1.506 MB / 0.506 GB, free: 101 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004794/1.161, allocations: 1.571 MB / 0.5075 GB, free: 101 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.464e-06/1.161, allocations: 0 / 0.5075 GB, free: 101 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001725/1.163, allocations: 402.1 kB / 0.5079 GB, free: 101 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007121/1.163, allocations: 80.31 kB / 0.508 GB, free: 101 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007559/1.171, allocations: 2.33 MB / 0.5103 GB, free: 100.4 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001154/1.172, allocations: 1.483 MB / 0.5117 GB, free: 99.73 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004952/1.177, allocations: 0.9692 MB / 0.5127 GB, free: 99.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001126/1.178, allocations: 0.5574 MB / 0.5132 GB, free: 99.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.693e-06/1.178, allocations: 0 / 0.5132 GB, free: 99.6 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08832/1.267, allocations: 26.36 MB / 0.5389 GB, free: 83.44 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/1.267, allocations: 199.6 kB / 0.5391 GB, free: 83.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.539/4.806, allocations: 0 / 0.5391 GB, free: 83.18 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat