Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Channel_dp_internalFlowOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.95/1.95, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.538e-05/4.548e-05, allocations: 4 kB / 273.1 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1073, allocations: 48.71 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4638/0.5712, allocations: 98.53 MB / 420.4 MB, free: 7.23 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003793/0.5716, allocations: 91.92 kB / 420.5 MB, free: 7.141 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4955:11-4956:126:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4977:11-4978:120:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4937:11-4953:48:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4959:11-4975:59:writable] Error: Type mismatch in binding K = K, expected subtype of Real[5], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1644/0.7361, allocations: 27.79 MB / 448.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.7361, allocations: 0 / 448.3 MB, free: 11.04 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.637e-05/0.7362, allocations: 8 kB / 448.3 MB, free: 11.03 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003333/0.7395, allocations: 0.904 MB / 449.2 MB, free: 10.07 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.915e-05/0.7396, allocations: 8.031 kB / 449.2 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003723/0.74, allocations: 151.9 kB / 449.3 MB, free: 9.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000293/0.7403, allocations: 79.02 kB / 449.4 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001073/0.7414, allocations: 350.1 kB / 449.8 MB, free: 9.449 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.241e-05/0.7415, allocations: 54 kB / 449.8 MB, free: 9.398 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002822/0.7418, allocations: 75.98 kB / 449.9 MB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003744/0.7455, allocations: 1.159 MB / 451 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.744e-05/0.7456, allocations: 0 / 451 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/0.7458, allocations: 35.98 kB / 451.1 MB, free: 8.125 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001756/0.746, allocations: 73.95 kB / 451.2 MB, free: 8.051 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004847/0.7509, allocations: 1.671 MB / 452.8 MB, free: 6.379 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008055/0.759, allocations: 2.968 MB / 455.8 MB, free: 3.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.7604, allocations: 407.8 kB / 456.2 MB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003579/0.7608, allocations: 133.4 kB / 456.3 MB, free: 2.719 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.175e-05/0.7609, allocations: 8.266 kB / 456.3 MB, free: 2.711 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.167e-05/0.7609, allocations: 34.84 kB / 456.4 MB, free: 2.668 MB / 378.7 MB Notification: Performance of pre-optimization done (n=34): time 3.376e-06/0.7609, allocations: 0 / 456.4 MB, free: 2.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=34): time 0.0009874/0.7619, allocations: 339.3 kB / 456.7 MB, free: 2.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.762, allocations: 59.41 kB / 456.8 MB, free: 2.262 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002847/0.7623, allocations: 185.6 kB / 456.9 MB, free: 2.07 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.623e-05/0.7623, allocations: 29.7 kB / 457 MB, free: 2.035 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003328/0.7627, allocations: 444.6 kB / 457.4 MB, free: 1.594 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.7629, allocations: 126.3 kB / 457.5 MB, free: 1.469 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.7629, allocations: 4 kB / 457.5 MB, free: 1.465 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.7631, allocations: 338.8 kB / 457.9 MB, free: 1.125 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004485/0.7636, allocations: 137 kB / 458 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005817/0.7642, allocations: 323 kB / 458.3 MB, free: 0.5898 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.7647, allocations: 203.9 kB / 458.5 MB, free: 400 kB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.7647, allocations: 4 kB / 458.5 MB, free: 396 kB / 378.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.001386/0.7661, allocations: 0.4971 MB / 459 MB, free: 15.88 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.823e-05/0.7662, allocations: 8 kB / 459 MB, free: 15.88 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.7662, allocations: 8 kB / 459 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.852e-05/0.7662, allocations: 8 kB / 459 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.7677, allocations: 212.2 kB / 459.2 MB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/0.7699, allocations: 3 MB / 462.2 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005364/0.7705, allocations: 51.58 kB / 462.3 MB, free: 12.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.879e-05/0.7706, allocations: 36.17 kB / 462.3 MB, free: 12.45 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 6 (roughness,geometry[5],geometry[4],geometry[3],geometry[2],geometry[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.7708, allocations: 144.7 kB / 462.5 MB, free: 12.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.972e-05/0.7709, allocations: 15.81 kB / 462.5 MB, free: 12.29 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001988/0.7729, allocations: 0.5502 MB / 463 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.7729, allocations: 4 kB / 463 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.7729, allocations: 0 / 463 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.7729, allocations: 0 / 463 MB, free: 11.73 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002665/0.7756, allocations: 1.161 MB / 464.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.7756, allocations: 0 / 464.2 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001209/0.7769, allocations: 171.8 kB / 464.4 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.841e-05/0.7769, allocations: 4 kB / 464.4 MB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.841e-05/0.7769, allocations: 23.92 kB / 464.4 MB, free: 10.29 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/0.779, allocations: 2.966 MB / 467.4 MB, free: 7.207 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.779, allocations: 4 kB / 467.4 MB, free: 7.203 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001054/0.7801, allocations: 0.5466 MB / 467.9 MB, free: 6.566 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001048/0.7802, allocations: 108.7 kB / 468 MB, free: 6.441 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.09e-05/0.7803, allocations: 11.95 kB / 468 MB, free: 6.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003402/0.7806, allocations: 19.98 kB / 468 MB, free: 6.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.7807, allocations: 35.95 kB / 468.1 MB, free: 6.375 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.191e-05/0.7808, allocations: 20 kB / 468.1 MB, free: 6.355 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001568/0.781, allocations: 127.2 kB / 468.2 MB, free: 6.23 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.781, allocations: 0 / 468.2 MB, free: 6.23 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001538/0.7825, allocations: 382.6 kB / 468.6 MB, free: 5.855 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002851/0.7854, allocations: 1.96 MB / 470.6 MB, free: 3.816 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001611/0.7871, allocations: 421 kB / 471 MB, free: 3.406 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.7871, allocations: 4 kB / 471 MB, free: 3.402 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009232/0.788, allocations: 219.7 kB / 471.2 MB, free: 3.188 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.7884, allocations: 20.12 kB / 471.2 MB, free: 3.164 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003324/0.7917, allocations: 1.136 MB / 472.3 MB, free: 1.961 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008129/0.7926, allocations: 0.9992 MB / 473.3 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004519/0.7931, allocations: 207.4 kB / 473.5 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of SimCode: time 9.92e-07/0.7931, allocations: 0 / 473.5 MB, free: 0.7344 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.112/3.905, allocations: 24.11 MB / 497.7 MB, free: 8.586 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Channel.dp_internalFlowOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat