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.592/2.592, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.695e-05/4.734e-05, allocations: 4 kB / 305.1 MB, free: 5.047 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4768, allocations: 54.85 MB / 359.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1931/0.6699, allocations: 93.61 MB / 453.5 MB, free: 3.285 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003895/0.6704, allocations: 96.92 kB / 453.6 MB, free: 3.191 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.1185/0.7889, allocations: 24.05 MB / 477.7 MB, free: 11.17 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.504e-06/0.7889, allocations: 0 / 477.7 MB, free: 11.17 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.906e-05/0.789, allocations: 20 kB / 477.7 MB, free: 11.15 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.003742/0.7928, allocations: 1.468 MB / 479.1 MB, free: 9.633 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.437e-05/0.7928, allocations: 8.031 kB / 479.2 MB, free: 9.625 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006553/0.7935, allocations: 312.5 kB / 479.5 MB, free: 9.309 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004541/0.794, allocations: 177.8 kB / 479.6 MB, free: 9.133 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001697/0.7957, allocations: 0.6256 MB / 480.3 MB, free: 8.465 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001611/0.7959, allocations: 140 kB / 480.4 MB, free: 8.328 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004375/0.7963, allocations: 200 kB / 480.6 MB, free: 8.133 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006656/0.803, allocations: 2.592 MB / 483.2 MB, free: 5.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.401e-05/0.8031, allocations: 3.984 kB / 483.2 MB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002671/0.8034, allocations: 83.95 kB / 483.3 MB, free: 5.426 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002517/0.8037, allocations: 140.3 kB / 483.4 MB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00869/0.8124, allocations: 3.581 MB / 487 MB, free: 1.695 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01978/0.8322, allocations: 6.681 MB / 493.7 MB, free: 10.78 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.834, allocations: 0.6158 MB / 494.3 MB, free: 10.15 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006261/0.8347, allocations: 222.5 kB / 494.5 MB, free: 9.934 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001155/0.8348, allocations: 20.7 kB / 494.5 MB, free: 9.914 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.8349, allocations: 39.08 kB / 494.6 MB, free: 9.867 MB / 426.7 MB Notification: Performance of pre-optimization done (n=63): time 3.867e-06/0.8349, allocations: 8 kB / 494.6 MB, free: 9.859 MB / 426.7 MB Notification: Performance of matching and sorting (n=63): time 0.001988/0.8369, allocations: 0.6341 MB / 495.2 MB, free: 9.219 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.507e-05/0.837, allocations: 59.97 kB / 495.3 MB, free: 9.145 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00256/0.8396, allocations: 1.226 MB / 496.5 MB, free: 7.906 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001593/0.8398, allocations: 33.7 kB / 496.5 MB, free: 7.867 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.8412, allocations: 1.284 MB / 497.8 MB, free: 6.559 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005581/0.8418, allocations: 272.7 kB / 498.1 MB, free: 6.289 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002333/0.8421, allocations: 60 kB / 498.1 MB, free: 6.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000351/0.8424, allocations: 445.3 kB / 498.6 MB, free: 5.785 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/0.8444, allocations: 0.6269 MB / 499.2 MB, free: 5.156 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00379/0.8482, allocations: 2.662 MB / 0.4901 GB, free: 1.457 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003246/0.8515, allocations: 1.225 MB / 0.4913 GB, free: 244 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.836e-05/0.8516, allocations: 20 kB / 0.4913 GB, free: 224 kB / 426.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.0101/0.8618, allocations: 2.928 MB / 0.4942 GB, free: 13.29 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.166e-05/0.8619, allocations: 37.72 kB / 0.4942 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001377/0.862, allocations: 79.95 kB / 0.4943 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001772/0.8622, allocations: 108 kB / 0.4944 GB, free: 13.07 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005345/0.8676, allocations: 0.8774 MB / 0.4952 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004202/0.8719, allocations: 6.051 MB / 0.5011 GB, free: 5.906 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003133/0.875, allocations: 408.4 kB / 0.5015 GB, free: 5.504 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005512/0.8756, allocations: 216 kB / 0.5017 GB, free: 5.293 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.000645/0.8763, allocations: 372.4 kB / 0.5021 GB, free: 4.918 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002741/0.8766, allocations: 118.5 kB / 0.5022 GB, free: 4.801 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004828/0.8814, allocations: 1.198 MB / 0.5034 GB, free: 3.582 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.66e-05/0.8815, allocations: 8 kB / 0.5034 GB, free: 3.574 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.8815, allocations: 0 / 0.5034 GB, free: 3.574 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/0.8815, allocations: 3.984 kB / 0.5034 GB, free: 3.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002189/0.8837, allocations: 0.9554 MB / 0.5043 GB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.8838, allocations: 0 / 0.5043 GB, free: 2.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002273/0.8861, allocations: 331.7 kB / 0.5046 GB, free: 2.246 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.922e-05/0.8861, allocations: 4 kB / 0.5046 GB, free: 2.242 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001065/0.8862, allocations: 31.98 kB / 0.5047 GB, free: 2.211 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003868/0.8901, allocations: 5.908 MB / 0.5104 GB, free: 12.07 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.243e-06/0.8902, allocations: 3.953 kB / 0.5104 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.8923, allocations: 0.7993 MB / 0.5112 GB, free: 11.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006474/0.893, allocations: 295.2 kB / 0.5115 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002119/0.8932, allocations: 16 kB / 0.5115 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007637/0.894, allocations: 40.06 kB / 0.5116 GB, free: 10.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/0.8942, allocations: 64.7 kB / 0.5116 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001231/0.8944, allocations: 43.94 kB / 0.5117 GB, free: 10.78 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001733/0.8961, allocations: 0.7706 MB / 0.5124 GB, free: 10 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.81e-07/0.8962, allocations: 0 / 0.5124 GB, free: 10 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003545/0.8997, allocations: 0.4913 MB / 0.5129 GB, free: 9.512 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.003058/0.9028, allocations: 1.557 MB / 0.5144 GB, free: 7.938 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005461/0.9083, allocations: 1.644 MB / 0.516 GB, free: 6.305 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/0.9084, allocations: 0 / 0.516 GB, free: 6.305 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001802/0.9102, allocations: 422.7 kB / 0.5164 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.000617/0.9109, allocations: 88.69 kB / 0.5165 GB, free: 5.805 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008034/0.9189, allocations: 2.445 MB / 0.5189 GB, free: 3.312 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/0.9205, allocations: 1.479 MB / 0.5203 GB, free: 1.801 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.005172/0.9257, allocations: 0.969 MB / 0.5213 GB, free: 0.8242 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001295/0.9271, allocations: 0.5579 MB / 0.5218 GB, free: 272 kB / 458.7 MB Notification: Performance of SimCode: time 1.603e-06/0.9271, allocations: 0 / 0.5218 GB, free: 272 kB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3953/1.322, allocations: 28.32 MB / 0.5495 GB, free: 129.2 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003174/1.323, allocations: 249.9 kB / 0.5497 GB, free: 128.9 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.68/5.003, allocations: 7 kB / 0.5497 GB, free: 128.9 MB / 458.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