Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Valve_dp_severalGeometryOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.632/2.632, allocations: 270 MB / 283.6 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.398e-05/3.406e-05, allocations: 0 / 348.5 MB, free: 2.66 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3922, allocations: 61.88 MB / 410.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1837/0.576, allocations: 99.61 MB / 0.498 GB, free: 6.859 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/0.5764, allocations: 103.9 kB / 0.4981 GB, free: 6.758 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 4.0.0/Fluid/Dissipation.mo:6452:11-6454: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 4.0.0/Fluid/Dissipation.mo:6463:11-6465: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 4.0.0/Fluid/Dissipation.mo:6500:11-6502: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 4.0.0/Fluid/Dissipation.mo:6511:11-6513: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 4.0.0/Fluid/Dissipation.mo:6445:11-6450: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 4.0.0/Fluid/Dissipation.mo:6456:11-6461: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 4.0.0/Fluid/Dissipation.mo:6468:11-6473: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 4.0.0/Fluid/Dissipation.mo:6480:11-6485: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 4.0.0/Fluid/Dissipation.mo:6493:11-6498: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 4.0.0/Fluid/Dissipation.mo:6504:11-6509: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 4.0.0/Fluid/Dissipation.mo:6475:11-6478: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 4.0.0/Fluid/Dissipation.mo:6487:11-6489: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.4636/1.04, allocations: 24.51 MB / 0.5221 GB, free: 103.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.964e-06/1.04, allocations: 0 / 0.5221 GB, free: 103.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.732e-05/1.04, allocations: 22.75 kB / 0.5221 GB, free: 103.2 MB / 442.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.004153/1.044, allocations: 1.456 MB / 0.5235 GB, free: 102.5 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.377e-05/1.044, allocations: 9.719 kB / 0.5235 GB, free: 102.5 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007654/1.045, allocations: 318.7 kB / 0.5238 GB, free: 102.4 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005062/1.046, allocations: 180.4 kB / 0.524 GB, free: 102.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001618/1.047, allocations: 0.6164 MB / 0.5246 GB, free: 102.1 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/1.048, allocations: 152 kB / 0.5247 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003961/1.048, allocations: 188.8 kB / 0.5249 GB, free: 102 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006068/1.054, allocations: 2.597 MB / 0.5275 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.464e-05/1.054, allocations: 0 / 0.5275 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002273/1.054, allocations: 77.81 kB / 0.5275 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001934/1.055, allocations: 144.6 kB / 0.5277 GB, free: 101.9 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006946/1.062, allocations: 3.569 MB / 0.5312 GB, free: 101.8 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01703/1.079, allocations: 6.696 MB / 0.5377 GB, free: 98.81 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001438/1.08, allocations: 0.6063 MB / 0.5383 GB, free: 98.67 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005212/1.081, allocations: 226.3 kB / 0.5385 GB, free: 98.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/1.081, allocations: 24.47 kB / 0.5385 GB, free: 98.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/1.081, allocations: 39 kB / 0.5386 GB, free: 98.56 MB / 442.7 MB Notification: Performance of pre-optimization done (n=63): time 3.787e-06/1.081, allocations: 0 / 0.5386 GB, free: 98.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=63): time 0.001714/1.083, allocations: 0.6358 MB / 0.5392 GB, free: 98.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/1.083, allocations: 59.47 kB / 0.5392 GB, free: 98.31 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/1.085, allocations: 1.232 MB / 0.5405 GB, free: 97.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.916e-05/1.085, allocations: 37.42 kB / 0.5405 GB, free: 97.76 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007452/1.085, allocations: 1.274 MB / 0.5417 GB, free: 96.75 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/1.086, allocations: 276.1 kB / 0.542 GB, free: 96.57 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001414/1.086, allocations: 60.84 kB / 0.5421 GB, free: 96.52 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001931/1.086, allocations: 444.6 kB / 0.5425 GB, free: 96.15 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001426/1.087, allocations: 0.6256 MB / 0.5431 GB, free: 95.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00235/1.09, allocations: 2.653 MB / 0.5457 GB, free: 92.47 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002499/1.092, allocations: 1.235 MB / 0.5469 GB, free: 91.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.514e-05/1.092, allocations: 24 kB / 0.5469 GB, free: 91.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=397) (initialization): time 0.006899/1.099, allocations: 2.927 MB / 0.5498 GB, free: 88.97 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.904e-05/1.099, allocations: 36 kB / 0.5498 GB, free: 88.93 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.553e-05/1.1, allocations: 76 kB / 0.5499 GB, free: 88.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001275/1.1, allocations: 108 kB / 0.55 GB, free: 88.75 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004625/1.104, allocations: 0.8736 MB / 0.5508 GB, free: 87.99 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002628/1.107, allocations: 6.057 MB / 0.5567 GB, free: 81.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002962/1.11, allocations: 407.3 kB / 0.5571 GB, free: 81.39 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003783/1.11, allocations: 218.7 kB / 0.5573 GB, free: 81.18 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.0005177/1.111, allocations: 371.4 kB / 0.5577 GB, free: 80.81 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/1.111, allocations: 121.7 kB / 0.5578 GB, free: 80.7 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004348/1.116, allocations: 1.191 MB / 0.559 GB, free: 79.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/1.116, allocations: 8.875 kB / 0.559 GB, free: 79.72 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.434e-06/1.116, allocations: 0 / 0.559 GB, free: 79.72 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.201e-05/1.116, allocations: 7.609 kB / 0.559 GB, free: 79.71 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001816/1.117, allocations: 0.951 MB / 0.5599 GB, free: 78.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/1.118, allocations: 0 / 0.5599 GB, free: 78.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002083/1.12, allocations: 330.3 kB / 0.5602 GB, free: 78.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.572e-05/1.12, allocations: 5.562 kB / 0.5602 GB, free: 78.64 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.199e-05/1.12, allocations: 35.55 kB / 0.5603 GB, free: 78.61 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002424/1.122, allocations: 5.91 MB / 0.566 GB, free: 72.54 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.122, allocations: 0 / 0.566 GB, free: 72.54 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002601/1.125, allocations: 0.7966 MB / 0.5668 GB, free: 71.8 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009891/1.126, allocations: 296.3 kB / 0.5671 GB, free: 71.54 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003709/1.126, allocations: 19.95 kB / 0.5671 GB, free: 71.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/1.128, allocations: 39.36 kB / 0.5672 GB, free: 71.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002795/1.128, allocations: 63.14 kB / 0.5672 GB, free: 71.45 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001424/1.128, allocations: 39.38 kB / 0.5673 GB, free: 71.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001972/1.13, allocations: 0.7693 MB / 0.568 GB, free: 70.74 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.82e-07/1.13, allocations: 4 kB / 0.568 GB, free: 70.74 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005003/1.135, allocations: 0.5029 MB / 0.5685 GB, free: 70.24 MB / 442.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.003623/1.139, allocations: 1.541 MB / 0.57 GB, free: 68.81 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006575/1.145, allocations: 1.649 MB / 0.5716 GB, free: 67.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.146, allocations: 1.75 kB / 0.5716 GB, free: 67.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002374/1.148, allocations: 419.7 kB / 0.572 GB, free: 67 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009184/1.149, allocations: 89.62 kB / 0.5721 GB, free: 66.91 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008916/1.158, allocations: 2.44 MB / 0.5745 GB, free: 64.61 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/1.159, allocations: 1.479 MB / 0.5759 GB, free: 63.1 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004668/1.164, allocations: 0.9678 MB / 0.5769 GB, free: 62.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009834/1.165, allocations: 0.5579 MB / 0.5774 GB, free: 61.62 MB / 442.7 MB Notification: Performance of SimCode: time 1.253e-06/1.165, allocations: 0 / 0.5774 GB, free: 61.62 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07989/1.245, allocations: 28.33 MB / 0.6051 GB, free: 33.63 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002896/1.245, allocations: 241.3 kB / 0.6053 GB, free: 33.31 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.711/4.956, allocations: 0 / 0.6053 GB, free: 33.31 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Valve.dp_severalGeometryOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat