Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.768/2.768, allocations: 270 MB / 282.7 MB, free: 1.82 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.688e-05/4.695e-05, allocations: 0 / 347.1 MB, free: 3.086 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4013, allocations: 61.87 MB / 409 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1797/0.5811, allocations: 96.16 MB / 0.4933 GB, free: 10.34 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003766/0.5816, allocations: 99.92 kB / 0.4934 GB, free: 10.24 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:6132:11-6138:61:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:6140:11-6143:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:6146:11-6152:59:writable] Error: Type mismatch in binding d_hyd = d_hyd, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:6154:11-6157:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.05942/0.641, allocations: 11.53 MB / 0.5046 GB, free: 14.62 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.641, allocations: 0 / 0.5046 GB, free: 14.62 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.439e-05/0.6411, allocations: 4 kB / 0.5046 GB, free: 14.62 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001267/0.6423, allocations: 0.5646 MB / 0.5052 GB, free: 14.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.432e-05/0.6424, allocations: 12.03 kB / 0.5052 GB, free: 14 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001148/0.6425, allocations: 82.5 kB / 0.5053 GB, free: 13.91 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.571e-05/0.6426, allocations: 31.62 kB / 0.5053 GB, free: 13.88 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003708/0.643, allocations: 246.5 kB / 0.5055 GB, free: 13.6 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/0.6431, allocations: 20.78 kB / 0.5056 GB, free: 13.58 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.928e-05/0.6431, allocations: 24 kB / 0.5056 GB, free: 13.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001006/0.6442, allocations: 434 kB / 0.506 GB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.6442, allocations: 0 / 0.506 GB, free: 13.13 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/0.6442, allocations: 15.98 kB / 0.506 GB, free: 13.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.57e-05/0.6443, allocations: 40.75 kB / 0.506 GB, free: 13.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001181/0.6455, allocations: 0.513 MB / 0.5065 GB, free: 12.56 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003046/0.6486, allocations: 1.349 MB / 0.5079 GB, free: 11.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008309/0.6495, allocations: 259.4 kB / 0.5081 GB, free: 10.83 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002322/0.6497, allocations: 84.77 kB / 0.5082 GB, free: 10.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-05/0.6498, allocations: 12.38 kB / 0.5082 GB, free: 10.73 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.6498, allocations: 42.94 kB / 0.5082 GB, free: 10.68 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 2.765e-06/0.6498, allocations: 3.938 kB / 0.5083 GB, free: 10.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006773/0.6505, allocations: 219 kB / 0.5085 GB, free: 10.46 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.6506, allocations: 55.41 kB / 0.5085 GB, free: 10.39 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.6508, allocations: 133.2 kB / 0.5086 GB, free: 10.25 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.6508, allocations: 25.7 kB / 0.5087 GB, free: 10.22 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001701/0.651, allocations: 262.2 kB / 0.5089 GB, free: 9.957 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.865e-05/0.6511, allocations: 86.73 kB / 0.509 GB, free: 9.871 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.6511, allocations: 8 kB / 0.509 GB, free: 9.863 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6513, allocations: 326.8 kB / 0.5093 GB, free: 9.535 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002202/0.6515, allocations: 71.83 kB / 0.5094 GB, free: 9.465 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.6518, allocations: 162.2 kB / 0.5095 GB, free: 9.27 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.6521, allocations: 105.6 kB / 0.5096 GB, free: 9.168 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.6521, allocations: 0 / 0.5096 GB, free: 9.168 MB / 442.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007513/0.6529, allocations: 282.4 kB / 0.5099 GB, free: 8.887 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.653, allocations: 8.344 kB / 0.5099 GB, free: 8.879 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.653, allocations: 4 kB / 0.5099 GB, free: 8.875 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.71e-05/0.653, allocations: 11.95 kB / 0.5099 GB, free: 8.863 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/0.6541, allocations: 123.8 kB / 0.5101 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00153/0.6557, allocations: 2.364 MB / 0.5124 GB, free: 6.285 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003476/0.656, allocations: 36.05 kB / 0.5124 GB, free: 6.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.12e-05/0.6561, allocations: 19.98 kB / 0.5124 GB, free: 6.23 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001562/0.6563, allocations: 120.9 kB / 0.5125 GB, free: 6.105 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.6564, allocations: 15.81 kB / 0.5125 GB, free: 6.09 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001213/0.6576, allocations: 343.1 kB / 0.5129 GB, free: 5.75 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.6576, allocations: 4 kB / 0.5129 GB, free: 5.746 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.6576, allocations: 0 / 0.5129 GB, free: 5.746 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.6576, allocations: 3.984 kB / 0.5129 GB, free: 5.742 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006494/0.6583, allocations: 333.4 kB / 0.5132 GB, free: 5.367 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.6583, allocations: 7.891 kB / 0.5132 GB, free: 5.359 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001008/0.6593, allocations: 123.9 kB / 0.5133 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.208e-06/0.6594, allocations: 0 / 0.5133 GB, free: 5.238 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.635e-05/0.6594, allocations: 11.98 kB / 0.5133 GB, free: 5.227 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/0.661, allocations: 2.363 MB / 0.5156 GB, free: 2.77 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.6611, allocations: 0 / 0.5156 GB, free: 2.77 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007231/0.6618, allocations: 347.8 kB / 0.516 GB, free: 2.414 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.391e-05/0.6619, allocations: 92.86 kB / 0.5161 GB, free: 2.305 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.01e-05/0.662, allocations: 8 kB / 0.5161 GB, free: 2.297 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002925/0.6623, allocations: 11.98 kB / 0.5161 GB, free: 2.285 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.511e-05/0.6624, allocations: 19.97 kB / 0.5161 GB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.592e-05/0.6624, allocations: 12 kB / 0.5161 GB, free: 2.254 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.798e-05/0.6625, allocations: 102.4 kB / 0.5162 GB, free: 2.156 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6625, allocations: 0 / 0.5162 GB, free: 2.156 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0009085/0.6634, allocations: 187.5 kB / 0.5164 GB, free: 1.973 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00169/0.6651, allocations: 1.04 MB / 0.5174 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001052/0.6662, allocations: 248.2 kB / 0.5176 GB, free: 0.668 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.6663, allocations: 0 / 0.5176 GB, free: 0.668 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006436/0.6669, allocations: 152.5 kB / 0.5178 GB, free: 0.5195 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002871/0.6672, allocations: 15.94 kB / 0.5178 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.6691, allocations: 0.5699 MB / 0.5184 GB, free: 15.89 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.6696, allocations: 0.8021 MB / 0.5191 GB, free: 15.06 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002534/0.6698, allocations: 99.39 kB / 0.5192 GB, free: 14.96 MB / 458.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6698, allocations: 4 kB / 0.5192 GB, free: 14.96 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.291/3.961, allocations: 10.02 MB / 0.529 GB, free: 4.949 MB / 458.7 MB