Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_curvedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.246/2.246, allocations: 209.2 MB / 224.8 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000446/0.0004461, allocations: 15.98 kB / 282.7 MB, free: 9.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.376, allocations: 48.7 MB / 331.4 MB, free: 6.414 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1863/0.5624, allocations: 90 MB / 421.4 MB, free: 4.258 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003995/0.5628, allocations: 95.94 kB / 421.5 MB, free: 4.164 MB / 346.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4646:11-4649:67:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4673:11-4676:68:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[3], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4633:11-4636:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Fluid/Dissipation.mo:4660:11-4663:69:writable] Error: Type mismatch in binding eta = eta, expected subtype of Real[2], got type Real. Notification: Performance of FrontEnd - DAE generated: time 0.1348/0.6976, allocations: 22.54 MB / 444 MB, free: 13.48 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.6977, allocations: 0 / 444 MB, free: 13.48 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.236e-05/0.6977, allocations: 4 kB / 444 MB, free: 13.48 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.002009/0.6997, allocations: 0.6316 MB / 444.7 MB, free: 12.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.6998, allocations: 12.03 kB / 444.7 MB, free: 12.78 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001768/0.7, allocations: 78.53 kB / 444.8 MB, free: 12.7 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.7002, allocations: 43.48 kB / 444.8 MB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.7008, allocations: 258.6 kB / 445 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.753e-05/0.7009, allocations: 25 kB / 445.1 MB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001182/0.701, allocations: 35.98 kB / 445.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001706/0.7027, allocations: 0.4904 MB / 445.6 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.7028, allocations: 3.984 kB / 445.6 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.517e-05/0.7028, allocations: 15.98 kB / 445.6 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.703, allocations: 44.97 kB / 445.7 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/0.7049, allocations: 0.5386 MB / 446.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003995/0.7089, allocations: 1.329 MB / 447.5 MB, free: 9.758 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.7108, allocations: 378.4 kB / 447.9 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.786e-05/0.7108, allocations: 4 kB / 447.9 MB, free: 9.371 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.509e-05/0.7109, allocations: 42.56 kB / 447.9 MB, free: 9.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 8.055e-06/0.7109, allocations: 96 / 447.9 MB, free: 9.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=26): time 0.002132/0.7131, allocations: 445.4 kB / 448.4 MB, free: 8.879 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.7132, allocations: 63.36 kB / 448.4 MB, free: 8.805 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006426/0.7138, allocations: 269.7 kB / 448.7 MB, free: 8.539 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.404e-05/0.7139, allocations: 37.64 kB / 448.7 MB, free: 8.496 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002254/0.7141, allocations: 258.4 kB / 449 MB, free: 8.242 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001612/0.7143, allocations: 86.75 kB / 449.1 MB, free: 8.156 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.936e-05/0.7144, allocations: 4 kB / 449.1 MB, free: 8.152 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.7146, allocations: 322.8 kB / 449.4 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006096/0.7152, allocations: 123.9 kB / 449.5 MB, free: 7.707 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006449/0.7159, allocations: 158.7 kB / 449.7 MB, free: 7.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006874/0.7166, allocations: 153.2 kB / 449.8 MB, free: 7.391 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.7166, allocations: 0 / 449.8 MB, free: 7.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.00161/0.7182, allocations: 359.5 kB / 450.2 MB, free: 7.035 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.149e-05/0.7183, allocations: 8 kB / 450.2 MB, free: 7.027 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.7183, allocations: 8.062 kB / 450.2 MB, free: 7.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.567e-05/0.7184, allocations: 4 kB / 450.2 MB, free: 7.016 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.7198, allocations: 127.8 kB / 450.3 MB, free: 6.891 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00273/0.7225, allocations: 3.008 MB / 453.3 MB, free: 3.766 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000596/0.7232, allocations: 47.55 kB / 453.4 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.837e-05/0.7232, allocations: 12 kB / 453.4 MB, free: 3.707 MB / 378.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 (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004181/0.7237, allocations: 185.7 kB / 453.6 MB, free: 3.516 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001313/0.7238, allocations: 27.62 kB / 453.6 MB, free: 3.488 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.7261, allocations: 467.2 kB / 454 MB, free: 3.023 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.7261, allocations: 4 kB / 454.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.7261, allocations: 0 / 454.1 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.2e-05/0.7261, allocations: 3.984 kB / 454.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009877/0.7271, allocations: 373.2 kB / 454.4 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.7272, allocations: 0 / 454.4 MB, free: 2.602 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001366/0.7285, allocations: 115.8 kB / 454.5 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.7286, allocations: 4 kB / 454.5 MB, free: 2.484 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.7286, allocations: 15.98 kB / 454.6 MB, free: 2.469 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002827/0.7315, allocations: 3.004 MB / 457.6 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.7315, allocations: 0 / 457.6 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.7328, allocations: 455.4 kB / 458 MB, free: 14.89 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/0.733, allocations: 108.8 kB / 458.1 MB, free: 14.76 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.057e-05/0.7331, allocations: 7.953 kB / 458.1 MB, free: 14.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003617/0.7335, allocations: 19.98 kB / 458.1 MB, free: 14.73 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.7336, allocations: 27.95 kB / 458.2 MB, free: 14.71 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.297e-05/0.7336, allocations: 11.98 kB / 458.2 MB, free: 14.7 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003709/0.734, allocations: 225.9 kB / 458.4 MB, free: 14.47 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.734, allocations: 4 kB / 458.4 MB, free: 14.47 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001057/0.7351, allocations: 211.6 kB / 458.6 MB, free: 14.26 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002255/0.7374, allocations: 1.159 MB / 459.8 MB, free: 13.07 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001569/0.7389, allocations: 351.9 kB / 460.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.739, allocations: 4.125 kB / 460.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009637/0.7399, allocations: 212.2 kB / 460.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005875/0.7406, allocations: 61.02 kB / 460.4 MB, free: 12.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005274/0.7458, allocations: 2.514 MB / 462.9 MB, free: 9.891 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005584/0.7464, allocations: 0.8379 MB / 463.7 MB, free: 9.023 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003349/0.7468, allocations: 119.4 kB / 463.8 MB, free: 8.906 MB / 394.7 MB Notification: Performance of SimCode: time 1.613e-06/0.7468, allocations: 0 / 463.8 MB, free: 8.906 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.434/4.181, allocations: 14.51 MB / 478.4 MB, free: 117 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_curvedOverall_DPMFLOW_res.mat does not exist to compare? outputFormat=mat