Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.397/2.397, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.792e-05/4.801e-05, allocations: 4 kB / 305 MB, free: 5.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.397/0.3971, allocations: 54.86 MB / 359.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1602/0.5573, allocations: 84.35 MB / 444.2 MB, free: 12.63 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000386/0.5578, allocations: 95.94 kB / 444.3 MB, free: 12.54 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5587:11-5590:61:writable] Error: Type mismatch in binding rho = rho, 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:5598:11-5601:59:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.0305/0.5883, allocations: 5.97 MB / 450.3 MB, free: 6.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5884, allocations: 0 / 450.3 MB, free: 6.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.482e-05/0.5884, allocations: 8 kB / 450.3 MB, free: 6.562 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007898/0.5892, allocations: 445.9 kB / 450.7 MB, free: 6.082 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.5893, allocations: 12.03 kB / 450.8 MB, free: 6.07 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.096e-05/0.5894, allocations: 50.53 kB / 450.8 MB, free: 6.012 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007937/0.5902, allocations: 71.73 kB / 450.9 MB, free: 5.941 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003714/0.5906, allocations: 219.5 kB / 451.1 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.765e-05/0.5906, allocations: 15.98 kB / 451.1 MB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.585e-05/0.5907, allocations: 15.98 kB / 451.1 MB, free: 5.656 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006918/0.5914, allocations: 257.4 kB / 451.4 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.336e-05/0.5914, allocations: 0 / 451.4 MB, free: 5.398 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.133e-05/0.5915, allocations: 13.53 kB / 451.4 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.682e-05/0.5915, allocations: 12 kB / 451.4 MB, free: 5.375 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006489/0.5922, allocations: 239.8 kB / 451.6 MB, free: 5.141 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002094/0.5943, allocations: 0.7961 MB / 452.4 MB, free: 4.254 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.5948, allocations: 162.4 kB / 452.6 MB, free: 4.086 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.595, allocations: 60.84 kB / 452.6 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.464e-05/0.5951, allocations: 0 / 452.6 MB, free: 4.023 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.467e-05/0.5951, allocations: 38.78 kB / 452.7 MB, free: 3.977 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 2.013e-06/0.5951, allocations: 0 / 452.7 MB, free: 3.977 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006186/0.5958, allocations: 162.3 kB / 452.8 MB, free: 3.812 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.5958, allocations: 51.41 kB / 452.9 MB, free: 3.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002745/0.5961, allocations: 174.4 kB / 453.1 MB, free: 3.57 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.5962, allocations: 33.7 kB / 453.1 MB, free: 3.531 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.5963, allocations: 198 kB / 453.3 MB, free: 3.336 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.019e-05/0.5964, allocations: 39.48 kB / 453.3 MB, free: 3.297 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.257e-05/0.5964, allocations: 7.938 kB / 453.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5966, allocations: 319.3 kB / 453.6 MB, free: 2.969 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001844/0.5968, allocations: 55.95 kB / 453.7 MB, free: 2.914 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002314/0.597, allocations: 106.8 kB / 453.8 MB, free: 2.785 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002518/0.5973, allocations: 73.33 kB / 453.9 MB, free: 2.715 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.5973, allocations: 0 / 453.9 MB, free: 2.715 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006525/0.598, allocations: 213.2 kB / 454.1 MB, free: 2.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.598, allocations: 13.39 kB / 454.1 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.598, allocations: 192 / 454.1 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.5981, allocations: 4 kB / 454.1 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008058/0.5989, allocations: 79.8 kB / 454.2 MB, free: 2.406 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.6003, allocations: 1.789 MB / 456 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003962/0.6007, allocations: 20.12 kB / 456 MB, free: 0.5273 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.396e-05/0.6008, allocations: 19.98 kB / 456 MB, free: 0.5078 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001453/0.6009, allocations: 112.9 kB / 456.1 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.383e-05/0.601, allocations: 23.69 kB / 456.1 MB, free: 376 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.6021, allocations: 254.8 kB / 456.4 MB, free: 116 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.6022, allocations: 0 / 456.4 MB, free: 116 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6022, allocations: 0 / 456.4 MB, free: 116 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.6022, allocations: 4 kB / 456.4 MB, free: 112 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004564/0.6027, allocations: 246 kB / 456.6 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.6027, allocations: 4 kB / 456.6 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005962/0.6033, allocations: 55.95 kB / 456.7 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.6033, allocations: 0 / 456.7 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.317e-05/0.6033, allocations: 4 kB / 456.7 MB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/0.6047, allocations: 1.781 MB / 458.5 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.6047, allocations: 0 / 458.5 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.6052, allocations: 235.3 kB / 458.7 MB, free: 13.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.6054, allocations: 96.84 kB / 458.8 MB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.503e-05/0.6054, allocations: 8.188 kB / 458.8 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.6057, allocations: 11.98 kB / 458.8 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/0.6058, allocations: 7.984 kB / 458.8 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.172e-05/0.6058, allocations: 8 kB / 458.8 MB, free: 13.51 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002235/0.6061, allocations: 147.2 kB / 459 MB, free: 13.37 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6061, allocations: 0 / 459 MB, free: 13.37 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005633/0.6066, allocations: 63.83 kB / 459 MB, free: 13.3 MB / 394.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 (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001125/0.6078, allocations: 0.8155 MB / 459.9 MB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008505/0.6087, allocations: 156.2 kB / 460 MB, free: 12.31 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.6087, allocations: 4 kB / 460 MB, free: 12.31 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004453/0.6092, allocations: 75.89 kB / 460.1 MB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002945/0.6095, allocations: 4.188 kB / 460.1 MB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.6108, allocations: 344.7 kB / 460.4 MB, free: 11.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004415/0.6112, allocations: 0.7553 MB / 461.2 MB, free: 11.07 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002027/0.6115, allocations: 63.33 kB / 461.2 MB, free: 11.01 MB / 394.7 MB Notification: Performance of SimCode: time 1.001e-06/0.6115, allocations: 0 / 461.2 MB, free: 11.01 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.999/3.61, allocations: 5.742 MB / 467 MB, free: 5.293 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat