Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_pressureLossCoefficient_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.601/2.601, allocations: 235.1 MB / 242.3 MB, free: 9.586 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.729e-05/2.742e-05, allocations: 0 / 299.6 MB, free: 176 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.3751, allocations: 54.85 MB / 354.5 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1641/0.5392, allocations: 83.19 MB / 437.7 MB, free: 11.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003955/0.5397, allocations: 95.92 kB / 437.8 MB, free: 11.88 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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.02261/0.5623, allocations: 4.167 MB / 441.9 MB, free: 7.707 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5623, allocations: 0 / 441.9 MB, free: 7.707 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.322e-05/0.5624, allocations: 8 kB / 441.9 MB, free: 7.699 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.0007266/0.5631, allocations: 430.1 kB / 442.3 MB, free: 7.234 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.018e-05/0.5632, allocations: 8.031 kB / 442.4 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001338/0.5645, allocations: 111.6 kB / 442.5 MB, free: 7.117 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.5649, allocations: 210.8 kB / 442.7 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.5649, allocations: 4 kB / 442.7 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.565, allocations: 15.94 kB / 442.7 MB, free: 6.852 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005912/0.5656, allocations: 187.9 kB / 442.9 MB, free: 6.668 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005279/0.5661, allocations: 203.7 kB / 443.1 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.5661, allocations: 0 / 443.1 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.141e-05/0.5662, allocations: 0 / 443.1 MB, free: 6.465 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-05/0.5662, allocations: 15.89 kB / 443.1 MB, free: 6.449 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001773/0.568, allocations: 0.6823 MB / 443.8 MB, free: 5.688 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.5683, allocations: 74.53 kB / 443.8 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001206/0.5684, allocations: 40.78 kB / 443.9 MB, free: 5.562 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.983e-05/0.5684, allocations: 12.06 kB / 443.9 MB, free: 5.551 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.805e-05/0.5685, allocations: 30.56 kB / 443.9 MB, free: 5.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.034e-06/0.5685, allocations: 0 / 443.9 MB, free: 5.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003814/0.5689, allocations: 97.55 kB / 444 MB, free: 5.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.5689, allocations: 51.41 kB / 444.1 MB, free: 5.348 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001445/0.5691, allocations: 121.2 kB / 444.2 MB, free: 5.223 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.5691, allocations: 29.7 kB / 444.2 MB, free: 5.188 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.5693, allocations: 143.8 kB / 444.4 MB, free: 5.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.5693, allocations: 27.64 kB / 444.4 MB, free: 5.016 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.555e-05/0.5693, allocations: 0 / 444.4 MB, free: 5.016 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.5695, allocations: 314.8 kB / 444.7 MB, free: 4.699 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.5696, allocations: 35.97 kB / 444.7 MB, free: 4.664 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001633/0.5698, allocations: 86.78 kB / 444.8 MB, free: 4.555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001495/0.57, allocations: 47.91 kB / 444.9 MB, free: 4.508 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.57, allocations: 4 kB / 444.9 MB, free: 4.504 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004146/0.5704, allocations: 145.4 kB / 445 MB, free: 4.355 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.843e-05/0.5704, allocations: 8 kB / 445 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5705, allocations: 0 / 445 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.061e-05/0.5705, allocations: 4 kB / 445 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001746/0.5722, allocations: 104.3 kB / 445.1 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002092/0.5744, allocations: 1.829 MB / 446.9 MB, free: 2.344 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002847/0.5747, allocations: 19.92 kB / 447 MB, free: 2.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.5747, allocations: 4 kB / 447 MB, free: 2.32 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.0001306/0.5749, allocations: 114.9 kB / 447.1 MB, free: 2.203 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003067/0.5752, allocations: 105.5 kB / 447.2 MB, free: 2.094 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.275e-05/0.5752, allocations: 11.98 kB / 447.2 MB, free: 2.082 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005115/0.5758, allocations: 146.1 kB / 447.3 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.5758, allocations: 0 / 447.3 MB, free: 1.934 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5758, allocations: 4 kB / 447.3 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.5758, allocations: 0 / 447.3 MB, free: 1.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003786/0.5762, allocations: 206 kB / 447.5 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5762, allocations: 0 / 447.5 MB, free: 1.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001546/0.5778, allocations: 92.95 kB / 447.6 MB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.5778, allocations: 0 / 447.6 MB, free: 1.602 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.581e-05/0.5779, allocations: 4 kB / 447.6 MB, free: 1.598 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00162/0.5795, allocations: 1.777 MB / 449.4 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.636e-06/0.5795, allocations: 4.5 kB / 449.4 MB, free: 15.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003803/0.5799, allocations: 207.3 kB / 449.6 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.58, allocations: 85.02 kB / 449.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.036e-05/0.5801, allocations: 0 / 449.7 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002671/0.5803, allocations: 11.98 kB / 449.7 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.946e-05/0.5804, allocations: 7.984 kB / 449.7 MB, free: 15.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-05/0.5805, allocations: 4 kB / 449.7 MB, free: 15.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.5806, allocations: 108 kB / 449.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5806, allocations: 0 / 449.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005384/0.5812, allocations: 47.84 kB / 449.9 MB, free: 15.25 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 (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.0009002/0.5821, allocations: 0.7755 MB / 450.7 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00184/0.5839, allocations: 155.8 kB / 450.8 MB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.584, allocations: 0 / 450.8 MB, free: 14.3 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001159/0.5851, allocations: 92.28 kB / 450.9 MB, free: 14.21 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.5855, allocations: 11.98 kB / 450.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.5866, allocations: 270.2 kB / 451.2 MB, free: 13.89 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004202/0.587, allocations: 0.7431 MB / 451.9 MB, free: 13.12 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002276/0.5873, allocations: 36.45 kB / 452 MB, free: 13.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.5874, allocations: 40.05 kB / 452 MB, free: 13.05 MB / 394.7 MB Notification: Performance of SimCode: time 1.453e-06/0.5874, allocations: 0 / 452 MB, free: 13.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0465/0.634, allocations: 3.46 MB / 455.5 MB, free: 9.605 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003269/0.6343, allocations: 210.3 kB / 455.7 MB, free: 9.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.614/3.249, allocations: 0 / 455.7 MB, free: 9.32 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_pressureLossCoefficient_DPMFLOW_res.mat does not exist to compare? outputFormat=mat