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.26/2.26, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004278/0.000428, allocations: 12 kB / 314.5 MB, free: 9.445 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3285, allocations: 54.86 MB / 369.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.4877, allocations: 93.04 MB / 462.4 MB, free: 13.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000389/0.4882, allocations: 103.9 kB / 462.5 MB, free: 13.32 MB / 394.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.414/0.9022, allocations: 15.12 MB / 477.6 MB, free: 96.3 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.9022, allocations: 0 / 477.6 MB, free: 96.3 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.468e-05/0.9023, allocations: 2.594 kB / 477.7 MB, free: 96.3 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.0013/0.9036, allocations: 0.5696 MB / 478.2 MB, free: 95.87 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.22e-05/0.9037, allocations: 9.281 kB / 478.2 MB, free: 95.87 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001035/0.9038, allocations: 67.73 kB / 478.3 MB, free: 95.83 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.05e-05/0.9039, allocations: 31.22 kB / 478.3 MB, free: 95.82 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003365/0.9042, allocations: 228.2 kB / 478.5 MB, free: 95.62 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/0.9042, allocations: 18.12 kB / 478.6 MB, free: 95.62 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.802e-05/0.9043, allocations: 19.97 kB / 478.6 MB, free: 95.62 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009492/0.9053, allocations: 371.3 kB / 478.9 MB, free: 95.58 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.9053, allocations: 9.172 kB / 479 MB, free: 95.57 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.055e-05/0.9054, allocations: 9.031 kB / 479 MB, free: 95.57 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.674e-05/0.9054, allocations: 28.06 kB / 479 MB, free: 95.57 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.9065, allocations: 401.8 kB / 479.4 MB, free: 95.57 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002333/0.9089, allocations: 1.062 MB / 480.4 MB, free: 94.99 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.91, allocations: 280.9 kB / 480.7 MB, free: 94.97 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.085e-05/0.9101, allocations: 6.812 kB / 480.7 MB, free: 94.97 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.9101, allocations: 39.28 kB / 480.8 MB, free: 94.93 MB / 394.7 MB Notification: Performance of pre-optimization done (n=21): time 2.405e-06/0.9101, allocations: 0 / 480.8 MB, free: 94.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=21): time 0.001327/0.9115, allocations: 346.7 kB / 481.1 MB, free: 94.89 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.9115, allocations: 53.69 kB / 481.2 MB, free: 94.82 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002821/0.9118, allocations: 202.6 kB / 481.4 MB, free: 94.73 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.9118, allocations: 28.64 kB / 481.4 MB, free: 94.7 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.814e-05/0.9119, allocations: 205.5 kB / 481.6 MB, free: 94.52 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.357e-05/0.912, allocations: 77.19 kB / 481.7 MB, free: 94.47 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.048e-05/0.9121, allocations: 4.906 kB / 481.7 MB, free: 94.47 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.461e-05/0.9121, allocations: 324.7 kB / 482 MB, free: 94.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003149/0.9125, allocations: 80.83 kB / 482.1 MB, free: 94.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/0.9128, allocations: 111.5 kB / 482.2 MB, free: 94.13 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003601/0.9132, allocations: 107.2 kB / 482.3 MB, free: 94.13 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.9132, allocations: 0 / 482.3 MB, free: 94.13 MB / 394.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008452/0.9141, allocations: 259.5 kB / 482.5 MB, free: 94.09 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.9141, allocations: 5.5 kB / 482.5 MB, free: 94.09 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.9141, allocations: 1.375 kB / 482.5 MB, free: 94.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/0.9141, allocations: 1.375 kB / 482.5 MB, free: 94.09 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008231/0.915, allocations: 92.8 kB / 482.6 MB, free: 94.09 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001136/0.9161, allocations: 2.381 MB / 485 MB, free: 91.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003671/0.9166, allocations: 34.23 kB / 485 MB, free: 91.73 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.863e-05/0.9166, allocations: 14.58 kB / 485.1 MB, free: 91.73 MB / 394.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 () * Number of clocked 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.0002399/0.9169, allocations: 163 kB / 485.2 MB, free: 91.62 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.429e-05/0.9169, allocations: 17.44 kB / 485.2 MB, free: 91.61 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.9182, allocations: 360.2 kB / 485.6 MB, free: 91.56 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.999e-06/0.9183, allocations: 2.156 kB / 485.6 MB, free: 91.56 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.9183, allocations: 5.094 kB / 485.6 MB, free: 91.56 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.9183, allocations: 7.828 kB / 485.6 MB, free: 91.55 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005671/0.9189, allocations: 317.2 kB / 485.9 MB, free: 91.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.9189, allocations: 1.156 kB / 485.9 MB, free: 91.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000803/0.9197, allocations: 92.58 kB / 486 MB, free: 91.36 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.827e-06/0.9198, allocations: 1.969 kB / 486 MB, free: 91.36 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.931e-05/0.9198, allocations: 11.44 kB / 486 MB, free: 91.36 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001061/0.9209, allocations: 2.389 MB / 488.4 MB, free: 89 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.9209, allocations: 0.9688 kB / 488.4 MB, free: 89 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009133/0.9218, allocations: 371.3 kB / 488.8 MB, free: 88.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001769/0.922, allocations: 134.3 kB / 488.9 MB, free: 88.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.779e-05/0.9221, allocations: 3.969 kB / 488.9 MB, free: 88.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002836/0.9224, allocations: 19.08 kB / 488.9 MB, free: 88.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.615e-05/0.9225, allocations: 23.52 kB / 488.9 MB, free: 88.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.217e-05/0.9225, allocations: 6.625 kB / 488.9 MB, free: 88.74 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002184/0.9228, allocations: 173.2 kB / 489.1 MB, free: 88.66 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.9228, allocations: 0 / 489.1 MB, free: 88.66 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008486/0.9237, allocations: 179 kB / 489.3 MB, free: 88.6 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 () * Number of clocked 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.001848/0.9255, allocations: 1.071 MB / 490.4 MB, free: 87.83 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001156/0.9267, allocations: 248.2 kB / 490.6 MB, free: 87.8 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.9268, allocations: 0 / 490.6 MB, free: 87.8 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007128/0.9275, allocations: 170.6 kB / 490.8 MB, free: 87.77 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.928, allocations: 46.17 kB / 490.8 MB, free: 87.74 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003564/0.9316, allocations: 1.958 MB / 492.8 MB, free: 86.6 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.9319, allocations: 0.7902 MB / 493.6 MB, free: 85.89 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002182/0.9321, allocations: 81.8 kB / 493.6 MB, free: 85.84 MB / 394.7 MB Notification: Performance of SimCode: time 1.072e-06/0.9321, allocations: 4 kB / 493.7 MB, free: 85.83 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.841/3.773, allocations: 9.732 MB / 0.4916 GB, free: 80.77 MB / 394.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