Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.571/2.571, allocations: 235.2 MB / 242.3 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.66e-05/2.669e-05, allocations: 4 kB / 299.6 MB, free: 172 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3691, allocations: 54.85 MB / 354.5 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1647/0.5339, allocations: 83.68 MB / 438.1 MB, free: 11.41 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003828/0.5343, allocations: 95.94 kB / 438.2 MB, free: 11.31 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/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.03145/0.5658, allocations: 5.919 MB / 444.2 MB, free: 5.363 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.799e-06/0.5659, allocations: 0 / 444.2 MB, free: 5.363 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.08e-05/0.5659, allocations: 7.938 kB / 444.2 MB, free: 5.355 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.0007406/0.5666, allocations: 449.8 kB / 444.6 MB, free: 4.871 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.5667, allocations: 16.03 kB / 444.6 MB, free: 4.855 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008226/0.5675, allocations: 71.69 kB / 444.7 MB, free: 4.785 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.5679, allocations: 214.9 kB / 444.9 MB, free: 4.535 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.5679, allocations: 8 kB / 444.9 MB, free: 4.527 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.184e-05/0.568, allocations: 8 kB / 444.9 MB, free: 4.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006569/0.5687, allocations: 227.8 kB / 445.1 MB, free: 4.297 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000599/0.5693, allocations: 239.8 kB / 445.4 MB, free: 4.059 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.5693, allocations: 7.922 kB / 445.4 MB, free: 4.051 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.774e-05/0.5694, allocations: 3.953 kB / 445.4 MB, free: 4.047 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.044e-05/0.5694, allocations: 19.98 kB / 445.4 MB, free: 4.027 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.5715, allocations: 0.7446 MB / 446.1 MB, free: 3.203 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004708/0.572, allocations: 158.9 kB / 446.3 MB, free: 3.039 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.5722, allocations: 48.86 kB / 446.3 MB, free: 2.988 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.67e-05/0.5722, allocations: 7.984 kB / 446.4 MB, free: 2.98 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.5723, allocations: 34.56 kB / 446.4 MB, free: 2.938 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 3.536e-06/0.5723, allocations: 0 / 446.4 MB, free: 2.938 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005944/0.5729, allocations: 153.7 kB / 446.5 MB, free: 2.781 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.256e-05/0.573, allocations: 59.41 kB / 446.6 MB, free: 2.711 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.5731, allocations: 127.2 kB / 446.7 MB, free: 2.582 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.299e-05/0.5732, allocations: 25.7 kB / 446.7 MB, free: 2.551 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.5733, allocations: 143.7 kB / 446.9 MB, free: 2.406 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.78e-05/0.5734, allocations: 35.55 kB / 446.9 MB, free: 2.371 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.315e-05/0.5734, allocations: 0 / 446.9 MB, free: 2.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.5736, allocations: 318.8 kB / 447.2 MB, free: 2.051 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.5737, allocations: 55.94 kB / 447.3 MB, free: 1.996 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002204/0.574, allocations: 111.4 kB / 447.4 MB, free: 1.863 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002386/0.5742, allocations: 72.73 kB / 447.5 MB, free: 1.793 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5742, allocations: 0 / 447.5 MB, free: 1.793 MB / 378.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0006357/0.5749, allocations: 209.3 kB / 447.7 MB, free: 1.582 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.5749, allocations: 5.25 kB / 447.7 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.5749, allocations: 0 / 447.7 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.575, allocations: 4 kB / 447.7 MB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008404/0.5758, allocations: 76.14 kB / 447.8 MB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001362/0.5772, allocations: 1.793 MB / 449.5 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/0.5776, allocations: 23.92 kB / 449.6 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.334e-05/0.5777, allocations: 15.98 kB / 449.6 MB, free: 15.6 MB / 394.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.0001331/0.5778, allocations: 111 kB / 449.7 MB, free: 15.48 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005137/0.5783, allocations: 165.4 kB / 449.9 MB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.694e-05/0.5784, allocations: 7.906 kB / 449.9 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001125/0.5795, allocations: 242 kB / 450.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.5796, allocations: 3.938 kB / 450.1 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.5796, allocations: 8 kB / 450.1 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.5796, allocations: 0 / 450.1 MB, free: 15.06 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003698/0.58, allocations: 210 kB / 450.3 MB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.58, allocations: 3.984 kB / 450.3 MB, free: 14.81 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006181/0.5806, allocations: 55.95 kB / 450.4 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.5807, allocations: 0 / 450.4 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/0.5807, allocations: 4 kB / 450.4 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.582, allocations: 1.785 MB / 452.2 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.5821, allocations: 0 / 452.2 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004376/0.5825, allocations: 227.7 kB / 452.4 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.635e-05/0.5826, allocations: 92.91 kB / 452.5 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.606e-05/0.5827, allocations: 0 / 452.5 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000274/0.583, allocations: 11.98 kB / 452.5 MB, free: 12.54 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.414e-05/0.5831, allocations: 15.86 kB / 452.5 MB, free: 12.52 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.5831, allocations: 8 kB / 452.5 MB, free: 12.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001219/0.5832, allocations: 107.3 kB / 452.6 MB, free: 12.41 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5832, allocations: 4 kB / 452.6 MB, free: 12.41 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006352/0.5839, allocations: 63.73 kB / 452.7 MB, free: 12.34 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.001064/0.585, allocations: 0.7983 MB / 453.5 MB, free: 11.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008299/0.5858, allocations: 155.7 kB / 453.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.5858, allocations: 0 / 453.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004544/0.5863, allocations: 71.89 kB / 453.7 MB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.5866, allocations: 4 kB / 453.7 MB, free: 11.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.5879, allocations: 299.7 kB / 454 MB, free: 10.96 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000436/0.5883, allocations: 0.7435 MB / 454.7 MB, free: 10.19 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003643/0.5887, allocations: 48.73 kB / 454.8 MB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001988/0.5889, allocations: 55.39 kB / 454.8 MB, free: 10.09 MB / 394.7 MB Notification: Performance of SimCode: time 9.32e-07/0.5889, allocations: 0 / 454.8 MB, free: 10.09 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04857/0.6375, allocations: 4.02 MB / 458.9 MB, free: 6.078 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003379/0.6379, allocations: 203.2 kB / 459.1 MB, free: 5.812 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.729/3.367, allocations: 8 kB / 459.1 MB, free: 5.805 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_volumeFlowRate_DPMFLOW_res.mat does not exist to compare? outputFormat=mat