Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.42/2.42, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.708e-05/3.74e-05, allocations: 4 kB / 305 MB, free: 5.539 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4301/0.4301, allocations: 54.86 MB / 359.9 MB, free: 2.723 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1632/0.5934, allocations: 87.77 MB / 447.7 MB, free: 9.184 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004134/0.5939, allocations: 96.56 kB / 447.8 MB, free: 9.09 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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.03979/0.6337, allocations: 8.881 MB / 456.6 MB, free: 136 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.041e-05/0.6338, allocations: 0 / 456.6 MB, free: 136 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.671e-05/0.6338, allocations: 11.94 kB / 456.7 MB, free: 124 kB / 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.0008876/0.6347, allocations: 0.5256 MB / 457.2 MB, free: 15.55 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.6348, allocations: 8.031 kB / 457.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001169/0.6349, allocations: 82.52 kB / 457.3 MB, free: 15.45 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.099e-05/0.635, allocations: 32.28 kB / 457.3 MB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003632/0.6354, allocations: 230.7 kB / 457.5 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.6354, allocations: 24.72 kB / 457.5 MB, free: 15.13 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.418e-05/0.6355, allocations: 43.98 kB / 457.6 MB, free: 15.09 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009933/0.6365, allocations: 449.4 kB / 458 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.813e-05/0.6365, allocations: 0 / 458 MB, free: 14.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.891e-05/0.6366, allocations: 19.95 kB / 458 MB, free: 14.62 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.608e-05/0.6367, allocations: 25.8 kB / 458.1 MB, free: 14.59 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000841/0.6375, allocations: 381.4 kB / 458.4 MB, free: 14.22 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.6399, allocations: 1.213 MB / 459.7 MB, free: 12.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001854/0.6402, allocations: 66.55 kB / 459.7 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.738e-05/0.6403, allocations: 28.84 kB / 459.8 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.877e-05/0.6403, allocations: 8 kB / 459.8 MB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.6404, allocations: 34.56 kB / 459.8 MB, free: 12.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.735e-06/0.6404, allocations: 0 / 459.8 MB, free: 12.75 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003387/0.6407, allocations: 93.53 kB / 459.9 MB, free: 12.66 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.6408, allocations: 51.41 kB / 459.9 MB, free: 12.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001996/0.641, allocations: 157.3 kB / 460.1 MB, free: 12.43 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.641, allocations: 27.11 kB / 460.1 MB, free: 12.4 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.6412, allocations: 293.8 kB / 460.4 MB, free: 12.11 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.683e-05/0.6413, allocations: 31.64 kB / 460.4 MB, free: 12.07 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.6413, allocations: 0 / 460.4 MB, free: 12.07 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.6414, allocations: 318.8 kB / 460.7 MB, free: 11.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001153/0.6416, allocations: 35.98 kB / 460.8 MB, free: 11.72 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002297/0.6418, allocations: 161.5 kB / 460.9 MB, free: 11.5 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001757/0.642, allocations: 69.84 kB / 461 MB, free: 11.44 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.642, allocations: 4 kB / 461 MB, free: 11.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005244/0.6426, allocations: 205.8 kB / 461.2 MB, free: 11.23 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/0.6426, allocations: 12 kB / 461.2 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.6426, allocations: 4 kB / 461.2 MB, free: 11.21 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.786e-05/0.6427, allocations: 11.95 kB / 461.2 MB, free: 11.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006156/0.6433, allocations: 83.88 kB / 461.3 MB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001163/0.6445, allocations: 1.778 MB / 463.1 MB, free: 9.27 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002543/0.6447, allocations: 35.77 kB / 463.1 MB, free: 9.234 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.345e-05/0.6448, allocations: 12 kB / 463.1 MB, free: 9.223 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.0001452/0.645, allocations: 126.8 kB / 463.3 MB, free: 9.094 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.997e-05/0.645, allocations: 11.91 kB / 463.3 MB, free: 9.082 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006981/0.6457, allocations: 185.7 kB / 463.5 MB, free: 8.895 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.6457, allocations: 3.953 kB / 463.5 MB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.6458, allocations: 0 / 463.5 MB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6458, allocations: 0 / 463.5 MB, free: 8.891 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005079/0.6463, allocations: 293.5 kB / 463.8 MB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.6463, allocations: 0 / 463.8 MB, free: 8.555 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004491/0.6468, allocations: 63.95 kB / 463.8 MB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.6468, allocations: 0 / 463.8 MB, free: 8.492 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.271e-05/0.6468, allocations: 7.984 kB / 463.8 MB, free: 8.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/0.648, allocations: 1.77 MB / 465.6 MB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.404e-06/0.648, allocations: 8.266 kB / 465.6 MB, free: 6.637 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003163/0.6483, allocations: 192.6 kB / 465.8 MB, free: 6.434 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.6484, allocations: 84.95 kB / 465.9 MB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.667e-05/0.6485, allocations: 7.984 kB / 465.9 MB, free: 6.324 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001622/0.6487, allocations: 7.938 kB / 465.9 MB, free: 6.316 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.733e-05/0.6487, allocations: 23.88 kB / 465.9 MB, free: 6.293 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.825e-05/0.6488, allocations: 4 kB / 465.9 MB, free: 6.289 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001291/0.6489, allocations: 113.7 kB / 466 MB, free: 6.18 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.6489, allocations: 0 / 466 MB, free: 6.18 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007316/0.6497, allocations: 107.5 kB / 466.1 MB, free: 6.074 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.0009565/0.6506, allocations: 0.7942 MB / 466.9 MB, free: 5.254 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006693/0.6513, allocations: 137.2 kB / 467.1 MB, free: 5.121 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.6513, allocations: 4 kB / 467.1 MB, free: 5.117 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003742/0.6517, allocations: 68.11 kB / 467.1 MB, free: 5.051 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002453/0.652, allocations: 8.438 kB / 467.1 MB, free: 5.043 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001271/0.6533, allocations: 432.5 kB / 467.6 MB, free: 4.578 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005422/0.6538, allocations: 0.8024 MB / 468.4 MB, free: 3.75 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.654, allocations: 75.41 kB / 468.4 MB, free: 3.676 MB / 394.7 MB Notification: Performance of SimCode: time 1.193e-06/0.654, allocations: 4 kB / 468.4 MB, free: 3.672 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.197/3.851, allocations: 8.158 MB / 476.6 MB, free: 11.52 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.mat does not exist to compare? outputFormat=mat