Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.911/1.911, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.195e-05/4.213e-05, allocations: 4 kB / 273.2 MB, free: 128 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1301, allocations: 48.71 MB / 321.9 MB, free: 15.32 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4363/0.5664, allocations: 81.33 MB / 403.2 MB, free: 8.262 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000376/0.5669, allocations: 101 kB / 403.3 MB, free: 8.164 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.03854/0.6054, allocations: 8.889 MB / 412.2 MB, free: 15.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.6055, allocations: 4 kB / 412.2 MB, free: 15.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.6055, allocations: 4 kB / 412.2 MB, free: 15.14 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.0008547/0.6064, allocations: 0.5178 MB / 412.7 MB, free: 14.59 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.476e-05/0.6064, allocations: 12.03 kB / 412.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000138/0.6066, allocations: 78.52 kB / 412.8 MB, free: 14.49 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.66e-05/0.6067, allocations: 31.62 kB / 412.8 MB, free: 14.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.6071, allocations: 238.7 kB / 413.1 MB, free: 14.18 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.913e-05/0.6071, allocations: 28.78 kB / 413.1 MB, free: 14.15 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.22e-05/0.6072, allocations: 32 kB / 413.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.6082, allocations: 458.8 kB / 413.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/0.6083, allocations: 0 / 413.6 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.507e-05/0.6083, allocations: 12 kB / 413.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.534e-05/0.6084, allocations: 28.77 kB / 413.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008417/0.6093, allocations: 390.9 kB / 414 MB, free: 13.24 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.6116, allocations: 1.219 MB / 415.2 MB, free: 11.92 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001757/0.6118, allocations: 66.55 kB / 415.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.102e-05/0.6119, allocations: 36.78 kB / 415.3 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.676e-05/0.6119, allocations: 4 kB / 415.3 MB, free: 11.8 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.612, allocations: 34.56 kB / 415.4 MB, free: 11.76 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.723e-06/0.612, allocations: 0 / 415.4 MB, free: 11.76 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003366/0.6123, allocations: 97.66 kB / 415.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/0.6124, allocations: 51.41 kB / 415.5 MB, free: 11.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001855/0.6126, allocations: 154.6 kB / 415.7 MB, free: 11.44 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.333e-05/0.6126, allocations: 25.7 kB / 415.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.6128, allocations: 219.3 kB / 415.9 MB, free: 11.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.6128, allocations: 27.64 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.531e-05/0.6129, allocations: 4 kB / 415.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00015/0.613, allocations: 326.8 kB / 416.3 MB, free: 10.83 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001211/0.6132, allocations: 39.98 kB / 416.3 MB, free: 10.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002904/0.6135, allocations: 160.2 kB / 416.5 MB, free: 10.58 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.6137, allocations: 71.89 kB / 416.5 MB, free: 10.51 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6137, allocations: 0 / 416.5 MB, free: 10.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005337/0.6142, allocations: 221.5 kB / 416.7 MB, free: 10.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.6143, allocations: 4 kB / 416.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/0.6143, allocations: 4 kB / 416.7 MB, free: 10.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.6143, allocations: 8 kB / 416.8 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.6149, allocations: 91.88 kB / 416.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001254/0.6162, allocations: 1.785 MB / 418.6 MB, free: 8.324 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002318/0.6165, allocations: 23.83 kB / 418.7 MB, free: 8.301 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.6165, allocations: 16 kB / 418.7 MB, free: 8.285 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.0001369/0.6167, allocations: 132.3 kB / 418.8 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.264e-05/0.6167, allocations: 11.89 kB / 418.8 MB, free: 8.141 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007088/0.6174, allocations: 181.8 kB / 419 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.6175, allocations: 4 kB / 419 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.6175, allocations: 0 / 419 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.6175, allocations: 0 / 419 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.618, allocations: 293.5 kB / 419.3 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.618, allocations: 3.938 kB / 419.3 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004194/0.6184, allocations: 59.95 kB / 419.3 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.6185, allocations: 4 kB / 419.3 MB, free: 7.547 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.927e-05/0.6185, allocations: 11.98 kB / 419.4 MB, free: 7.535 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001183/0.6197, allocations: 1.77 MB / 421.1 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.6197, allocations: 0 / 421.1 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003077/0.62, allocations: 199.3 kB / 421.3 MB, free: 5.484 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.037e-05/0.6201, allocations: 92.95 kB / 421.4 MB, free: 5.375 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.982e-05/0.6201, allocations: 0 / 421.4 MB, free: 5.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000155/0.6203, allocations: 8 kB / 421.4 MB, free: 5.367 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.193e-05/0.6204, allocations: 7.984 kB / 421.4 MB, free: 5.359 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.6204, allocations: 8.062 kB / 421.4 MB, free: 5.352 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001239/0.6205, allocations: 119.2 kB / 421.5 MB, free: 5.234 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6205, allocations: 0 / 421.5 MB, free: 5.234 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006287/0.6212, allocations: 99.53 kB / 421.6 MB, free: 5.137 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.000922/0.6221, allocations: 0.814 MB / 422.5 MB, free: 4.297 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0006272/0.6228, allocations: 144.8 kB / 422.6 MB, free: 4.156 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6228, allocations: 0 / 422.6 MB, free: 4.156 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003696/0.6232, allocations: 59.95 kB / 422.7 MB, free: 4.098 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002027/0.6234, allocations: 8 kB / 422.7 MB, free: 4.09 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.6245, allocations: 418 kB / 423.1 MB, free: 3.645 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004889/0.625, allocations: 0.7986 MB / 423.9 MB, free: 2.82 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000327/0.6254, allocations: 68.91 kB / 423.9 MB, free: 2.754 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000152/0.6255, allocations: 75.41 kB / 424 MB, free: 2.68 MB / 346.7 MB Notification: Performance of SimCode: time 3.978e-06/0.6256, allocations: 0 / 424 MB, free: 2.68 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03812/0.6637, allocations: 5.322 MB / 429.3 MB, free: 13.49 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003708/0.6641, allocations: 255.2 kB / 429.6 MB, free: 13.15 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.549/3.213, allocations: 3.938 kB / 429.6 MB, free: 13.14 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat