Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_laminar_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.377/2.377, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.736e-05/3.742e-05, allocations: 4 kB / 348.5 MB, free: 10.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1277/0.1277, allocations: 61.89 MB / 410.4 MB, free: 12.87 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5115/0.6393, allocations: 91.11 MB / 0.4897 GB, free: 12.84 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003659/0.6397, allocations: 95.94 kB / 0.4898 GB, free: 12.75 MB / 410.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5884:11-5887:69:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5889:11-5892:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5895:11-5898:67:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[1], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5900:11-5903:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[1], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.01715/0.6569, allocations: 3.561 MB / 0.4933 GB, free: 9.176 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.644e-06/0.6569, allocations: 4 kB / 0.4933 GB, free: 9.172 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.016e-05/0.6569, allocations: 0 / 0.4933 GB, free: 9.172 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: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0006914/0.6576, allocations: 398.1 kB / 0.4937 GB, free: 8.738 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.6577, allocations: 16.02 kB / 0.4937 GB, free: 8.723 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.327e-05/0.6578, allocations: 46.56 kB / 0.4938 GB, free: 8.668 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004232/0.6582, allocations: 35.86 kB / 0.4938 GB, free: 8.633 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002497/0.6585, allocations: 186.9 kB / 0.494 GB, free: 8.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.6585, allocations: 8 kB / 0.494 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.473e-05/0.6586, allocations: 15.94 kB / 0.494 GB, free: 8.387 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004174/0.659, allocations: 152.2 kB / 0.4941 GB, free: 8.223 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.659, allocations: 8 kB / 0.4941 GB, free: 8.215 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.389e-05/0.659, allocations: 7.938 kB / 0.4942 GB, free: 8.207 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.374e-05/0.6591, allocations: 15.92 kB / 0.4942 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.6594, allocations: 99.95 kB / 0.4943 GB, free: 8.094 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.6608, allocations: 0.6487 MB / 0.4949 GB, free: 7.375 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000405/0.6612, allocations: 98.66 kB / 0.495 GB, free: 7.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.058e-05/0.6613, allocations: 32.8 kB / 0.495 GB, free: 7.234 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.022e-05/0.6613, allocations: 4 kB / 0.495 GB, free: 7.23 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.246e-05/0.6614, allocations: 34.56 kB / 0.4951 GB, free: 7.188 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 2.776e-06/0.6614, allocations: 0 / 0.4951 GB, free: 7.188 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002891/0.6617, allocations: 77.73 kB / 0.4951 GB, free: 7.105 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.6617, allocations: 51.41 kB / 0.4952 GB, free: 7.043 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001291/0.6619, allocations: 117.6 kB / 0.4953 GB, free: 6.918 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.6619, allocations: 25.7 kB / 0.4953 GB, free: 6.887 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.481e-05/0.662, allocations: 127.8 kB / 0.4954 GB, free: 6.754 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.781e-05/0.6621, allocations: 27.64 kB / 0.4955 GB, free: 6.727 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.6621, allocations: 4 kB / 0.4955 GB, free: 6.723 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6622, allocations: 318.8 kB / 0.4958 GB, free: 6.402 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.301e-05/0.6623, allocations: 23.98 kB / 0.4958 GB, free: 6.379 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001304/0.6625, allocations: 80.42 kB / 0.4959 GB, free: 6.273 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.6626, allocations: 35.97 kB / 0.4959 GB, free: 6.238 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6626, allocations: 4 kB / 0.4959 GB, free: 6.234 MB / 410.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003236/0.6629, allocations: 125.4 kB / 0.496 GB, free: 6.105 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.663, allocations: 11.95 kB / 0.496 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.663, allocations: 0 / 0.496 GB, free: 6.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.663, allocations: 4 kB / 0.496 GB, free: 6.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.6634, allocations: 52.16 kB / 0.4961 GB, free: 6.039 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.636e-05/0.6634, allocations: 8.562 kB / 0.4961 GB, free: 6.031 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000177/0.6636, allocations: 23.83 kB / 0.4961 GB, free: 6.008 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.6636, allocations: 4 kB / 0.4961 GB, free: 6.004 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.692e-05/0.6637, allocations: 109 kB / 0.4962 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.6638, allocations: 0 / 0.4962 GB, free: 5.891 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002949/0.6641, allocations: 114.2 kB / 0.4963 GB, free: 5.77 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.6641, allocations: 3.938 kB / 0.4964 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.6641, allocations: 0 / 0.4964 GB, free: 5.766 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.6641, allocations: 3.984 kB / 0.4964 GB, free: 5.762 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00032/0.6645, allocations: 193.5 kB / 0.4965 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.6645, allocations: 0 / 0.4965 GB, free: 5.523 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002702/0.6648, allocations: 31.97 kB / 0.4966 GB, free: 5.492 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.6648, allocations: 4 kB / 0.4966 GB, free: 5.488 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.6648, allocations: 8 kB / 0.4966 GB, free: 5.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.6648, allocations: 4.188 kB / 0.4966 GB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6649, allocations: 0 / 0.4966 GB, free: 5.477 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002715/0.6651, allocations: 191.3 kB / 0.4968 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.997e-05/0.6652, allocations: 89.03 kB / 0.4969 GB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.391e-05/0.6652, allocations: 0 / 0.4969 GB, free: 5.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.6654, allocations: 19.98 kB / 0.4969 GB, free: 5.148 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.6655, allocations: 7.938 kB / 0.4969 GB, free: 5.141 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.6655, allocations: 4 kB / 0.4969 GB, free: 5.137 MB / 410.7 MB Notification: Performance of sorting global known variables: time 7.905e-05/0.6656, allocations: 95.41 kB / 0.497 GB, free: 5.043 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6656, allocations: 0 / 0.497 GB, free: 5.043 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003906/0.666, allocations: 27.91 kB / 0.497 GB, free: 5.016 MB / 410.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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006895/0.6667, allocations: 0.7361 MB / 0.4977 GB, free: 4.254 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002479/0.667, allocations: 71.84 kB / 0.4978 GB, free: 4.184 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.667, allocations: 0 / 0.4978 GB, free: 4.184 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.317e-05/0.6671, allocations: 31.98 kB / 0.4978 GB, free: 4.152 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002337/0.6673, allocations: 14.33 kB / 0.4978 GB, free: 4.141 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006984/0.6681, allocations: 191.6 kB / 0.498 GB, free: 3.914 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004136/0.6685, allocations: 0.7199 MB / 0.4987 GB, free: 3.168 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001948/0.6687, allocations: 28.39 kB / 0.4987 GB, free: 3.141 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.817e-05/0.6688, allocations: 35.36 kB / 0.4988 GB, free: 3.105 MB / 410.7 MB Notification: Performance of SimCode: time 1.553e-06/0.6688, allocations: 0 / 0.4988 GB, free: 3.105 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.6919, allocations: 2.37 MB / 0.5011 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003377/0.6923, allocations: 201.2 kB / 0.5013 GB, free: 0.6328 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.335/3.027, allocations: 2.922 kB / 0.5013 GB, free: 0.6328 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_laminar_DPMFLOW_res.mat does not exist to compare? outputFormat=mat