Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.017/2.017, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.954e-05/3.96e-05, allocations: 4 kB / 273.2 MB, free: 0.6133 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 48.7 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4965/0.6039, allocations: 83.51 MB / 405.4 MB, free: 6.289 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003796/0.6043, allocations: 91.94 kB / 405.5 MB, free: 6.199 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1/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.1/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.1/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.0578/0.6621, allocations: 11.22 MB / 416.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.6622, allocations: 0 / 416.7 MB, free: 10.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.414e-05/0.6622, allocations: 4 kB / 416.7 MB, free: 10.91 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001281/0.6635, allocations: 0.5841 MB / 417.3 MB, free: 10.29 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.6636, allocations: 8.031 kB / 417.3 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.6637, allocations: 70.53 kB / 417.4 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.679e-05/0.6638, allocations: 31.62 kB / 417.4 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003829/0.6642, allocations: 238.7 kB / 417.6 MB, free: 9.895 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.547e-05/0.6642, allocations: 24.77 kB / 417.6 MB, free: 9.871 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.31e-05/0.6643, allocations: 31.94 kB / 417.7 MB, free: 9.84 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001051/0.6654, allocations: 441.9 kB / 418.1 MB, free: 9.398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.932e-05/0.6654, allocations: 3.984 kB / 418.1 MB, free: 9.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.6e-05/0.6655, allocations: 12 kB / 418.1 MB, free: 9.383 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.893e-05/0.6656, allocations: 40.75 kB / 418.2 MB, free: 9.344 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001185/0.6668, allocations: 0.5091 MB / 418.7 MB, free: 8.836 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003157/0.6699, allocations: 1.345 MB / 420 MB, free: 7.371 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008622/0.6708, allocations: 266.4 kB / 420.3 MB, free: 7.102 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002378/0.6711, allocations: 84.81 kB / 420.4 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.139e-05/0.6712, allocations: 8 kB / 420.4 MB, free: 7.008 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.6712, allocations: 34.56 kB / 420.4 MB, free: 6.965 MB / 346.7 MB Notification: Performance of pre-optimization done (n=25): time 3.306e-06/0.6712, allocations: 0 / 420.4 MB, free: 6.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=25): time 0.0006946/0.6719, allocations: 221.7 kB / 420.6 MB, free: 6.742 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.881e-05/0.672, allocations: 55.41 kB / 420.7 MB, free: 6.676 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001572/0.6722, allocations: 133.2 kB / 420.8 MB, free: 6.535 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.665e-05/0.6722, allocations: 29.7 kB / 420.8 MB, free: 6.5 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.6724, allocations: 266.4 kB / 421.1 MB, free: 6.238 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.997e-05/0.6725, allocations: 78.77 kB / 421.2 MB, free: 6.16 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.6725, allocations: 8 kB / 421.2 MB, free: 6.152 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.6727, allocations: 322.8 kB / 421.5 MB, free: 5.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002264/0.6729, allocations: 83.75 kB / 421.6 MB, free: 5.746 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000296/0.6732, allocations: 150.3 kB / 421.7 MB, free: 5.562 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002866/0.6735, allocations: 104.1 kB / 421.8 MB, free: 5.461 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.6736, allocations: 0 / 421.8 MB, free: 5.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0007448/0.6743, allocations: 289.2 kB / 422.1 MB, free: 5.172 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.6744, allocations: 11.94 kB / 422.1 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.092e-05/0.6744, allocations: 4 kB / 422.1 MB, free: 5.156 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.6744, allocations: 7.984 kB / 422.1 MB, free: 5.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001056/0.6755, allocations: 131.8 kB / 422.3 MB, free: 5.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001583/0.6771, allocations: 2.364 MB / 424.6 MB, free: 2.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.6774, allocations: 31.73 kB / 424.6 MB, free: 2.531 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.624e-05/0.6775, allocations: 20 kB / 424.7 MB, free: 2.512 MB / 346.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.0001495/0.6777, allocations: 128.8 kB / 424.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.659e-05/0.6777, allocations: 7.906 kB / 424.8 MB, free: 2.371 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001165/0.6789, allocations: 342.5 kB / 425.1 MB, free: 2.027 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.6789, allocations: 7.984 kB / 425.1 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6789, allocations: 0 / 425.1 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.679, allocations: 0 / 425.1 MB, free: 2.02 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000642/0.6796, allocations: 357.3 kB / 425.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.6796, allocations: 0 / 425.5 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009671/0.6806, allocations: 115.8 kB / 425.6 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.824e-06/0.6806, allocations: 0 / 425.6 MB, free: 1.508 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.961e-05/0.6807, allocations: 11.98 kB / 425.6 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001558/0.6822, allocations: 2.356 MB / 428 MB, free: 15.05 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.6823, allocations: 7.891 kB / 428 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007301/0.683, allocations: 339.2 kB / 428.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.106e-05/0.6831, allocations: 96.86 kB / 428.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.6832, allocations: 7.984 kB / 428.4 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002755/0.6835, allocations: 12 kB / 428.4 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.6836, allocations: 27.92 kB / 428.5 MB, free: 14.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.6836, allocations: 16.05 kB / 428.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001/0.6837, allocations: 100.5 kB / 428.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6838, allocations: 0 / 428.6 MB, free: 14.42 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008891/0.6847, allocations: 187.4 kB / 428.7 MB, free: 14.23 MB / 362.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.001594/0.6863, allocations: 1.029 MB / 429.8 MB, free: 13.18 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.6873, allocations: 248.4 kB / 430 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6873, allocations: 0 / 430 MB, free: 12.93 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000658/0.688, allocations: 151.8 kB / 430.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002744/0.6883, allocations: 8 kB / 430.2 MB, free: 12.78 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.69, allocations: 0.5815 MB / 430.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.6906, allocations: 0.8063 MB / 431.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002386/0.6908, allocations: 91.39 kB / 431.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of SimCode: time 8.92e-07/0.6909, allocations: 0 / 431.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.969/3.66, allocations: 10.02 MB / 441.7 MB, free: 1.211 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW_res.mat does not exist to compare? outputFormat=mat