Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.51/2.51, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.622e-05/5.631e-05, allocations: 8 kB / 348.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1589, allocations: 61.88 MB / 410.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5592/0.7182, allocations: 90.42 MB / 0.4891 GB, free: 13.61 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003701/0.7186, allocations: 93.25 kB / 0.4891 GB, free: 13.52 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 4.0.0/Fluid/Dissipation.mo:5503:11-5506:61:writable] Error: Type mismatch in binding rho = rho, 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:5514:11-5517:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.07665/0.7953, allocations: 7.892 MB / 0.4969 GB, free: 5.605 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.7954, allocations: 4 kB / 0.4969 GB, free: 5.602 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.7954, allocations: 0 / 0.4969 GB, free: 5.602 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009492/0.7964, allocations: 461.7 kB / 0.4973 GB, free: 5.105 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.7964, allocations: 8.031 kB / 0.4973 GB, free: 5.098 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.617e-05/0.7965, allocations: 50.55 kB / 0.4974 GB, free: 5.039 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/0.7982, allocations: 87.67 kB / 0.4974 GB, free: 4.953 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004599/0.7987, allocations: 222.8 kB / 0.4977 GB, free: 4.695 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.727e-05/0.7988, allocations: 19.89 kB / 0.4977 GB, free: 4.676 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-05/0.7989, allocations: 16 kB / 0.4977 GB, free: 4.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009988/0.7999, allocations: 289.4 kB / 0.498 GB, free: 4.371 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.7999, allocations: 0 / 0.498 GB, free: 4.371 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.7e-05/0.8, allocations: 8 kB / 0.498 GB, free: 4.363 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.057e-05/0.8, allocations: 19.98 kB / 0.498 GB, free: 4.344 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001067/0.8011, allocations: 279.8 kB / 0.4983 GB, free: 4.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00336/0.8045, allocations: 0.8376 MB / 0.4991 GB, free: 3.141 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008066/0.8054, allocations: 190.4 kB / 0.4993 GB, free: 2.945 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000304/0.8057, allocations: 72.78 kB / 0.4993 GB, free: 2.871 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.578e-05/0.8058, allocations: 11.97 kB / 0.4993 GB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.8058, allocations: 42.78 kB / 0.4994 GB, free: 2.809 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 4.088e-06/0.8058, allocations: 0 / 0.4994 GB, free: 2.809 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009098/0.8068, allocations: 177.4 kB / 0.4995 GB, free: 2.629 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.055e-05/0.8068, allocations: 51.41 kB / 0.4996 GB, free: 2.566 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000331/0.8072, allocations: 169.2 kB / 0.4998 GB, free: 2.391 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.173e-05/0.8072, allocations: 33.7 kB / 0.4998 GB, free: 2.352 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.8074, allocations: 135.5 kB / 0.4999 GB, free: 2.215 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.625e-05/0.8075, allocations: 39.48 kB / 0.5 GB, free: 2.176 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.8075, allocations: 0 / 0.5 GB, free: 2.176 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001859/0.8077, allocations: 326.8 kB / 0.5003 GB, free: 1.848 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003079/0.8081, allocations: 67.94 kB / 0.5003 GB, free: 1.781 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003621/0.8084, allocations: 118.8 kB / 0.5004 GB, free: 1.641 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003335/0.8088, allocations: 75.94 kB / 0.5005 GB, free: 1.566 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.8088, allocations: 3.938 kB / 0.5005 GB, free: 1.562 MB / 410.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0007491/0.8096, allocations: 233.1 kB / 0.5007 GB, free: 1.328 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/0.8096, allocations: 10.72 kB / 0.5008 GB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.8096, allocations: 4 kB / 0.5008 GB, free: 1.316 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.8096, allocations: 7.953 kB / 0.5008 GB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008832/0.8105, allocations: 83.84 kB / 0.5008 GB, free: 1.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/0.8118, allocations: 1.782 MB / 0.5026 GB, free: 15.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/0.8123, allocations: 31.8 kB / 0.5026 GB, free: 15.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.8124, allocations: 15.92 kB / 0.5026 GB, free: 15.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * 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.0001509/0.8126, allocations: 117.1 kB / 0.5027 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.654e-05/0.8126, allocations: 15.81 kB / 0.5028 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008088/0.8135, allocations: 226.9 kB / 0.503 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.8135, allocations: 3.953 kB / 0.503 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.8135, allocations: 0 / 0.503 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.8135, allocations: 4 kB / 0.503 GB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004853/0.814, allocations: 253.5 kB / 0.5032 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.814, allocations: 3.938 kB / 0.5032 GB, free: 14.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007719/0.8148, allocations: 71.91 kB / 0.5033 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.082e-06/0.8148, allocations: 0 / 0.5033 GB, free: 14.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.548e-05/0.8149, allocations: 7.984 kB / 0.5033 GB, free: 14.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001201/0.8161, allocations: 1.781 MB / 0.505 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.939e-06/0.8161, allocations: 3.953 kB / 0.505 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006599/0.8168, allocations: 291.5 kB / 0.5053 GB, free: 12.41 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.8169, allocations: 89 kB / 0.5054 GB, free: 12.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.401e-05/0.817, allocations: 4 kB / 0.5054 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004274/0.8175, allocations: 11.98 kB / 0.5054 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.728e-05/0.8176, allocations: 19.91 kB / 0.5054 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.924e-05/0.8176, allocations: 11.98 kB / 0.5055 GB, free: 12.26 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001864/0.8178, allocations: 135.7 kB / 0.5056 GB, free: 12.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8178, allocations: 0 / 0.5056 GB, free: 12.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006235/0.8184, allocations: 71.84 kB / 0.5057 GB, free: 12.06 MB / 426.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 (10): * Single equations (assignments): 7 * 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.001197/0.8197, allocations: 0.8722 MB / 0.5065 GB, free: 11.16 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008875/0.8206, allocations: 199.7 kB / 0.5067 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.8206, allocations: 0 / 0.5067 GB, free: 10.97 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005201/0.8211, allocations: 103.8 kB / 0.5068 GB, free: 10.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.8214, allocations: 12.56 kB / 0.5068 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.8225, allocations: 309.1 kB / 0.5071 GB, free: 10.52 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.8229, allocations: 0.7479 MB / 0.5078 GB, free: 9.75 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0004039/0.8233, allocations: 65.11 kB / 0.5079 GB, free: 9.688 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.8235, allocations: 51.39 kB / 0.5079 GB, free: 9.637 MB / 426.7 MB Notification: Performance of SimCode: time 9.32e-07/0.8235, allocations: 0 / 0.5079 GB, free: 9.637 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03395/0.8575, allocations: 4.689 MB / 0.5125 GB, free: 5.121 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003531/0.8579, allocations: 227.1 kB / 0.5127 GB, free: 4.859 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.606/3.464, allocations: 0 / 0.5127 GB, free: 4.859 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat