Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.572/2.572, allocations: 270 MB / 283.6 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.145e-05/4.153e-05, allocations: 4 kB / 348.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3844, allocations: 61.88 MB / 410.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1696/0.5541, allocations: 93.91 MB / 0.4925 GB, free: 12.66 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003608/0.5545, allocations: 99.92 kB / 0.4926 GB, free: 12.56 MB / 426.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5283:11-5295:61:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5297:11-5298:129:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5301:11-5313:67:writable] Error: Type mismatch in binding A_cross = A_cross, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest trunk/Fluid/Dissipation.mo:5315:11-5316:123:writable] Error: Type mismatch in binding zeta_TOT = zeta_TOT, expected subtype of Real[3], got type (type .Modelica.Icons.TypeReal bc:Real). Notification: Performance of FrontEnd - DAE generated: time 0.03951/0.594, allocations: 9.131 MB / 0.5015 GB, free: 3.297 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.5941, allocations: 3.938 kB / 0.5015 GB, free: 3.293 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.5941, allocations: 8 kB / 0.5015 GB, free: 3.285 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0008897/0.595, allocations: 0.514 MB / 0.502 GB, free: 2.727 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.5951, allocations: 8.031 kB / 0.502 GB, free: 2.719 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.5952, allocations: 82.52 kB / 0.5021 GB, free: 2.629 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/0.5953, allocations: 31.62 kB / 0.5021 GB, free: 2.598 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003645/0.5957, allocations: 238.6 kB / 0.5024 GB, free: 2.324 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.33e-05/0.5957, allocations: 28.73 kB / 0.5024 GB, free: 2.297 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.516e-05/0.5958, allocations: 36 kB / 0.5024 GB, free: 2.262 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009793/0.5968, allocations: 453.3 kB / 0.5028 GB, free: 1.805 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.5968, allocations: 7.984 kB / 0.5029 GB, free: 1.797 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.216e-05/0.5969, allocations: 16 kB / 0.5029 GB, free: 1.781 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.569e-05/0.597, allocations: 20.77 kB / 0.5029 GB, free: 1.762 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008509/0.5978, allocations: 393.3 kB / 0.5033 GB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.6002, allocations: 1.207 MB / 0.5044 GB, free: 72 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001788/0.6004, allocations: 62.52 kB / 0.5045 GB, free: 0 / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000109/0.6005, allocations: 32.84 kB / 0.5045 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.411e-05/0.6006, allocations: 4 kB / 0.5045 GB, free: 15.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.6006, allocations: 34.56 kB / 0.5046 GB, free: 15.92 MB / 442.7 MB Notification: Performance of pre-optimization done (n=7): time 1.994e-06/0.6006, allocations: 0 / 0.5046 GB, free: 15.92 MB / 442.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003519/0.601, allocations: 97.64 kB / 0.5047 GB, free: 15.82 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/0.601, allocations: 55.41 kB / 0.5047 GB, free: 15.75 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002003/0.6012, allocations: 149.2 kB / 0.5049 GB, free: 15.6 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.213e-05/0.6013, allocations: 25.7 kB / 0.5049 GB, free: 15.57 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.6015, allocations: 223.2 kB / 0.5051 GB, free: 15.34 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.6015, allocations: 31.64 kB / 0.5051 GB, free: 15.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.705e-05/0.6016, allocations: 4 kB / 0.5051 GB, free: 15.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.6017, allocations: 322.8 kB / 0.5054 GB, free: 14.98 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.6018, allocations: 35.98 kB / 0.5055 GB, free: 14.95 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.6021, allocations: 161 kB / 0.5056 GB, free: 14.73 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.6023, allocations: 71.89 kB / 0.5057 GB, free: 14.66 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.6023, allocations: 4 kB / 0.5057 GB, free: 14.66 MB / 442.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005826/0.6029, allocations: 209.7 kB / 0.5059 GB, free: 14.45 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.6029, allocations: 12 kB / 0.5059 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.6029, allocations: 4 kB / 0.5059 GB, free: 14.43 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/0.603, allocations: 11.94 kB / 0.5059 GB, free: 14.42 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000647/0.6036, allocations: 87.88 kB / 0.506 GB, free: 14.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.605, allocations: 1.778 MB / 0.5077 GB, free: 12.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002657/0.6053, allocations: 27.84 kB / 0.5078 GB, free: 12.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.6054, allocations: 12 kB / 0.5078 GB, free: 12.45 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 22 * 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.0001533/0.6056, allocations: 129 kB / 0.5079 GB, free: 12.31 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.261e-05/0.6056, allocations: 15.86 kB / 0.5079 GB, free: 12.3 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007321/0.6064, allocations: 173.8 kB / 0.5081 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.6064, allocations: 0 / 0.5081 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.6064, allocations: 3.984 kB / 0.5081 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.6064, allocations: 0 / 0.5081 GB, free: 12.12 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005728/0.607, allocations: 289.5 kB / 0.5084 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.607, allocations: 0 / 0.5084 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005817/0.6076, allocations: 71.89 kB / 0.5084 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.795e-06/0.6076, allocations: 0 / 0.5084 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.195e-05/0.6077, allocations: 4 kB / 0.5084 GB, free: 11.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/0.6089, allocations: 1.77 MB / 0.5102 GB, free: 9.871 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6089, allocations: 4.312 kB / 0.5102 GB, free: 9.867 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003317/0.6093, allocations: 195.4 kB / 0.5104 GB, free: 9.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.927e-05/0.6094, allocations: 88.97 kB / 0.5104 GB, free: 9.555 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.567e-05/0.6094, allocations: 0 / 0.5104 GB, free: 9.555 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.6096, allocations: 11.92 kB / 0.5105 GB, free: 9.543 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.365e-05/0.6097, allocations: 8 kB / 0.5105 GB, free: 9.535 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/0.6097, allocations: 7.984 kB / 0.5105 GB, free: 9.527 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0001294/0.6098, allocations: 118.1 kB / 0.5106 GB, free: 9.414 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6099, allocations: 0 / 0.5106 GB, free: 9.414 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007052/0.6106, allocations: 107.5 kB / 0.5107 GB, free: 9.309 MB / 442.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 (7): * Single equations (assignments): 4 * 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.001001/0.6116, allocations: 0.8161 MB / 0.5115 GB, free: 8.473 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000689/0.6123, allocations: 140.9 kB / 0.5116 GB, free: 8.336 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.6123, allocations: 0 / 0.5116 GB, free: 8.336 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003807/0.6127, allocations: 67.95 kB / 0.5117 GB, free: 8.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002332/0.613, allocations: 8 kB / 0.5117 GB, free: 8.262 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001188/0.6142, allocations: 394.1 kB / 0.5121 GB, free: 7.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005071/0.6147, allocations: 0.8063 MB / 0.5129 GB, free: 7.008 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0003346/0.615, allocations: 64.92 kB / 0.5129 GB, free: 6.941 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001472/0.6152, allocations: 75.41 kB / 0.513 GB, free: 6.871 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/0.6152, allocations: 3.938 kB / 0.513 GB, free: 6.867 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03147/0.6467, allocations: 5.31 MB / 0.5182 GB, free: 1.781 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003109/0.6471, allocations: 250 kB / 0.5184 GB, free: 1.441 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/3.146, allocations: 0 / 0.5184 GB, free: 1.441 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat