Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.008/2.008, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.199e-05, allocations: 0 / 273.1 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1885, allocations: 48.72 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4265/0.6151, allocations: 81.33 MB / 403.2 MB, free: 8.469 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000407/0.6156, allocations: 95.94 kB / 403.3 MB, free: 8.375 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.04043/0.656, allocations: 8.901 MB / 412.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6561, allocations: 0 / 412.2 MB, free: 15.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.6561, allocations: 4 kB / 412.2 MB, free: 15.35 MB / 346.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.0008951/0.657, allocations: 0.5179 MB / 412.7 MB, free: 14.79 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.6571, allocations: 12.03 kB / 412.7 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001248/0.6572, allocations: 74.53 kB / 412.8 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.203e-05/0.6573, allocations: 31.62 kB / 412.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003763/0.6577, allocations: 242.6 kB / 413.1 MB, free: 14.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.181e-05/0.6577, allocations: 32.77 kB / 413.1 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.34e-05/0.6578, allocations: 28 kB / 413.1 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.6588, allocations: 454.9 kB / 413.6 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.6589, allocations: 0 / 413.6 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.632e-05/0.6589, allocations: 16 kB / 413.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.729e-05/0.659, allocations: 24.77 kB / 413.6 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008737/0.6599, allocations: 394.9 kB / 414 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00246/0.6624, allocations: 1.223 MB / 415.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001805/0.6626, allocations: 62.56 kB / 415.3 MB, free: 12.05 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.465e-05/0.6627, allocations: 32.84 kB / 415.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.17e-05/0.6628, allocations: 4 kB / 415.3 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.6628, allocations: 30.56 kB / 415.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 2.535e-06/0.6628, allocations: 0 / 415.3 MB, free: 11.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=7): time 0.000342/0.6632, allocations: 97.66 kB / 415.4 MB, free: 11.88 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.663e-05/0.6633, allocations: 55.39 kB / 415.5 MB, free: 11.81 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/0.6635, allocations: 149.5 kB / 415.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.6635, allocations: 29.7 kB / 415.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001807/0.6637, allocations: 285.7 kB / 415.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.8e-05/0.6638, allocations: 27.64 kB / 416 MB, free: 11.31 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.966e-05/0.6638, allocations: 4 kB / 416 MB, free: 11.3 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6639, allocations: 326.8 kB / 416.3 MB, free: 10.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001193/0.6641, allocations: 39.98 kB / 416.3 MB, free: 10.94 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002152/0.6643, allocations: 152.2 kB / 416.5 MB, free: 10.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.6645, allocations: 75.89 kB / 416.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.6645, allocations: 0 / 416.6 MB, free: 10.66 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005573/0.6651, allocations: 225.3 kB / 416.8 MB, free: 10.43 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.873e-05/0.6651, allocations: 8 kB / 416.8 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.6651, allocations: 4 kB / 416.8 MB, free: 10.42 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.697e-05/0.6652, allocations: 8 kB / 416.8 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006334/0.6658, allocations: 91.88 kB / 416.9 MB, free: 10.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.6671, allocations: 1.782 MB / 418.7 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002911/0.6674, allocations: 32.11 kB / 418.7 MB, free: 8.438 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.6675, allocations: 16 kB / 418.7 MB, free: 8.422 MB / 346.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.0001464/0.6676, allocations: 120.8 kB / 418.8 MB, free: 8.297 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.756e-05/0.6677, allocations: 11.91 kB / 418.8 MB, free: 8.285 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007426/0.6685, allocations: 185.8 kB / 419 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.049e-06/0.6685, allocations: 0 / 419 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.942e-06/0.6685, allocations: 0 / 419 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.6685, allocations: 0 / 419 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005301/0.669, allocations: 293.5 kB / 419.3 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6691, allocations: 0 / 419.3 MB, free: 7.758 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004732/0.6695, allocations: 63.95 kB / 419.4 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.014e-05/0.6696, allocations: 4 kB / 419.4 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.6696, allocations: 8 kB / 419.4 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001176/0.6708, allocations: 1.778 MB / 421.2 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.6708, allocations: 0 / 421.2 MB, free: 5.836 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.6712, allocations: 199.3 kB / 421.4 MB, free: 5.625 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001004/0.6713, allocations: 92.94 kB / 421.4 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.6713, allocations: 0 / 421.4 MB, free: 5.516 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001675/0.6715, allocations: 8 kB / 421.5 MB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.298e-05/0.6716, allocations: 12.08 kB / 421.5 MB, free: 5.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.6716, allocations: 4 kB / 421.5 MB, free: 5.492 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001334/0.6717, allocations: 117.9 kB / 421.6 MB, free: 5.379 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6718, allocations: 0 / 421.6 MB, free: 5.379 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006578/0.6724, allocations: 103.5 kB / 421.7 MB, free: 5.277 MB / 346.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.0009772/0.6734, allocations: 0.797 MB / 422.5 MB, free: 4.457 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007367/0.6742, allocations: 148.5 kB / 422.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.6742, allocations: 0 / 422.6 MB, free: 4.312 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.6746, allocations: 63.95 kB / 422.7 MB, free: 4.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002482/0.6749, allocations: 8 kB / 422.7 MB, free: 4.242 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001301/0.6762, allocations: 435.7 kB / 423.1 MB, free: 3.773 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.6767, allocations: 0.7989 MB / 423.9 MB, free: 2.949 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.6769, allocations: 79.41 kB / 424 MB, free: 2.871 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6769, allocations: 3.938 kB / 424 MB, free: 2.867 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.976/3.653, allocations: 8.157 MB / 432.2 MB, free: 10.71 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat