Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestLiquid.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01283/0.01283, allocations: 1.751 MB / 21.35 MB, free: 356 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.8809/0.8809, allocations: 130.7 MB / 155.6 MB, free: 4.297 MB / 126.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 109.7 kB / 187.3 MB, free: 2.082 MB / 142.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 217.8 kB / 219.1 MB, free: 2.242 MB / 174.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.439/1.439, allocations: 230.6 MB / 481.5 MB, free: 108 kB / 318.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo): time 0.1189/0.1189, allocations: 25.59 MB / 0.5782 GB, free: 2.07 MB / 430.1 MB " [Timeout remaining time 180] Using package TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo) Using package SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(TILMedia.Testers.TestLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestLiquid") translateModel(TILMedia.Testers.TestLiquid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestLiquid") [Timeout 660] "Notification: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003992/0.003992, allocations: 142.4 kB / 0.7708 GB, free: 7.457 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3782, allocations: 89.26 MB / 0.8579 GB, free: 29.82 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestLiquid): time 0.00267/0.3809, allocations: 1.753 MB / 0.8596 GB, free: 28.61 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.002656/0.3836, allocations: 2.268 MB / 0.8618 GB, free: 27.12 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.321e-05/0.3836, allocations: 3.219 kB / 0.8618 GB, free: 27.12 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0006381/0.3843, allocations: 171.5 kB / 0.862 GB, free: 27.04 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.3844, allocations: 82.95 kB / 0.8621 GB, free: 27 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007982/0.3852, allocations: 424.6 kB / 0.8625 GB, free: 26.8 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.3854, allocations: 164.4 kB / 0.8627 GB, free: 26.72 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 4.648e-05/0.3855, allocations: 8.125 kB / 0.8627 GB, free: 26.72 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 6.022e-05/0.3855, allocations: 68.41 kB / 0.8627 GB, free: 26.69 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001793/0.3857, allocations: 82.25 kB / 0.8628 GB, free: 26.66 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.836e-05/0.3857, allocations: 5.844 kB / 0.8628 GB, free: 26.66 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007595/0.3865, allocations: 0.5344 MB / 0.8633 GB, free: 26.47 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 5.043e-05/0.3865, allocations: 23.11 kB / 0.8634 GB, free: 26.46 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 5.223e-05/0.3866, allocations: 50.77 kB / 0.8634 GB, free: 26.43 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0007493/0.3873, allocations: 0.5452 MB / 0.8639 GB, free: 26.27 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.3873, allocations: 0.6094 kB / 0.8639 GB, free: 26.27 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3873, allocations: 0 / 0.8639 GB, free: 26.27 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.3874, allocations: 0 / 0.8639 GB, free: 26.27 MB / 0.5763 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0005353/0.3879, allocations: 457 kB / 0.8644 GB, free: 25.87 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.3879, allocations: 9.891 kB / 0.8644 GB, free: 25.87 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.086e-05/0.388, allocations: 16.03 kB / 0.8644 GB, free: 25.86 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006906/0.3887, allocations: 366.8 kB / 0.8647 GB, free: 25.62 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.3887, allocations: 3.125 kB / 0.8647 GB, free: 25.62 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.554e-05/0.3887, allocations: 9.875 kB / 0.8648 GB, free: 25.62 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.3891, allocations: 178.3 kB / 0.8649 GB, free: 25.48 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3891, allocations: 4.516 kB / 0.8649 GB, free: 25.48 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.3891, allocations: 5.375 kB / 0.8649 GB, free: 25.48 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.3891, allocations: 4 kB / 0.8649 GB, free: 25.48 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002975/0.3894, allocations: 79.8 kB / 0.865 GB, free: 25.46 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.39, allocations: 0.9591 MB / 0.866 GB, free: 24.52 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003074/0.3903, allocations: 87.88 kB / 0.866 GB, free: 24.48 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.122e-05/0.3903, allocations: 25.78 kB / 0.8661 GB, free: 24.46 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 5.164e-05/0.3904, allocations: 10.86 kB / 0.8661 GB, free: 24.46 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.249e-05/0.3904, allocations: 30.56 kB / 0.8661 GB, free: 24.42 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=11): time 1.783e-06/0.3904, allocations: 1.375 kB / 0.8661 GB, free: 24.42 MB / 0.5763 GB Notification: Performance of matching and sorting (n=11): time 0.0006316/0.391, allocations: 165.2 kB / 0.8663 GB, free: 24.36 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.884e-05/0.391, allocations: 51.41 kB / 0.8663 GB, free: 24.29 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.3912, allocations: 185.8 kB / 0.8665 GB, free: 24.16 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 9.928e-06/0.3912, allocations: 31.52 kB / 0.8665 GB, free: 24.13 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 5.014e-05/0.3913, allocations: 126.8 kB / 0.8666 GB, free: 24.01 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 2.286e-05/0.3913, allocations: 39.5 kB / 0.8667 GB, free: 23.98 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.697e-05/0.3913, allocations: 46.22 kB / 0.8667 GB, free: 23.95 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.427e-05/0.3914, allocations: 321.1 kB / 0.867 GB, free: 23.63 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.481e-05/0.3914, allocations: 27.72 kB / 0.8671 GB, free: 23.62 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.891e-05/0.3915, allocations: 89.83 kB / 0.8671 GB, free: 23.54 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001374/0.3916, allocations: 139.2 kB / 0.8673 GB, free: 23.41 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3917, allocations: 1.062 kB / 0.8673 GB, free: 23.41 MB / 0.5763 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002311/0.3919, allocations: 174.7 kB / 0.8674 GB, free: 23.32 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3919, allocations: 6.219 kB / 0.8674 GB, free: 23.32 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001251/0.392, allocations: 72.38 kB / 0.8675 GB, free: 23.3 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.851e-05/0.392, allocations: 8.594 kB / 0.8675 GB, free: 23.29 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.3922, allocations: 41.27 kB / 0.8676 GB, free: 23.29 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.3922, allocations: 4.734 kB / 0.8676 GB, free: 23.29 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.537e-05/0.3922, allocations: 21.2 kB / 0.8676 GB, free: 23.27 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.152e-05/0.3923, allocations: 9.688 kB / 0.8676 GB, free: 23.27 MB / 0.5763 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (20): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.107e-05/0.3923, allocations: 127.1 kB / 0.8677 GB, free: 23.14 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.928e-05/0.3924, allocations: 18.58 kB / 0.8677 GB, free: 23.13 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003336/0.3927, allocations: 199.5 kB / 0.8679 GB, free: 23.04 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.3927, allocations: 1.156 kB / 0.8679 GB, free: 23.04 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.3927, allocations: 0 / 0.8679 GB, free: 23.04 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3927, allocations: 2.469 kB / 0.8679 GB, free: 23.04 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.3929, allocations: 166.5 kB / 0.8681 GB, free: 22.88 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001269/0.393, allocations: 102.9 kB / 0.8682 GB, free: 22.83 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.874e-05/0.3931, allocations: 16.69 kB / 0.8682 GB, free: 22.83 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3931, allocations: 0 / 0.8682 GB, free: 22.83 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.009e-05/0.3931, allocations: 2.312 kB / 0.8682 GB, free: 22.83 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.3931, allocations: 10.25 kB / 0.8682 GB, free: 22.82 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3931, allocations: 0 / 0.8682 GB, free: 22.82 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.3932, allocations: 217.7 kB / 0.8684 GB, free: 22.66 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 5.412e-05/0.3933, allocations: 26.75 kB / 0.8684 GB, free: 22.64 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.3933, allocations: 1.875 kB / 0.8684 GB, free: 22.64 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.086e-05/0.3934, allocations: 7.938 kB / 0.8685 GB, free: 22.64 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-05/0.3934, allocations: 15.84 kB / 0.8685 GB, free: 22.63 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.3934, allocations: 5.188 kB / 0.8685 GB, free: 22.63 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 8.804e-05/0.3935, allocations: 141.6 kB / 0.8686 GB, free: 22.53 MB / 0.5763 GB Notification: Performance of sort global known variables: time 6e-08/0.3935, allocations: 0 / 0.8686 GB, free: 22.53 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.00042/0.3939, allocations: 93.08 kB / 0.8687 GB, free: 22.5 MB / 0.5763 GB 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 (13): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008523/0.3948, allocations: 387.5 kB / 0.8691 GB, free: 22.29 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.000187/0.395, allocations: 92.09 kB / 0.8692 GB, free: 22.27 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.395, allocations: 3.938 kB / 0.8692 GB, free: 22.26 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 8.042e-05/0.3951, allocations: 94.56 kB / 0.8693 GB, free: 22.19 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.3953, allocations: 16.27 kB / 0.8693 GB, free: 22.18 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005943/0.3959, allocations: 358.3 kB / 0.8696 GB, free: 21.93 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.25e-05/0.396, allocations: 103 kB / 0.8697 GB, free: 21.86 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.981e-05/0.3961, allocations: 40.33 kB / 0.8697 GB, free: 21.85 MB / 0.5763 GB Notification: Performance of SimCode: time 3.81e-07/0.3961, allocations: 4 kB / 0.8697 GB, free: 21.84 MB / 0.5763 GB Notification: Performance of Templates: time 0.005513/0.4016, allocations: 3.067 MB / 0.8727 GB, free: 21.48 MB / 0.5763 GB " [Timeout remaining time 660] make -j1 -f TILMedia_TILMedia.Testers.TestLiquid.makefile [Timeout 660] make -j1 -f TILMedia_TILMedia.Testers.TestLiquid.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppTILMedia_TILMedia.Testers.TestLiquidCalcHelperMain.o OMCppTILMedia_TILMedia.Testers.TestLiquidCalcHelperMain.cpp In file included from OMCppTILMedia_TILMedia.Testers.TestLiquidCalcHelperMain.cpp:28: ./OMCppTILMedia_TILMedia.Testers.TestLiquidFunctions.cpp:483:3: error: no matching function for call to 'TILMedia_Liquid_properties_Txi' TILMedia_Liquid_properties_Txi(T__ext, ConstArray(xi_).getData(), liquidPointer__ext, &d__ext, &cp__ext, &beta__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestLiquidFunctions.cpp:81:6: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier void TILMedia_Liquid_properties_Txi(double, double*, void*, double*, double*, double*); ^ ./OMCppTILMedia_TILMedia.Testers.TestLiquidFunctions.cpp:524:3: error: no matching function for call to 'TILMedia_Liquid_properties_hxi' TILMedia_Liquid_properties_hxi(h__ext, ConstArray(xi_).getData(), liquidPointer__ext, &d__ext, &cp__ext, &beta__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestLiquidFunctions.cpp:80:6: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier void TILMedia_Liquid_properties_hxi(double, double*, void*, double*, double*, double*); ^ ./OMCppTILMedia_TILMedia.Testers.TestLiquidFunctions.cpp:556:12: error: no matching function for call to 'TILMedia_LiquidObjectFunctions_specificEnthalpy_Txi' h__ext = TILMedia_LiquidObjectFunctions_specificEnthalpy_Txi(T__ext, ConstArray(xi_).getData(), liquidPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestLiquidFunctions.cpp:79:8: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier double TILMedia_LiquidObjectFunctions_specificEnthalpy_Txi(double,double*,void*); ^ ./OMCppTILMedia_TILMedia.Testers.TestLiquidFunctions.cpp:582:12: error: no matching function for call to 'TILMedia_LiquidObjectFunctions_specificEntropy_pTxi' s__ext = TILMedia_LiquidObjectFunctions_specificEntropy_pTxi(p__ext, T__ext, ConstArray(xi_).getData(), liquidPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestLiquidFunctions.cpp:78:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_LiquidObjectFunctions_specificEntropy_pTxi(double,double,double*,void*); ^ ./OMCppTILMedia_TILMedia.Testers.TestLiquidFunctions.cpp:606:12: error: no matching function for call to 'TILMedia_LiquidObjectFunctions_temperature_hxi' T__ext = TILMedia_LiquidObjectFunctions_temperature_hxi(h__ext, ConstArray(xi_).getData(), liquidPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestLiquidFunctions.cpp:77:8: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier double TILMedia_LiquidObjectFunctions_temperature_hxi(double,double*,void*); ^ ./OMCppTILMedia_TILMedia.Testers.TestLiquidFunctions.cpp:633:25: error: no matching function for call to 'TILMedia_createExternalObject' externalObject__ext = TILMedia_createExternalObject(objectType_.c_str(), mediumName_.c_str(), flags__ext, ConstArray(xi_).getData(), nc__ext, condensingIndex__ext, instanceName_.c_str()); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestLiquidFunctions.cpp:44:7: note: candidate function not viable: 4th argument ('const double *') would lose const qualifier void* TILMedia_createExternalObject(const char* objectType, const char* mixtureName, int flags, double* xi, int _nc, int condensingIndex, const char* instanceName) { ^ 6 errors generated. make: *** [: OMCppTILMedia_TILMedia.Testers.TestLiquidCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.429669146426022] Failed to read output from testmodel.py, exit status != 0: 0.4095244510099292 0.42026545800000004 0.030441355000000003 Calling exit ...