Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.512/2.512, allocations: 270 MB / 283.6 MB, free: 2 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.968e-05/3.974e-05, allocations: 4 kB / 348.5 MB, free: 2.727 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4748, allocations: 61.86 MB / 410.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1955/0.6704, allocations: 93.92 MB / 0.4925 GB, free: 12.74 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003668/0.6708, allocations: 91.94 kB / 0.4926 GB, free: 12.65 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 4.0.0/Fluid/Dissipation.mo:5283:11-5295: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 4.0.0/Fluid/Dissipation.mo:5297:11-5298: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 4.0.0/Fluid/Dissipation.mo:5301:11-5313: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 4.0.0/Fluid/Dissipation.mo:5315:11-5316: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.04124/0.7121, allocations: 9.139 MB / 0.5015 GB, free: 3.375 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.7121, allocations: 0 / 0.5015 GB, free: 3.375 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.7122, allocations: 8 kB / 0.5015 GB, free: 3.367 MB / 426.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.0008744/0.713, allocations: 0.5179 MB / 0.502 GB, free: 2.805 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.843e-05/0.7131, allocations: 11.97 kB / 0.502 GB, free: 2.793 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/0.7132, allocations: 78.53 kB / 0.5021 GB, free: 2.707 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.263e-05/0.7133, allocations: 35.56 kB / 0.5021 GB, free: 2.672 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003728/0.7137, allocations: 230.6 kB / 0.5023 GB, free: 2.406 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.837e-05/0.7138, allocations: 28.73 kB / 0.5024 GB, free: 2.379 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.218e-05/0.7139, allocations: 43.98 kB / 0.5024 GB, free: 2.336 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/0.7149, allocations: 449.3 kB / 0.5028 GB, free: 1.883 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.7149, allocations: 0 / 0.5028 GB, free: 1.883 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.871e-05/0.715, allocations: 15.98 kB / 0.5029 GB, free: 1.867 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.418e-05/0.7151, allocations: 24.72 kB / 0.5029 GB, free: 1.844 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008602/0.7159, allocations: 389.4 kB / 0.5033 GB, free: 1.465 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002392/0.7183, allocations: 1.203 MB / 0.5044 GB, free: 164 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001861/0.7186, allocations: 70.5 kB / 0.5045 GB, free: 84 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.303e-05/0.7187, allocations: 24.86 kB / 0.5045 GB, free: 56 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.875e-05/0.7187, allocations: 12.12 kB / 0.5045 GB, free: 44 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.251e-05/0.7188, allocations: 34.67 kB / 0.5046 GB, free: 16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 2.846e-06/0.7188, allocations: 3.938 kB / 0.5046 GB, free: 15.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.000337/0.7191, allocations: 89.58 kB / 0.5047 GB, free: 15.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.7192, allocations: 55.41 kB / 0.5047 GB, free: 15.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.7194, allocations: 148.6 kB / 0.5048 GB, free: 15.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.837e-05/0.7194, allocations: 25.7 kB / 0.5049 GB, free: 15.65 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.7196, allocations: 227.2 kB / 0.5051 GB, free: 15.42 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.7197, allocations: 27.64 kB / 0.5051 GB, free: 15.39 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.7197, allocations: 0 / 0.5051 GB, free: 15.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.7199, allocations: 322.8 kB / 0.5054 GB, free: 15.07 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.72, allocations: 39.92 kB / 0.5055 GB, free: 15.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002402/0.7203, allocations: 161.1 kB / 0.5056 GB, free: 14.81 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001779/0.7205, allocations: 67.89 kB / 0.5057 GB, free: 14.75 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.7205, allocations: 4 kB / 0.5057 GB, free: 14.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005246/0.721, allocations: 213.6 kB / 0.5059 GB, free: 14.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/0.721, allocations: 8 kB / 0.5059 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.7211, allocations: 7.828 kB / 0.5059 GB, free: 14.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.639e-05/0.7211, allocations: 8 kB / 0.5059 GB, free: 14.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006265/0.7217, allocations: 91.88 kB / 0.506 GB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001239/0.723, allocations: 1.778 MB / 0.5077 GB, free: 12.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002787/0.7233, allocations: 35.83 kB / 0.5078 GB, free: 12.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.7234, allocations: 16 kB / 0.5078 GB, free: 12.52 MB / 442.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.0001498/0.7235, allocations: 121.1 kB / 0.5079 GB, free: 12.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.485e-05/0.7236, allocations: 15.86 kB / 0.5079 GB, free: 12.38 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007235/0.7243, allocations: 177.8 kB / 0.5081 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.7243, allocations: 0 / 0.5081 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.7244, allocations: 0 / 0.5081 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.7244, allocations: 0 / 0.5081 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000532/0.7249, allocations: 297.5 kB / 0.5084 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.594e-06/0.7249, allocations: 0 / 0.5084 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004596/0.7254, allocations: 63.91 kB / 0.5084 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.856e-06/0.7254, allocations: 0 / 0.5084 GB, free: 11.8 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.845e-05/0.7254, allocations: 7.938 kB / 0.5084 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00126/0.7267, allocations: 1.77 MB / 0.5102 GB, free: 9.949 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.7267, allocations: 4.219 kB / 0.5102 GB, free: 9.945 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003219/0.7271, allocations: 191.4 kB / 0.5104 GB, free: 9.742 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.017e-05/0.7272, allocations: 88.97 kB / 0.5104 GB, free: 9.637 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.42e-05/0.7272, allocations: 3.984 kB / 0.5104 GB, free: 9.633 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.7274, allocations: 4 kB / 0.5104 GB, free: 9.629 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.264e-05/0.7275, allocations: 15.98 kB / 0.5105 GB, free: 9.613 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.7275, allocations: 4 kB / 0.5105 GB, free: 9.609 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001264/0.7276, allocations: 113.9 kB / 0.5106 GB, free: 9.5 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7276, allocations: 0 / 0.5106 GB, free: 9.5 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006961/0.7283, allocations: 115.5 kB / 0.5107 GB, free: 9.387 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 (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.000931/0.7293, allocations: 0.8033 MB / 0.5115 GB, free: 8.559 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0006896/0.73, allocations: 136.8 kB / 0.5116 GB, free: 8.426 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.73, allocations: 128 / 0.5116 GB, free: 8.426 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004128/0.7304, allocations: 67.89 kB / 0.5117 GB, free: 8.359 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002686/0.7307, allocations: 13.47 kB / 0.5117 GB, free: 8.348 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.732, allocations: 394.1 kB / 0.512 GB, free: 7.926 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005017/0.7326, allocations: 0.8102 MB / 0.5128 GB, free: 7.09 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003535/0.7329, allocations: 72.89 kB / 0.5129 GB, free: 7.016 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001489/0.7331, allocations: 71.42 kB / 0.513 GB, free: 6.949 MB / 442.7 MB Notification: Performance of SimCode: time 1.322e-06/0.7331, allocations: 0 / 0.513 GB, free: 6.949 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02939/0.7625, allocations: 5.317 MB / 0.5182 GB, free: 1.852 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005535/0.7631, allocations: 250 kB / 0.5184 GB, free: 1.516 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.64/3.403, allocations: 0 / 0.5184 GB, free: 1.516 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat