Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.538/2.538, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.507e-05/3.523e-05, allocations: 4 kB / 305 MB, free: 5.547 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3967, allocations: 54.86 MB / 359.9 MB, free: 2.719 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.5566, allocations: 83.87 MB / 443.8 MB, free: 13.11 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00036/0.557, allocations: 95.94 kB / 443.8 MB, free: 13.02 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5488:11-5489:129: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:5496:11-5497:123:writable] Error: Type mismatch in binding rho = rho, expected subtype of Real[3], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.02078/0.5778, allocations: 4.207 MB / 448.1 MB, free: 8.844 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.5779, allocations: 4 kB / 448.1 MB, free: 8.84 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.5779, allocations: 3.938 kB / 448.1 MB, free: 8.836 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: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007102/0.5786, allocations: 434.1 kB / 448.5 MB, free: 8.367 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.596e-05/0.5787, allocations: 8.031 kB / 448.5 MB, free: 8.359 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.335e-05/0.5788, allocations: 62.44 kB / 448.6 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.58, allocations: 95.7 kB / 448.6 MB, free: 8.195 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.5803, allocations: 211.8 kB / 448.9 MB, free: 7.949 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.5804, allocations: 12 kB / 448.9 MB, free: 7.938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.5804, allocations: 15.98 kB / 448.9 MB, free: 7.922 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005831/0.581, allocations: 217.3 kB / 449.1 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.232e-05/0.5811, allocations: 0 / 449.1 MB, free: 7.703 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.729e-05/0.5811, allocations: 4 kB / 449.1 MB, free: 7.699 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.473e-05/0.5812, allocations: 22.88 kB / 449.1 MB, free: 7.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005265/0.5817, allocations: 191.9 kB / 449.3 MB, free: 7.492 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001899/0.5836, allocations: 0.7402 MB / 450 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002278/0.5839, allocations: 75.03 kB / 450.1 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001176/0.584, allocations: 32.84 kB / 450.2 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.5841, allocations: 0 / 450.2 MB, free: 6.543 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.5841, allocations: 42.55 kB / 450.2 MB, free: 6.492 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.5841, allocations: 0 / 450.2 MB, free: 6.492 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003958/0.5845, allocations: 101.5 kB / 450.3 MB, free: 6.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.145e-05/0.5846, allocations: 57 kB / 450.3 MB, free: 6.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002529/0.5848, allocations: 174.4 kB / 450.5 MB, free: 6.141 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.514e-05/0.5849, allocations: 25.7 kB / 450.5 MB, free: 6.109 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001322/0.585, allocations: 202 kB / 450.7 MB, free: 5.91 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.983e-05/0.5851, allocations: 31.73 kB / 450.8 MB, free: 5.879 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.5851, allocations: 4 kB / 450.8 MB, free: 5.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.5853, allocations: 322.8 kB / 451.1 MB, free: 5.551 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001221/0.5854, allocations: 35.92 kB / 451.1 MB, free: 5.516 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001782/0.5856, allocations: 82.83 kB / 451.2 MB, free: 5.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001632/0.5858, allocations: 47.97 kB / 451.3 MB, free: 5.363 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.5858, allocations: 3.984 kB / 451.3 MB, free: 5.359 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000438/0.5862, allocations: 141.7 kB / 451.4 MB, free: 5.215 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.5863, allocations: 8 kB / 451.4 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5863, allocations: 4 kB / 451.4 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.5863, allocations: 4 kB / 451.4 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00163/0.588, allocations: 107.8 kB / 451.5 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/0.59, allocations: 1.822 MB / 453.3 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003017/0.5903, allocations: 24.77 kB / 453.4 MB, free: 3.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.743e-05/0.5904, allocations: 8 kB / 453.4 MB, free: 3.172 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 (14): * Single equations (assignments): 11 * 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.000128/0.5905, allocations: 112.9 kB / 453.5 MB, free: 3.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.555e-05/0.5906, allocations: 11.81 kB / 453.5 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005751/0.5911, allocations: 161 kB / 453.7 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.5912, allocations: 0 / 453.7 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.5912, allocations: 0 / 453.7 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.5912, allocations: 3.984 kB / 453.7 MB, free: 2.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.5916, allocations: 233.5 kB / 453.9 MB, free: 2.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5916, allocations: 3.938 kB / 453.9 MB, free: 2.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001387/0.593, allocations: 103.8 kB / 454 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.5931, allocations: 0 / 454 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.5931, allocations: 0 / 454 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/0.5946, allocations: 1.777 MB / 455.8 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.5947, allocations: 0.6875 kB / 455.8 MB, free: 0.6445 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004166/0.5951, allocations: 215.6 kB / 456 MB, free: 428 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.052e-05/0.5952, allocations: 93 kB / 456.1 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.091e-05/0.5953, allocations: 0 / 456.1 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.5955, allocations: 19.92 kB / 456.1 MB, free: 296 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.266e-05/0.5956, allocations: 4 kB / 456.1 MB, free: 292 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.784e-05/0.5956, allocations: 4 kB / 456.1 MB, free: 288 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001829/0.5958, allocations: 139.9 kB / 456.2 MB, free: 148 kB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5959, allocations: 0 / 456.2 MB, free: 148 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004669/0.5963, allocations: 51.84 kB / 456.3 MB, free: 96 kB / 378.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 (11): * Single equations (assignments): 8 * 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.0009059/0.5972, allocations: 0.7851 MB / 457.1 MB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001724/0.599, allocations: 164.2 kB / 457.2 MB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.599, allocations: 0 / 457.2 MB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.6001, allocations: 91.84 kB / 457.3 MB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005127/0.6006, allocations: 39.95 kB / 457.4 MB, free: 15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.6017, allocations: 301 kB / 457.7 MB, free: 14.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004169/0.6021, allocations: 0.7513 MB / 458.4 MB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001282/0.6023, allocations: 47.42 kB / 458.4 MB, free: 13.84 MB / 394.7 MB Notification: Performance of SimCode: time 1.183e-06/0.6023, allocations: 0 / 458.4 MB, free: 13.84 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.245/3.847, allocations: 5.256 MB / 463.7 MB, free: 8.609 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_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat