Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.526/2.526, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.74e-05/3.757e-05, allocations: 4.938 kB / 305 MB, free: 5.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.473/0.4731, allocations: 54.86 MB / 359.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1962/0.6694, allocations: 92.95 MB / 452.8 MB, free: 4.016 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003578/0.6698, allocations: 104.9 kB / 452.9 MB, free: 3.914 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4809:11-4812: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:4822:11-4825:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.08234/0.7521, allocations: 15.09 MB / 468 MB, free: 4.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7522, allocations: 0 / 468 MB, free: 4.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.7522, allocations: 4 kB / 468 MB, free: 4.766 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001342/0.7536, allocations: 0.5489 MB / 468.6 MB, free: 4.172 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/0.7537, allocations: 11.97 kB / 468.6 MB, free: 4.16 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001154/0.7538, allocations: 66.53 kB / 468.6 MB, free: 4.086 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.7539, allocations: 27.62 kB / 468.7 MB, free: 4.059 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000393/0.7543, allocations: 230.7 kB / 468.9 MB, free: 3.793 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.186e-05/0.7544, allocations: 20.55 kB / 468.9 MB, free: 3.773 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.7544, allocations: 24 kB / 468.9 MB, free: 3.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000834/0.7553, allocations: 348.9 kB / 469.3 MB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.42e-05/0.7553, allocations: 0 / 469.3 MB, free: 3.398 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.7554, allocations: 12 kB / 469.3 MB, free: 3.387 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-05/0.7554, allocations: 32.75 kB / 469.3 MB, free: 3.355 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008581/0.7563, allocations: 353.4 kB / 469.7 MB, free: 3.008 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.7588, allocations: 1.063 MB / 470.7 MB, free: 1.844 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009476/0.7598, allocations: 258.8 kB / 471 MB, free: 1.586 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000236/0.7601, allocations: 81.19 kB / 471.1 MB, free: 1.504 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.455e-05/0.7602, allocations: 8.25 kB / 471.1 MB, free: 1.496 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.7602, allocations: 38.69 kB / 471.1 MB, free: 1.449 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 2.845e-06/0.7602, allocations: 4 kB / 471.1 MB, free: 1.445 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007138/0.7609, allocations: 219.1 kB / 471.3 MB, free: 1.23 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.704e-05/0.761, allocations: 55.41 kB / 471.4 MB, free: 1.164 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/0.7613, allocations: 199.1 kB / 471.6 MB, free: 0.9609 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.46e-05/0.7614, allocations: 29.7 kB / 471.6 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.7615, allocations: 206.9 kB / 471.8 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.2e-05/0.7616, allocations: 74.94 kB / 471.9 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.076e-05/0.7617, allocations: 4 kB / 471.9 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.7619, allocations: 326.8 kB / 472.2 MB, free: 324 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.7621, allocations: 63.97 kB / 472.3 MB, free: 260 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.7624, allocations: 93.52 kB / 472.4 MB, free: 160 kB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003407/0.7627, allocations: 79.92 kB / 472.4 MB, free: 80 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.7627, allocations: 0 / 472.4 MB, free: 80 kB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007143/0.7635, allocations: 219.6 kB / 472.7 MB, free: 15.86 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.7635, allocations: 12.06 kB / 472.7 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.7635, allocations: 3.938 kB / 472.7 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.7636, allocations: 0 / 472.7 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008677/0.7644, allocations: 87.92 kB / 472.8 MB, free: 15.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.7663, allocations: 2.391 MB / 475.1 MB, free: 13.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003593/0.7667, allocations: 35.72 kB / 475.2 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.029e-05/0.7667, allocations: 16.27 kB / 475.2 MB, free: 13.22 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 19 * 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.0001369/0.7669, allocations: 111 kB / 475.3 MB, free: 13.11 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.989e-05/0.767, allocations: 19.81 kB / 475.3 MB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001123/0.7681, allocations: 319 kB / 475.6 MB, free: 12.76 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.908e-06/0.7681, allocations: 11.98 kB / 475.6 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.7681, allocations: 0 / 475.6 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.884e-06/0.7682, allocations: 3.953 kB / 475.7 MB, free: 12.74 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006111/0.7688, allocations: 313.3 kB / 476 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.327e-06/0.7688, allocations: 0 / 476 MB, free: 12.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000848/0.7697, allocations: 91.92 kB / 476 MB, free: 12.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.7697, allocations: 3.938 kB / 476.1 MB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.467e-05/0.7697, allocations: 15.92 kB / 476.1 MB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001739/0.7715, allocations: 2.383 MB / 478.4 MB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7715, allocations: 0 / 478.4 MB, free: 9.801 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007366/0.7723, allocations: 331.8 kB / 478.8 MB, free: 9.461 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.7725, allocations: 140.6 kB / 478.9 MB, free: 9.305 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.467e-05/0.7726, allocations: 3.953 kB / 478.9 MB, free: 9.301 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002964/0.7729, allocations: 15.98 kB / 478.9 MB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.136e-05/0.773, allocations: 24.06 kB / 479 MB, free: 9.262 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.773, allocations: 8 kB / 479 MB, free: 9.254 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002473/0.7733, allocations: 165.5 kB / 479.1 MB, free: 9.094 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7733, allocations: 0 / 479.1 MB, free: 9.094 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0009495/0.7743, allocations: 175.6 kB / 479.3 MB, free: 8.922 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 (25): * Single equations (assignments): 21 * 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.0018/0.7761, allocations: 1.034 MB / 480.3 MB, free: 7.863 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001006/0.7771, allocations: 216.5 kB / 480.5 MB, free: 7.652 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.7771, allocations: 4.125 kB / 480.5 MB, free: 7.648 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006539/0.7778, allocations: 135.8 kB / 480.7 MB, free: 7.516 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005118/0.7784, allocations: 31.94 kB / 480.7 MB, free: 7.484 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.7801, allocations: 0.5498 MB / 481.3 MB, free: 6.898 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005025/0.7806, allocations: 0.7828 MB / 482 MB, free: 6.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002375/0.7809, allocations: 87.95 kB / 482.1 MB, free: 6.004 MB / 410.7 MB Notification: Performance of SimCode: time 1.473e-06/0.7809, allocations: 3.938 kB / 482.1 MB, free: 6 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.965/3.746, allocations: 9.705 MB / 491.8 MB, free: 12.3 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat