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.Bend.dp_edgedOverall_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.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.405/2.405, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/3.008e-05, allocations: 0 / 309.8 MB, free: 1.215 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4024, allocations: 54.86 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1771/0.5796, allocations: 92.95 MB / 457.6 MB, free: 3.477 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000469/0.5801, allocations: 91.92 kB / 457.7 MB, free: 3.387 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4809:11-4812:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/Fluid/Dissipation.mo:4822:11-4825:59:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[4], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1241/0.7043, allocations: 15.13 MB / 472.8 MB, free: 4.199 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.7043, allocations: 4 kB / 472.8 MB, free: 4.195 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.33e-05/0.7043, allocations: 0 / 472.8 MB, free: 4.195 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001298/0.7056, allocations: 0.5552 MB / 473.4 MB, free: 3.598 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.517e-05/0.7057, allocations: 15.97 kB / 473.4 MB, free: 3.582 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001127/0.7058, allocations: 66.53 kB / 473.5 MB, free: 3.508 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.264e-05/0.7059, allocations: 31.56 kB / 473.5 MB, free: 3.477 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.7063, allocations: 226.7 kB / 473.7 MB, free: 3.215 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.7064, allocations: 20.55 kB / 473.7 MB, free: 3.195 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.081e-05/0.7065, allocations: 20 kB / 473.8 MB, free: 3.176 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008653/0.7073, allocations: 362 kB / 474.1 MB, free: 2.809 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.7074, allocations: 0 / 474.1 MB, free: 2.809 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.7074, allocations: 8 kB / 474.1 MB, free: 2.801 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-05/0.7075, allocations: 36.77 kB / 474.2 MB, free: 2.766 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008491/0.7084, allocations: 354.9 kB / 474.5 MB, free: 2.418 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002533/0.7109, allocations: 1.055 MB / 475.6 MB, free: 1.262 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009199/0.7119, allocations: 258.9 kB / 475.8 MB, free: 1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002491/0.7122, allocations: 85.19 kB / 475.9 MB, free: 0.9141 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.613e-05/0.7122, allocations: 12.19 kB / 475.9 MB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.362e-05/0.7123, allocations: 38.75 kB / 475.9 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 3.005e-06/0.7123, allocations: 0 / 475.9 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007585/0.7131, allocations: 214.8 kB / 476.1 MB, free: 0.6445 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.7132, allocations: 55.41 kB / 476.2 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003789/0.7135, allocations: 199.1 kB / 476.4 MB, free: 384 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.818e-05/0.7136, allocations: 29.7 kB / 476.4 MB, free: 348 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.7138, allocations: 214.9 kB / 476.6 MB, free: 132 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.046e-05/0.7139, allocations: 70.94 kB / 476.7 MB, free: 60 kB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.177e-05/0.7139, allocations: 4 kB / 476.7 MB, free: 56 kB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001463/0.714, allocations: 322.8 kB / 477 MB, free: 15.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002181/0.7143, allocations: 67.95 kB / 477.1 MB, free: 15.66 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002514/0.7145, allocations: 98.45 kB / 477.2 MB, free: 15.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.7148, allocations: 79.92 kB / 477.3 MB, free: 15.48 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.7148, allocations: 0 / 477.3 MB, free: 15.48 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006552/0.7155, allocations: 219.8 kB / 477.5 MB, free: 15.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.191e-05/0.7155, allocations: 4 kB / 477.5 MB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.7155, allocations: 0 / 477.5 MB, free: 15.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.7156, allocations: 4 kB / 477.5 MB, free: 15.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008475/0.7164, allocations: 87.92 kB / 477.6 MB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001649/0.7181, allocations: 2.391 MB / 480 MB, free: 12.68 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003473/0.7185, allocations: 27.72 kB / 480 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.182e-05/0.7186, allocations: 15.98 kB / 480 MB, free: 12.64 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001367/0.7187, allocations: 112.9 kB / 480.1 MB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.821e-05/0.7188, allocations: 15.81 kB / 480.1 MB, free: 12.51 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001151/0.7199, allocations: 331 kB / 480.5 MB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.738e-06/0.72, allocations: 4 kB / 480.5 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.72, allocations: 0 / 480.5 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.72, allocations: 7.938 kB / 480.5 MB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006132/0.7206, allocations: 313.3 kB / 480.8 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.7207, allocations: 0 / 480.8 MB, free: 11.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008977/0.7216, allocations: 99.86 kB / 480.9 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.574e-06/0.7216, allocations: 3.938 kB / 480.9 MB, free: 11.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.277e-05/0.7216, allocations: 7.984 kB / 480.9 MB, free: 11.69 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001564/0.7232, allocations: 2.394 MB / 483.3 MB, free: 9.207 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.7233, allocations: 4.031 kB / 483.3 MB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/0.724, allocations: 327.7 kB / 483.6 MB, free: 8.867 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000212/0.7242, allocations: 144.9 kB / 483.7 MB, free: 8.707 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.694e-05/0.7243, allocations: 3.953 kB / 483.7 MB, free: 8.703 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003014/0.7246, allocations: 15.98 kB / 483.8 MB, free: 8.688 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.929e-05/0.7247, allocations: 15.98 kB / 483.8 MB, free: 8.672 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.055e-05/0.7248, allocations: 11.98 kB / 483.8 MB, free: 8.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002391/0.725, allocations: 165.5 kB / 484 MB, free: 8.5 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.725, allocations: 0 / 484 MB, free: 8.5 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008663/0.7259, allocations: 171.6 kB / 484.1 MB, free: 8.332 MB / 410.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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001765/0.7277, allocations: 1.048 MB / 485.2 MB, free: 7.258 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001005/0.7287, allocations: 219.7 kB / 485.4 MB, free: 7.043 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.7288, allocations: 0 / 485.4 MB, free: 7.043 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006749/0.7295, allocations: 139.8 kB / 485.5 MB, free: 6.906 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004739/0.7299, allocations: 40.05 kB / 485.6 MB, free: 6.867 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.7316, allocations: 0.5339 MB / 486.1 MB, free: 6.297 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.7321, allocations: 0.7867 MB / 486.9 MB, free: 5.484 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002351/0.7323, allocations: 87.39 kB / 487 MB, free: 5.398 MB / 410.7 MB Notification: Performance of SimCode: time 3.777e-06/0.7323, allocations: 0 / 487 MB, free: 5.398 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.02/3.753, allocations: 9.71 MB / 496.7 MB, free: 11.69 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat