Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.538/2.538, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.346e-05/3.388e-05, allocations: 0 / 305 MB, free: 5.531 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4018/0.4018, allocations: 54.85 MB / 359.9 MB, free: 2.723 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1918/0.5937, allocations: 90.04 MB / 449.9 MB, free: 6.918 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003906/0.5941, allocations: 92.72 kB / 450 MB, free: 6.828 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:6216:11-6222: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 3.2.2/Fluid/Dissipation.mo:6224:11-6227: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 3.2.2/Fluid/Dissipation.mo:6230:11-6236: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 3.2.2/Fluid/Dissipation.mo:6238:11-6241: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.06107/0.6552, allocations: 11.24 MB / 461.3 MB, free: 11.56 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6553, allocations: 0 / 461.3 MB, free: 11.56 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.543e-05/0.6553, allocations: 4 kB / 461.3 MB, free: 11.55 MB / 394.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.001272/0.6566, allocations: 0.5763 MB / 461.8 MB, free: 10.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.6566, allocations: 8.031 kB / 461.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/0.6568, allocations: 78.52 kB / 461.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.616e-05/0.6569, allocations: 27.62 kB / 461.9 MB, free: 10.81 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.6573, allocations: 238.7 kB / 462.2 MB, free: 10.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.544e-05/0.6573, allocations: 28.75 kB / 462.2 MB, free: 10.51 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.103e-05/0.6574, allocations: 25.12 kB / 462.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.6584, allocations: 434 kB / 462.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.04e-05/0.6585, allocations: 7.891 kB / 462.7 MB, free: 10.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.088e-05/0.6585, allocations: 12 kB / 462.7 MB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/0.6586, allocations: 40.69 kB / 462.7 MB, free: 9.996 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001186/0.6598, allocations: 0.5091 MB / 463.2 MB, free: 9.484 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003177/0.663, allocations: 1.354 MB / 464.6 MB, free: 8.012 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008443/0.6639, allocations: 258.5 kB / 464.8 MB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000235/0.6642, allocations: 84.81 kB / 464.9 MB, free: 7.664 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.232e-05/0.6643, allocations: 4.391 kB / 464.9 MB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.283e-05/0.6643, allocations: 39.88 kB / 465 MB, free: 7.613 MB / 394.7 MB Notification: Performance of pre-optimization done (n=25): time 3.116e-06/0.6643, allocations: 1.406 kB / 465 MB, free: 7.613 MB / 394.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006841/0.665, allocations: 221.7 kB / 465.2 MB, free: 7.391 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.6651, allocations: 59.34 kB / 465.2 MB, free: 7.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.6652, allocations: 126.4 kB / 465.4 MB, free: 7.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.6653, allocations: 33.7 kB / 465.4 MB, free: 7.148 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/0.6655, allocations: 262 kB / 465.6 MB, free: 6.887 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.6656, allocations: 86.75 kB / 465.7 MB, free: 6.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.54e-05/0.6656, allocations: 12 kB / 465.7 MB, free: 6.789 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6658, allocations: 326.8 kB / 466.1 MB, free: 6.461 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002165/0.666, allocations: 71.97 kB / 466.1 MB, free: 6.391 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002962/0.6663, allocations: 162.2 kB / 466.3 MB, free: 6.195 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002807/0.6666, allocations: 91.92 kB / 466.4 MB, free: 6.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.6666, allocations: 4 kB / 466.4 MB, free: 6.102 MB / 394.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007518/0.6674, allocations: 277.2 kB / 466.7 MB, free: 5.824 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.315e-05/0.6674, allocations: 5.719 kB / 466.7 MB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.6674, allocations: 7.938 kB / 466.7 MB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.6675, allocations: 8.344 kB / 466.7 MB, free: 5.805 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.6686, allocations: 139.7 kB / 466.8 MB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.6702, allocations: 2.364 MB / 469.2 MB, free: 3.211 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.6706, allocations: 31.73 kB / 469.2 MB, free: 3.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.561e-05/0.6707, allocations: 12.28 kB / 469.2 MB, free: 3.168 MB / 394.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.0001518/0.6708, allocations: 134.7 kB / 469.3 MB, free: 3.031 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.6709, allocations: 11.91 kB / 469.4 MB, free: 3.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.6721, allocations: 339 kB / 469.7 MB, free: 2.688 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.051e-05/0.6721, allocations: 3.953 kB / 469.7 MB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.6721, allocations: 0 / 469.7 MB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-06/0.6722, allocations: 4 kB / 469.7 MB, free: 2.68 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006259/0.6728, allocations: 337.3 kB / 470 MB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.6728, allocations: 0 / 470 MB, free: 2.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009986/0.6738, allocations: 123.8 kB / 470.1 MB, free: 2.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.6739, allocations: 4 kB / 470.2 MB, free: 2.176 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.106e-05/0.6739, allocations: 15.92 kB / 470.2 MB, free: 2.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.6757, allocations: 2.36 MB / 472.5 MB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.6758, allocations: 3.984 kB / 472.5 MB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007681/0.6766, allocations: 339.7 kB / 472.9 MB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.157e-05/0.6767, allocations: 104.8 kB / 473 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.6768, allocations: 4 kB / 473 MB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002892/0.6771, allocations: 12 kB / 473 MB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.856e-05/0.6772, allocations: 27.89 kB / 473 MB, free: 15.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.721e-05/0.6772, allocations: 12 kB / 473 MB, free: 15.18 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001047/0.6773, allocations: 97.94 kB / 473.1 MB, free: 15.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6773, allocations: 0 / 473.1 MB, free: 15.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009281/0.6783, allocations: 191.4 kB / 473.3 MB, free: 14.9 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 (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.001912/0.6802, allocations: 1.04 MB / 474.3 MB, free: 13.83 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.6814, allocations: 240.6 kB / 474.6 MB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.599e-06/0.6814, allocations: 0 / 474.6 MB, free: 13.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006591/0.6821, allocations: 159.8 kB / 474.7 MB, free: 13.44 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003078/0.6824, allocations: 13.12 kB / 474.7 MB, free: 13.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001997/0.6844, allocations: 0.566 MB / 475.3 MB, free: 12.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005587/0.6851, allocations: 0.8023 MB / 476.1 MB, free: 12 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.6854, allocations: 91.39 kB / 476.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of SimCode: time 2.014e-06/0.6854, allocations: 0 / 476.2 MB, free: 11.91 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.929/3.614, allocations: 10.03 MB / 486.2 MB, free: 1.887 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat