Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) 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.563/2.563, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.585e-05/5.581e-05, allocations: 8 kB / 309.8 MB, free: 1.223 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.475/0.4751, allocations: 54.86 MB / 364.6 MB, free: 5.438 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1847/0.6599, allocations: 87.78 MB / 452.4 MB, free: 8.594 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003613/0.6603, allocations: 96.78 kB / 452.5 MB, free: 8.5 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.03912/0.6995, allocations: 8.892 MB / 461.4 MB, free: 15.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.499e-06/0.6995, allocations: 0 / 461.4 MB, free: 15.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.6995, allocations: 7.938 kB / 461.4 MB, free: 15.52 MB / 394.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.0008638/0.7004, allocations: 0.5295 MB / 462 MB, free: 14.94 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.7005, allocations: 12.03 kB / 462 MB, free: 14.93 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.7006, allocations: 70.53 kB / 462 MB, free: 14.85 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.094e-05/0.7007, allocations: 36.47 kB / 462.1 MB, free: 14.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003559/0.7011, allocations: 230.7 kB / 462.3 MB, free: 14.55 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.219e-05/0.7011, allocations: 32.77 kB / 462.3 MB, free: 14.52 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.417e-05/0.7012, allocations: 28 kB / 462.4 MB, free: 14.49 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009938/0.7022, allocations: 462.8 kB / 462.8 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.7022, allocations: 0 / 462.8 MB, free: 14.02 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.046e-05/0.7023, allocations: 19.95 kB / 462.8 MB, free: 14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.612e-05/0.7024, allocations: 24.77 kB / 462.9 MB, free: 13.98 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008731/0.7032, allocations: 394.9 kB / 463.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002331/0.7056, allocations: 1.209 MB / 464.4 MB, free: 12.29 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.7058, allocations: 62.5 kB / 464.5 MB, free: 12.22 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.828e-05/0.7059, allocations: 32.84 kB / 464.5 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.706, allocations: 0 / 464.5 MB, free: 12.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.515e-05/0.706, allocations: 38.56 kB / 464.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.714e-06/0.706, allocations: 0 / 464.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003559/0.7064, allocations: 101.6 kB / 464.7 MB, free: 12.03 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.7065, allocations: 59.41 kB / 464.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000198/0.7067, allocations: 153.2 kB / 464.9 MB, free: 11.8 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.7067, allocations: 29.7 kB / 464.9 MB, free: 11.76 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.7069, allocations: 285.7 kB / 465.2 MB, free: 11.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.199e-05/0.707, allocations: 27.64 kB / 465.2 MB, free: 11.45 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.587e-05/0.707, allocations: 4 kB / 465.2 MB, free: 11.45 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.7071, allocations: 326.8 kB / 465.5 MB, free: 11.12 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001205/0.7073, allocations: 35.98 kB / 465.6 MB, free: 11.08 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002184/0.7075, allocations: 164.2 kB / 465.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000178/0.7077, allocations: 67.89 kB / 465.8 MB, free: 10.8 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.7077, allocations: 4 kB / 465.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005576/0.7083, allocations: 221.1 kB / 466 MB, free: 10.57 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.7083, allocations: 8.562 kB / 466 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.7083, allocations: 4 kB / 466 MB, free: 10.56 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.194e-05/0.7084, allocations: 11.95 kB / 466 MB, free: 10.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006382/0.709, allocations: 87.88 kB / 466.1 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.7105, allocations: 1.782 MB / 467.9 MB, free: 8.609 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002495/0.7107, allocations: 27.83 kB / 467.9 MB, free: 8.582 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.787e-05/0.7108, allocations: 16 kB / 468 MB, free: 8.566 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.0001661/0.711, allocations: 120.9 kB / 468.1 MB, free: 8.441 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.101e-05/0.711, allocations: 7.906 kB / 468.1 MB, free: 8.434 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006974/0.7117, allocations: 178 kB / 468.3 MB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.7118, allocations: 7.938 kB / 468.3 MB, free: 8.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.7118, allocations: 4 kB / 468.3 MB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.7118, allocations: 0 / 468.3 MB, free: 8.246 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.7123, allocations: 289.5 kB / 468.6 MB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.7123, allocations: 0 / 468.6 MB, free: 7.914 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004394/0.7128, allocations: 67.89 kB / 468.6 MB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.7128, allocations: 0 / 468.6 MB, free: 7.848 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.823e-05/0.7128, allocations: 4 kB / 468.6 MB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.7139, allocations: 1.774 MB / 470.4 MB, free: 6 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.714, allocations: 7.984 kB / 470.4 MB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003133/0.7143, allocations: 191.7 kB / 470.6 MB, free: 5.789 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.271e-05/0.7144, allocations: 92.94 kB / 470.7 MB, free: 5.68 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.291e-05/0.7144, allocations: 4 kB / 470.7 MB, free: 5.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.7146, allocations: 7.938 kB / 470.7 MB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.502e-05/0.7147, allocations: 23.81 kB / 470.7 MB, free: 5.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.229e-05/0.7147, allocations: 8 kB / 470.7 MB, free: 5.637 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001254/0.7148, allocations: 111.2 kB / 470.8 MB, free: 5.527 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7149, allocations: 0 / 470.8 MB, free: 5.527 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006889/0.7156, allocations: 107.5 kB / 470.9 MB, free: 5.422 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.001031/0.7166, allocations: 0.7977 MB / 471.7 MB, free: 4.598 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000708/0.7173, allocations: 144.9 kB / 471.9 MB, free: 4.457 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.7174, allocations: 0 / 471.9 MB, free: 4.457 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003768/0.7178, allocations: 75.89 kB / 472 MB, free: 4.383 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.718, allocations: 4 kB / 472 MB, free: 4.379 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001259/0.7193, allocations: 434.1 kB / 472.4 MB, free: 3.914 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/0.7198, allocations: 0.7985 MB / 473.2 MB, free: 3.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.7199, allocations: 79.41 kB / 473.3 MB, free: 3.012 MB / 394.7 MB Notification: Performance of SimCode: time 1.483e-06/0.72, allocations: 0 / 473.3 MB, free: 3.012 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.847/3.567, allocations: 8.156 MB / 481.4 MB, free: 10.85 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