Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.548/2.548, allocations: 235.2 MB / 242.3 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.845e-05/2.847e-05, allocations: 3.984 kB / 299.6 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4285/0.4285, allocations: 54.86 MB / 354.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1685/0.5971, allocations: 87.11 MB / 441.6 MB, free: 11.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003931/0.5975, allocations: 99.94 kB / 441.7 MB, free: 10.96 MB / 378.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5367:11-5379:61:writable] Error: Type mismatch in binding A_cross = A_cross, 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:5381:11-5382: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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:5385:11-5397:67:writable] Error: Type mismatch in binding A_cross = A_cross, 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:5399:11-5400: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.04439/0.6419, allocations: 8.758 MB / 450.4 MB, free: 2.078 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.642, allocations: 4 kB / 450.4 MB, free: 2.074 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.642, allocations: 7.938 kB / 450.4 MB, free: 2.066 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009303/0.643, allocations: 0.5257 MB / 451 MB, free: 1.492 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/0.643, allocations: 8.031 kB / 451 MB, free: 1.484 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.648e-05/0.6431, allocations: 35.58 kB / 451 MB, free: 1.449 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.6436, allocations: 234.6 kB / 451.2 MB, free: 1.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.083e-05/0.6436, allocations: 12 kB / 451.3 MB, free: 1.168 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.544e-05/0.6437, allocations: 23.94 kB / 451.3 MB, free: 1.145 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009665/0.6447, allocations: 385.3 kB / 451.7 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009794/0.6457, allocations: 413.3 kB / 452.1 MB, free: 360 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/0.6457, allocations: 0 / 452.1 MB, free: 360 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.448e-05/0.6458, allocations: 3.953 kB / 452.1 MB, free: 356 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.659e-05/0.6459, allocations: 24.77 kB / 452.1 MB, free: 332 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002568/0.6484, allocations: 1.126 MB / 453.2 MB, free: 15.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.6486, allocations: 58.55 kB / 453.3 MB, free: 15.05 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.594e-05/0.6487, allocations: 32.78 kB / 453.3 MB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.213e-05/0.6488, allocations: 4 kB / 453.3 MB, free: 15.01 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.087e-05/0.6488, allocations: 30.56 kB / 453.3 MB, free: 14.97 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.645e-06/0.6489, allocations: 4 kB / 453.3 MB, free: 14.96 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003661/0.6492, allocations: 89.58 kB / 453.4 MB, free: 14.87 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/0.6493, allocations: 51.41 kB / 453.5 MB, free: 14.81 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.6495, allocations: 152.6 kB / 453.6 MB, free: 14.65 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.276e-05/0.6495, allocations: 25.7 kB / 453.7 MB, free: 14.62 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.6497, allocations: 223.5 kB / 453.9 MB, free: 14.39 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.6498, allocations: 23.64 kB / 453.9 MB, free: 14.37 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/0.6498, allocations: 0 / 453.9 MB, free: 14.37 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.65, allocations: 330.8 kB / 454.2 MB, free: 14.04 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000112/0.6501, allocations: 31.98 kB / 454.2 MB, free: 14.01 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002217/0.6503, allocations: 152.3 kB / 454.4 MB, free: 13.8 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.6506, allocations: 60.23 kB / 454.5 MB, free: 13.74 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.187e-06/0.6506, allocations: 4 kB / 454.5 MB, free: 13.74 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005655/0.6512, allocations: 197.4 kB / 454.7 MB, free: 13.54 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.6512, allocations: 4 kB / 454.7 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.6512, allocations: 4 kB / 454.7 MB, free: 13.53 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.6513, allocations: 8 kB / 454.7 MB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007262/0.652, allocations: 83.88 kB / 454.8 MB, free: 13.44 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.6534, allocations: 1.794 MB / 456.5 MB, free: 11.58 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002883/0.6537, allocations: 32.02 kB / 456.6 MB, free: 11.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.345e-05/0.6538, allocations: 19.98 kB / 456.6 MB, free: 11.53 MB / 394.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.0001549/0.6539, allocations: 116.9 kB / 456.7 MB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002728/0.6542, allocations: 85.58 kB / 456.8 MB, free: 11.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.202e-05/0.6543, allocations: 19.8 kB / 456.8 MB, free: 11.3 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007757/0.6551, allocations: 169.9 kB / 457 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.6551, allocations: 11.89 kB / 457 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.6551, allocations: 0 / 457 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.6551, allocations: 0 / 457 MB, free: 11.11 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000516/0.6557, allocations: 226.1 kB / 457.2 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.6557, allocations: 0 / 457.2 MB, free: 10.86 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005161/0.6562, allocations: 71.95 kB / 457.3 MB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.6562, allocations: 3.984 kB / 457.3 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.324e-05/0.6563, allocations: 4 kB / 457.3 MB, free: 10.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.6576, allocations: 1.778 MB / 459.1 MB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.6576, allocations: 0 / 459.1 MB, free: 8.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003167/0.6579, allocations: 187.7 kB / 459.2 MB, free: 8.73 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.931e-05/0.658, allocations: 84.95 kB / 459.3 MB, free: 8.629 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.763e-05/0.6581, allocations: 3.984 kB / 459.3 MB, free: 8.625 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001963/0.6583, allocations: 16.12 kB / 459.4 MB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.217e-05/0.6584, allocations: 11.98 kB / 459.4 MB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-05/0.6584, allocations: 4 kB / 459.4 MB, free: 8.594 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001256/0.6585, allocations: 111.2 kB / 459.5 MB, free: 8.484 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.6585, allocations: 0 / 459.5 MB, free: 8.484 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007753/0.6593, allocations: 95.52 kB / 459.6 MB, free: 8.391 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 (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.0009862/0.6603, allocations: 0.7997 MB / 460.4 MB, free: 7.566 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007052/0.661, allocations: 135.8 kB / 460.5 MB, free: 7.434 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.6611, allocations: 0 / 460.5 MB, free: 7.434 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004341/0.6615, allocations: 63.89 kB / 460.6 MB, free: 7.371 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002679/0.6618, allocations: 9.125 kB / 460.6 MB, free: 7.363 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.6634, allocations: 399.6 kB / 461 MB, free: 6.941 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005577/0.664, allocations: 0.8021 MB / 461.8 MB, free: 6.113 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0004163/0.6645, allocations: 64.97 kB / 461.8 MB, free: 6.051 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.6646, allocations: 75.41 kB / 461.9 MB, free: 5.977 MB / 394.7 MB Notification: Performance of SimCode: time 1.333e-06/0.6647, allocations: 0 / 461.9 MB, free: 5.977 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05069/0.7154, allocations: 4.402 MB / 466.3 MB, free: 1.609 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000345/0.7158, allocations: 219.5 kB / 466.5 MB, free: 1.32 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.627/3.342, allocations: 0 / 466.5 MB, free: 1.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_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat