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.036/2.036, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.531e-05/2.544e-05, allocations: 4 kB / 267.6 MB, free: 5.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1106, allocations: 48.71 MB / 316.3 MB, free: 4.488 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4615/0.5721, allocations: 80.93 MB / 397.3 MB, free: 11.34 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003634/0.5726, allocations: 97.3 kB / 397.4 MB, free: 11.28 MB / 330.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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/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.03883/0.6114, allocations: 8.764 MB / 406.1 MB, free: 3.855 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.6115, allocations: 0 / 406.1 MB, free: 3.855 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.6115, allocations: 4 kB / 406.1 MB, free: 3.852 MB / 330.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.0008856/0.6124, allocations: 0.5165 MB / 406.6 MB, free: 3.309 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.835e-05/0.6125, allocations: 16.03 kB / 406.7 MB, free: 3.293 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.001e-05/0.6126, allocations: 31.62 kB / 406.7 MB, free: 3.262 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004208/0.613, allocations: 239.2 kB / 406.9 MB, free: 2.996 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.613, allocations: 8 kB / 406.9 MB, free: 2.988 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.968e-05/0.6131, allocations: 20 kB / 407 MB, free: 2.969 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008118/0.6139, allocations: 384.9 kB / 407.3 MB, free: 2.711 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008384/0.6148, allocations: 405.6 kB / 407.7 MB, free: 2.398 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.586e-05/0.6148, allocations: 0 / 407.7 MB, free: 2.398 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.121e-05/0.6148, allocations: 0 / 407.7 MB, free: 2.398 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.815e-05/0.6149, allocations: 32.52 kB / 407.8 MB, free: 2.371 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002132/0.6171, allocations: 1.132 MB / 408.9 MB, free: 1.281 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001616/0.6173, allocations: 70.86 kB / 409 MB, free: 1.211 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.73e-05/0.6173, allocations: 27.97 kB / 409 MB, free: 1.184 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.72e-05/0.6174, allocations: 4.141 kB / 409 MB, free: 1.18 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/0.6174, allocations: 34.53 kB / 409 MB, free: 1.141 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.074e-06/0.6174, allocations: 0 / 409 MB, free: 1.141 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003165/0.6178, allocations: 92.06 kB / 409.1 MB, free: 1.051 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.931e-05/0.6178, allocations: 51.41 kB / 409.2 MB, free: 0.9883 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001805/0.618, allocations: 157.6 kB / 409.3 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.6181, allocations: 29.64 kB / 409.3 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001848/0.6182, allocations: 287.5 kB / 409.6 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.592e-05/0.6183, allocations: 27.08 kB / 409.7 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.253e-05/0.6183, allocations: 0 / 409.7 MB, free: 0.5156 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.6185, allocations: 318.6 kB / 410 MB, free: 204 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.999e-05/0.6186, allocations: 30.98 kB / 410 MB, free: 180 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/0.6188, allocations: 154.1 kB / 410.1 MB, free: 15.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.619, allocations: 78.34 kB / 410.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.619, allocations: 0 / 410.2 MB, free: 15.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004661/0.6195, allocations: 198.3 kB / 410.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.6195, allocations: 4 kB / 410.4 MB, free: 15.73 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.611e-05/0.6195, allocations: 8 kB / 410.4 MB, free: 15.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.6196, allocations: 7.938 kB / 410.4 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006237/0.6202, allocations: 87.88 kB / 410.5 MB, free: 15.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001294/0.6215, allocations: 1.784 MB / 412.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002418/0.6218, allocations: 19.84 kB / 412.3 MB, free: 13.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.551e-05/0.6218, allocations: 16 kB / 412.3 MB, free: 13.75 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.0001576/0.622, allocations: 134.8 kB / 412.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002389/0.6222, allocations: 86.83 kB / 412.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.91e-05/0.6223, allocations: 15.81 kB / 412.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006608/0.623, allocations: 170.2 kB / 412.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.623, allocations: 0 / 412.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.623, allocations: 0 / 412.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.623, allocations: 0 / 412.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000384/0.6234, allocations: 232.5 kB / 413 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.6234, allocations: 0 / 413 MB, free: 13.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.6239, allocations: 63.06 kB / 413 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.6239, allocations: 0 / 413 MB, free: 13.06 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.6239, allocations: 11.94 kB / 413 MB, free: 13.05 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.6252, allocations: 1.775 MB / 414.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.6252, allocations: 3.938 kB / 414.8 MB, free: 11.21 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.6255, allocations: 199.8 kB / 415 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.6256, allocations: 84.95 kB / 415.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.887e-05/0.6256, allocations: 4 kB / 415.1 MB, free: 10.91 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001634/0.6258, allocations: 7.984 kB / 415.1 MB, free: 10.9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.06e-05/0.6259, allocations: 7.984 kB / 415.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.8e-05/0.6259, allocations: 8.062 kB / 415.1 MB, free: 10.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001095/0.626, allocations: 109.5 kB / 415.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6261, allocations: 0 / 415.2 MB, free: 10.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0006795/0.6267, allocations: 102.9 kB / 415.3 MB, free: 10.69 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.0009173/0.6277, allocations: 0.8047 MB / 416.1 MB, free: 9.871 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000605/0.6283, allocations: 131.2 kB / 416.3 MB, free: 9.758 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.6283, allocations: 4 kB / 416.3 MB, free: 9.754 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003694/0.6287, allocations: 62.84 kB / 416.3 MB, free: 9.699 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002376/0.6289, allocations: 7.984 kB / 416.3 MB, free: 9.691 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.6301, allocations: 410 kB / 416.7 MB, free: 9.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005324/0.6307, allocations: 0.8004 MB / 417.5 MB, free: 8.453 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.6309, allocations: 78.47 kB / 417.6 MB, free: 8.426 MB / 346.7 MB Notification: Performance of SimCode: time 1.132e-06/0.6309, allocations: 0 / 417.6 MB, free: 8.426 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.698/3.329, allocations: 8.145 MB / 425.8 MB, free: 300 kB / 346.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