Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.617/2.617, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.287e-05/3.307e-05, allocations: 4 kB / 305 MB, free: 5.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4336/0.4337, allocations: 54.85 MB / 359.9 MB, free: 2.711 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.183/0.6167, allocations: 96.43 MB / 456.3 MB, free: 0.5195 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003784/0.6172, allocations: 91.94 kB / 456.4 MB, free: 440 kB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.123/0.7402, allocations: 22.54 MB / 478.9 MB, free: 9.785 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.7402, allocations: 0 / 478.9 MB, free: 9.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.825e-05/0.7402, allocations: 8 kB / 478.9 MB, free: 9.777 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.001495/0.7418, allocations: 0.6073 MB / 479.6 MB, free: 9.121 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.513e-05/0.7418, allocations: 19.91 kB / 479.6 MB, free: 9.102 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001374/0.742, allocations: 82.53 kB / 479.7 MB, free: 9.012 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.749e-05/0.7421, allocations: 31.62 kB / 479.7 MB, free: 8.98 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004892/0.7426, allocations: 268 kB / 479.9 MB, free: 8.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.7426, allocations: 28.78 kB / 480 MB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.983e-05/0.7427, allocations: 31.95 kB / 480 MB, free: 8.621 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.7439, allocations: 479.2 kB / 480.5 MB, free: 8.145 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.7439, allocations: 4 kB / 480.5 MB, free: 8.141 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.381e-05/0.744, allocations: 12 kB / 480.5 MB, free: 8.129 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.506e-05/0.7441, allocations: 40.97 kB / 480.5 MB, free: 8.086 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.7452, allocations: 498.8 kB / 481 MB, free: 7.602 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003185/0.7484, allocations: 1.337 MB / 482.4 MB, free: 6.152 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001228/0.7497, allocations: 350.5 kB / 482.7 MB, free: 5.797 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004213/0.7502, allocations: 112.8 kB / 482.8 MB, free: 5.684 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.045e-05/0.7502, allocations: 7.984 kB / 482.8 MB, free: 5.676 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.128e-05/0.7503, allocations: 38.59 kB / 482.9 MB, free: 5.629 MB / 410.7 MB Notification: Performance of pre-optimization done (n=26): time 3.948e-06/0.7503, allocations: 0 / 482.9 MB, free: 5.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.001199/0.7515, allocations: 281.6 kB / 483.1 MB, free: 5.348 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.7516, allocations: 59.41 kB / 483.2 MB, free: 5.277 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006379/0.7523, allocations: 282.8 kB / 483.5 MB, free: 4.992 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.7523, allocations: 35.09 kB / 483.5 MB, free: 4.953 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/0.7526, allocations: 242.4 kB / 483.7 MB, free: 4.715 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001506/0.7527, allocations: 98.58 kB / 483.8 MB, free: 4.617 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.801e-05/0.7528, allocations: 4 kB / 483.8 MB, free: 4.613 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001852/0.753, allocations: 326.8 kB / 484.2 MB, free: 4.285 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004404/0.7534, allocations: 103.9 kB / 484.3 MB, free: 4.184 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005213/0.754, allocations: 143.3 kB / 484.4 MB, free: 4.031 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005153/0.7545, allocations: 129.3 kB / 484.5 MB, free: 3.906 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/0.7545, allocations: 0 / 484.5 MB, free: 3.906 MB / 410.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001278/0.7558, allocations: 335.6 kB / 484.8 MB, free: 3.574 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.731e-05/0.7559, allocations: 5.719 kB / 484.9 MB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.7559, allocations: 0 / 484.9 MB, free: 3.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.703e-05/0.756, allocations: 12.05 kB / 484.9 MB, free: 3.559 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/0.7574, allocations: 119.8 kB / 485 MB, free: 3.441 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/0.7603, allocations: 3.008 MB / 488 MB, free: 324 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006428/0.761, allocations: 47.8 kB / 488 MB, free: 276 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.456e-05/0.7611, allocations: 19.98 kB / 488.1 MB, free: 256 kB / 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 (36): * Single equations (assignments): 31 * 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.0002026/0.7613, allocations: 118.8 kB / 488.2 MB, free: 132 kB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/0.7614, allocations: 23.72 kB / 488.2 MB, free: 108 kB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/0.7636, allocations: 426.8 kB / 488.6 MB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/0.7636, allocations: 4 kB / 488.6 MB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.186e-05/0.7636, allocations: 3.953 kB / 488.6 MB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.446e-06/0.7637, allocations: 0 / 488.6 MB, free: 15.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.7648, allocations: 373.3 kB / 489 MB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.7648, allocations: 3.938 kB / 489 MB, free: 15.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001562/0.7664, allocations: 115.9 kB / 489.1 MB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.624e-05/0.7664, allocations: 4 kB / 489.1 MB, free: 15.14 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.074e-05/0.7665, allocations: 11.98 kB / 489.1 MB, free: 15.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002995/0.7695, allocations: 2.997 MB / 492.1 MB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.763e-06/0.7696, allocations: 8.047 kB / 492.1 MB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001348/0.7709, allocations: 415.3 kB / 492.5 MB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000189/0.7711, allocations: 108.7 kB / 492.6 MB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.7713, allocations: 12 kB / 492.6 MB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005124/0.7718, allocations: 15.98 kB / 492.7 MB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001248/0.7719, allocations: 23.97 kB / 492.7 MB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.786e-05/0.772, allocations: 19.86 kB / 492.7 MB, free: 11.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005064/0.7725, allocations: 231.1 kB / 492.9 MB, free: 11.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.7725, allocations: 0 / 492.9 MB, free: 11.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001476/0.774, allocations: 203.6 kB / 493.1 MB, free: 10.97 MB / 426.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 (31): * Single equations (assignments): 26 * 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.002759/0.7768, allocations: 1.125 MB / 494.3 MB, free: 9.812 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00193/0.7788, allocations: 316.2 kB / 494.6 MB, free: 9.504 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.7788, allocations: 0 / 494.6 MB, free: 9.504 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001288/0.7801, allocations: 191.9 kB / 494.7 MB, free: 9.316 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008857/0.781, allocations: 55.56 kB / 494.8 MB, free: 9.266 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00303/0.7841, allocations: 0.6762 MB / 495.5 MB, free: 8.551 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007908/0.7849, allocations: 0.8379 MB / 496.3 MB, free: 7.684 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004424/0.7853, allocations: 111.4 kB / 496.4 MB, free: 7.574 MB / 426.7 MB Notification: Performance of SimCode: time 1.563e-06/0.7854, allocations: 4 kB / 496.4 MB, free: 7.57 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.037/3.823, allocations: 14.44 MB / 0.4989 GB, free: 9.156 MB / 442.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_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat