Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Orifice_dp_thickEdgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.584/2.584, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.182e-05/4.204e-05, allocations: 8 kB / 305 MB, free: 5.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4503/0.4504, allocations: 54.85 MB / 359.9 MB, free: 2.332 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1796/0.63, allocations: 87.79 MB / 447.7 MB, free: 9.066 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004876/0.6306, allocations: 99.91 kB / 447.8 MB, free: 8.969 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5845:11-5846:124:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5858:11-5861:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5836:11-5843:48:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5849:11-5856:46:writable] Error: Type mismatch in binding L = L, expected subtype of Real[6], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.06213/0.6927, allocations: 10.18 MB / 458 MB, free: 14.66 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6928, allocations: 0 / 458 MB, free: 14.66 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.284e-05/0.6928, allocations: 12 kB / 458 MB, free: 14.64 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001375/0.6942, allocations: 0.6541 MB / 458.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.077e-05/0.6943, allocations: 8.031 kB / 458.6 MB, free: 13.94 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001658/0.6944, allocations: 110.5 kB / 458.7 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.6946, allocations: 51.34 kB / 458.8 MB, free: 13.77 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006294/0.6952, allocations: 318.2 kB / 459.1 MB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.6953, allocations: 40.95 kB / 459.1 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000117/0.6954, allocations: 40 kB / 459.2 MB, free: 13.34 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.697, allocations: 0.6466 MB / 459.8 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.697, allocations: 0 / 459.8 MB, free: 12.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.658e-05/0.6971, allocations: 20 kB / 459.8 MB, free: 12.66 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.805e-05/0.6972, allocations: 51.06 kB / 459.9 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.6988, allocations: 0.6779 MB / 460.6 MB, free: 11.94 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004137/0.703, allocations: 1.733 MB / 462.3 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000971/0.704, allocations: 355 kB / 462.6 MB, free: 9.719 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000357/0.7044, allocations: 129.2 kB / 462.8 MB, free: 9.59 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.653e-05/0.7044, allocations: 12.2 kB / 462.8 MB, free: 9.578 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.555e-05/0.7045, allocations: 38.8 kB / 462.8 MB, free: 9.531 MB / 394.7 MB Notification: Performance of pre-optimization done (n=27): time 3.417e-06/0.7045, allocations: 0 / 462.8 MB, free: 9.531 MB / 394.7 MB Notification: Performance of matching and sorting (n=27): time 0.001046/0.7056, allocations: 331.9 kB / 463.1 MB, free: 9.203 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.007e-05/0.7056, allocations: 55.41 kB / 463.2 MB, free: 9.137 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007609/0.7064, allocations: 411.4 kB / 463.6 MB, free: 8.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.86e-05/0.7065, allocations: 25.7 kB / 463.6 MB, free: 8.691 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.7067, allocations: 310 kB / 463.9 MB, free: 8.387 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.7068, allocations: 98.58 kB / 464 MB, free: 8.289 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.408e-05/0.7069, allocations: 11.94 kB / 464 MB, free: 8.277 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.707, allocations: 322.8 kB / 464.4 MB, free: 7.953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.7074, allocations: 127.7 kB / 464.5 MB, free: 7.828 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005122/0.708, allocations: 235 kB / 464.7 MB, free: 7.551 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004635/0.7084, allocations: 164 kB / 464.9 MB, free: 7.391 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.7085, allocations: 4 kB / 464.9 MB, free: 7.387 MB / 394.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001197/0.7097, allocations: 413 kB / 465.3 MB, free: 6.977 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/0.7097, allocations: 11.94 kB / 465.3 MB, free: 6.965 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.7098, allocations: 4.469 kB / 465.3 MB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.7098, allocations: 8 kB / 465.3 MB, free: 6.953 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/0.7111, allocations: 163.8 kB / 465.5 MB, free: 6.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002707/0.7138, allocations: 3.606 MB / 469.1 MB, free: 3.047 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006055/0.7145, allocations: 59.36 kB / 469.1 MB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.457e-05/0.7146, allocations: 23.98 kB / 469.1 MB, free: 2.965 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001705/0.7148, allocations: 120.9 kB / 469.3 MB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.7149, allocations: 39.48 kB / 469.3 MB, free: 2.801 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001845/0.7167, allocations: 0.5207 MB / 469.8 MB, free: 2.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/0.7168, allocations: 4 kB / 469.8 MB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.7168, allocations: 0 / 469.8 MB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.7168, allocations: 0 / 469.8 MB, free: 2.266 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001063/0.7179, allocations: 457 kB / 470.3 MB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.7179, allocations: 0 / 470.3 MB, free: 1.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/0.7191, allocations: 143.8 kB / 470.4 MB, free: 1.629 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.426e-05/0.7191, allocations: 3.953 kB / 470.4 MB, free: 1.625 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.616e-05/0.7192, allocations: 15.98 kB / 470.4 MB, free: 1.609 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002607/0.7218, allocations: 3.599 MB / 474 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.7219, allocations: 0 / 474 MB, free: 13.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.7234, allocations: 0.6134 MB / 474.6 MB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/0.7238, allocations: 180.4 kB / 474.8 MB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.7239, allocations: 4 kB / 474.8 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004076/0.7243, allocations: 19.98 kB / 474.8 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.7245, allocations: 32.06 kB / 474.9 MB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.752e-05/0.7245, allocations: 15.98 kB / 474.9 MB, free: 12.98 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006209/0.7251, allocations: 337.1 kB / 475.2 MB, free: 12.65 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7252, allocations: 0 / 475.2 MB, free: 12.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008999/0.7261, allocations: 183.5 kB / 475.4 MB, free: 12.47 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (L) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002304/0.7284, allocations: 1.273 MB / 476.7 MB, free: 11.17 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.7301, allocations: 384.4 kB / 477 MB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.7301, allocations: 0 / 477 MB, free: 10.8 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00103/0.7311, allocations: 219.7 kB / 477.3 MB, free: 10.58 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004309/0.7316, allocations: 33.44 kB / 477.3 MB, free: 10.55 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002734/0.7343, allocations: 0.9049 MB / 478.2 MB, free: 9.602 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000662/0.7351, allocations: 0.9054 MB / 479.1 MB, free: 8.672 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004325/0.7355, allocations: 175.4 kB / 479.3 MB, free: 8.5 MB / 410.7 MB Notification: Performance of SimCode: time 9.92e-07/0.7355, allocations: 0 / 479.3 MB, free: 8.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.197/3.932, allocations: 19.34 MB / 498.6 MB, free: 5.156 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Orifice.dp_thickEdgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat