Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.997/1.997, allocations: 209.3 MB / 221.5 MB, free: 1.922 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.671e-05/3.68e-05, allocations: 4 kB / 273.2 MB, free: 128 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1015, allocations: 48.7 MB / 321.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4288/0.5303, allocations: 89.9 MB / 411.8 MB, free: 15.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003642/0.5308, allocations: 95.22 kB / 411.9 MB, free: 15.6 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.124/0.6548, allocations: 22.53 MB / 434.4 MB, free: 8.934 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.6548, allocations: 0 / 434.4 MB, free: 8.934 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.617e-05/0.6548, allocations: 4 kB / 434.4 MB, free: 8.93 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001414/0.6563, allocations: 0.6151 MB / 435 MB, free: 8.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.6563, allocations: 8.031 kB / 435 MB, free: 8.262 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001327/0.6565, allocations: 78.52 kB / 435.1 MB, free: 8.176 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.619e-05/0.6566, allocations: 35.58 kB / 435.1 MB, free: 8.141 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004788/0.6571, allocations: 274.5 kB / 435.4 MB, free: 7.832 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.6571, allocations: 24.77 kB / 435.4 MB, free: 7.809 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.61e-05/0.6572, allocations: 35.94 kB / 435.5 MB, free: 7.773 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.6583, allocations: 476.8 kB / 435.9 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.556e-05/0.6584, allocations: 0 / 435.9 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.717e-05/0.6584, allocations: 16 kB / 435.9 MB, free: 7.285 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.904e-05/0.6585, allocations: 40.92 kB / 436 MB, free: 7.246 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.6598, allocations: 0.4997 MB / 436.5 MB, free: 6.742 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003045/0.6628, allocations: 1.333 MB / 437.8 MB, free: 5.293 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.664, allocations: 354.5 kB / 438.2 MB, free: 4.934 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.6644, allocations: 116.7 kB / 438.3 MB, free: 4.816 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.368e-05/0.6644, allocations: 4 kB / 438.3 MB, free: 4.812 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.6645, allocations: 42.55 kB / 438.3 MB, free: 4.762 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.494e-06/0.6645, allocations: 0 / 438.3 MB, free: 4.762 MB / 362.7 MB Notification: Performance of matching and sorting (n=26): time 0.0008807/0.6654, allocations: 281.8 kB / 438.6 MB, free: 4.48 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.38e-05/0.6654, allocations: 59.41 kB / 438.6 MB, free: 4.41 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.6659, allocations: 274.8 kB / 438.9 MB, free: 4.141 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.666, allocations: 29.7 kB / 438.9 MB, free: 4.105 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001747/0.6662, allocations: 199.9 kB / 439.1 MB, free: 3.906 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001178/0.6663, allocations: 98.58 kB / 439.2 MB, free: 3.809 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.6663, allocations: 8 kB / 439.2 MB, free: 3.801 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.6665, allocations: 338.8 kB / 439.6 MB, free: 3.461 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003249/0.6669, allocations: 103.9 kB / 439.7 MB, free: 3.359 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003669/0.6672, allocations: 142.7 kB / 439.8 MB, free: 3.207 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.6676, allocations: 129.3 kB / 439.9 MB, free: 3.082 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.766e-06/0.6676, allocations: 0 / 439.9 MB, free: 3.082 MB / 362.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0009783/0.6686, allocations: 351.3 kB / 440.3 MB, free: 2.734 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.6687, allocations: 4 kB / 440.3 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.6687, allocations: 0 / 440.3 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.6687, allocations: 4 kB / 440.3 MB, free: 2.727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.6698, allocations: 127.8 kB / 440.4 MB, free: 2.602 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.6721, allocations: 3.008 MB / 443.4 MB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004364/0.6725, allocations: 39.58 kB / 443.5 MB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.147e-05/0.6726, allocations: 15.98 kB / 443.5 MB, free: 15.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000155/0.6728, allocations: 120.9 kB / 443.6 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.422e-05/0.6728, allocations: 23.72 kB / 443.6 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00142/0.6743, allocations: 427 kB / 444 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.6743, allocations: 4 kB / 444 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.6743, allocations: 8 kB / 444.1 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.6743, allocations: 4 kB / 444.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007063/0.6751, allocations: 381.1 kB / 444.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.6751, allocations: 0 / 444.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001053/0.6761, allocations: 115.8 kB / 444.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.6762, allocations: 0 / 444.5 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.183e-05/0.6762, allocations: 11.98 kB / 444.6 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002246/0.6785, allocations: 3.012 MB / 447.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/0.6785, allocations: 0 / 447.6 MB, free: 11.16 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009258/0.6794, allocations: 407.3 kB / 448 MB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.6796, allocations: 116.6 kB / 448.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/0.6797, allocations: 4 kB / 448.1 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003867/0.6801, allocations: 20.14 kB / 448.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.6802, allocations: 23.97 kB / 448.1 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-05/0.6802, allocations: 11.98 kB / 448.1 MB, free: 10.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003794/0.6806, allocations: 227.1 kB / 448.4 MB, free: 10.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.8e-07/0.6806, allocations: 3.938 kB / 448.4 MB, free: 10.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009809/0.6816, allocations: 203.6 kB / 448.6 MB, free: 10.12 MB / 378.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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002006/0.6836, allocations: 1.137 MB / 449.7 MB, free: 8.961 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001374/0.685, allocations: 319.7 kB / 450 MB, free: 8.648 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.6851, allocations: 0 / 450 MB, free: 8.648 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008781/0.686, allocations: 187.7 kB / 450.2 MB, free: 8.465 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005943/0.6866, allocations: 57.25 kB / 450.2 MB, free: 8.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002142/0.6887, allocations: 0.6517 MB / 450.9 MB, free: 7.727 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005662/0.6893, allocations: 0.8496 MB / 451.7 MB, free: 6.852 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006472/0.69, allocations: 122.7 kB / 451.9 MB, free: 6.73 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002853/0.6903, allocations: 111.4 kB / 452 MB, free: 6.621 MB / 378.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6903, allocations: 0 / 452 MB, free: 6.621 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05078/0.7411, allocations: 10.47 MB / 462.4 MB, free: 12.26 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003089/0.7415, allocations: 222.8 kB / 462.7 MB, free: 12.04 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.898/3.64, allocations: 7.891 kB / 462.7 MB, free: 12.03 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat