Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.915/1.915, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.349e-05, allocations: 4 kB / 273.2 MB, free: 0.6133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1171, allocations: 48.71 MB / 321.9 MB, free: 15.81 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4048/0.522, allocations: 81.34 MB / 403.2 MB, free: 8.551 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003681/0.5224, allocations: 99.92 kB / 403.3 MB, free: 8.453 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, 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:5381:11-5382:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, 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:5399:11-5400:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd - DAE generated: time 0.04035/0.5628, allocations: 8.886 MB / 412.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5629, allocations: 4 kB / 412.2 MB, free: 15.45 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.5629, allocations: 4 kB / 412.2 MB, free: 15.45 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009036/0.5638, allocations: 0.514 MB / 412.7 MB, free: 14.89 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.529e-05/0.5639, allocations: 8.031 kB / 412.7 MB, free: 14.88 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.564, allocations: 78.53 kB / 412.8 MB, free: 14.79 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.389e-05/0.5641, allocations: 35.62 kB / 412.9 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/0.5645, allocations: 242.6 kB / 413.1 MB, free: 14.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.5645, allocations: 28.78 kB / 413.1 MB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.762e-05/0.5646, allocations: 32 kB / 413.1 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009887/0.5656, allocations: 449.3 kB / 413.6 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.5657, allocations: 0 / 413.6 MB, free: 13.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.707e-05/0.5657, allocations: 23.92 kB / 413.6 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/0.5658, allocations: 24.77 kB / 413.6 MB, free: 13.92 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008502/0.5667, allocations: 389.3 kB / 414 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002472/0.5691, allocations: 1.219 MB / 415.2 MB, free: 12.22 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002041/0.5694, allocations: 58.56 kB / 415.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.973e-05/0.5695, allocations: 32.84 kB / 415.3 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.281e-05/0.5696, allocations: 8 kB / 415.3 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.5696, allocations: 30.56 kB / 415.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.575e-06/0.5696, allocations: 0 / 415.4 MB, free: 12.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003598/0.57, allocations: 101.6 kB / 415.5 MB, free: 11.97 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.57, allocations: 51.41 kB / 415.5 MB, free: 11.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000193/0.5702, allocations: 154.8 kB / 415.7 MB, free: 11.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.539e-05/0.5703, allocations: 25.7 kB / 415.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001767/0.5705, allocations: 289.7 kB / 416 MB, free: 11.43 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.689e-05/0.5705, allocations: 27.64 kB / 416 MB, free: 11.41 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.5706, allocations: 4 kB / 416 MB, free: 11.4 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000134/0.5707, allocations: 326.8 kB / 416.3 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001492/0.5709, allocations: 39.98 kB / 416.4 MB, free: 11.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002231/0.5711, allocations: 152.2 kB / 416.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.5713, allocations: 67.89 kB / 416.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.5713, allocations: 4 kB / 416.6 MB, free: 10.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000539/0.5719, allocations: 209.6 kB / 416.8 MB, free: 10.55 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.5719, allocations: 8 kB / 416.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.5719, allocations: 4 kB / 416.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.679e-05/0.5719, allocations: 8 kB / 416.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.5726, allocations: 95.86 kB / 416.9 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.5738, allocations: 1.774 MB / 418.7 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.5741, allocations: 27.83 kB / 418.7 MB, free: 8.562 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.763e-05/0.5741, allocations: 19.94 kB / 418.7 MB, free: 8.543 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001439/0.5743, allocations: 129 kB / 418.8 MB, free: 8.41 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.814e-05/0.5743, allocations: 11.91 kB / 418.9 MB, free: 8.398 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007195/0.5751, allocations: 173.9 kB / 419 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.5751, allocations: 0 / 419 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.5751, allocations: 0 / 419 MB, free: 8.223 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.5751, allocations: 3.984 kB / 419 MB, free: 8.219 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005226/0.5757, allocations: 297.5 kB / 419.3 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.5757, allocations: 0 / 419.3 MB, free: 7.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004593/0.5761, allocations: 59.95 kB / 419.4 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.462e-06/0.5762, allocations: 0 / 419.4 MB, free: 7.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.5762, allocations: 7.984 kB / 419.4 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001169/0.5774, allocations: 1.77 MB / 421.2 MB, free: 5.973 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.5774, allocations: 8.094 kB / 421.2 MB, free: 5.965 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.5778, allocations: 203.5 kB / 421.4 MB, free: 5.75 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.609e-05/0.5779, allocations: 92.89 kB / 421.5 MB, free: 5.641 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.651e-05/0.5779, allocations: 4 kB / 421.5 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.5781, allocations: 11.98 kB / 421.5 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.313e-05/0.5782, allocations: 8 kB / 421.5 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.5782, allocations: 7.984 kB / 421.5 MB, free: 5.609 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001257/0.5783, allocations: 111.3 kB / 421.6 MB, free: 5.5 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.5783, allocations: 0 / 421.6 MB, free: 5.5 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000708/0.579, allocations: 107.5 kB / 421.7 MB, free: 5.395 MB / 346.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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009599/0.58, allocations: 0.7975 MB / 422.5 MB, free: 4.574 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007102/0.5808, allocations: 140.7 kB / 422.6 MB, free: 4.438 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.5808, allocations: 4.25 kB / 422.6 MB, free: 4.434 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000389/0.5812, allocations: 63.91 kB / 422.7 MB, free: 4.371 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002746/0.5815, allocations: 11.98 kB / 422.7 MB, free: 4.359 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001374/0.5829, allocations: 423.8 kB / 423.1 MB, free: 3.902 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005313/0.5835, allocations: 0.7985 MB / 423.9 MB, free: 3.078 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001796/0.5836, allocations: 83.34 kB / 424 MB, free: 2.996 MB / 346.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5837, allocations: 0 / 424 MB, free: 2.996 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.836/3.42, allocations: 8.151 MB / 432.2 MB, free: 10.86 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat