Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestGas_moistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo): time 0.009102/0.009102, allocations: 1.453 MB / 19.54 MB, free: 2.531 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9181/0.9181, allocations: 129 MB / 151.8 MB, free: 11.68 MB / 126.1 MB [Timeout remaining time 89] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 114.7 kB / 182.9 MB, free: 3.453 MB / 142.1 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 199.1 kB / 214.1 MB, free: 9 MB / 174.1 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 225.6 MB / 470.8 MB, free: 11.83 MB / 318.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.1127/0.1127, allocations: 23.17 MB / 0.5636 GB, free: 4.988 MB / 414.1 MB [Timeout remaining time 90] Using package TILMedia with version 1.8.2 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package ClaRa with version 1.8.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo) Using package SMArtIInt with version 0.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.2.2-main/package.mo) Running command: translateModel(TILMedia.Testers.TestGas_moistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas_moistAir") translateModel(TILMedia.Testers.TestGas_moistAir,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas_moistAir") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.0041/0.0041, allocations: 132.3 kB / 0.7508 GB, free: 2.598 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4379/0.442, allocations: 86.83 MB / 0.8356 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas_moistAir): time 0.003224/0.4452, allocations: 2.373 MB / 0.8379 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004875/0.4501, allocations: 4.322 MB / 0.8421 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002/0.4503, allocations: 2.312 kB / 0.8421 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007532/0.451, allocations: 210.9 kB / 0.8423 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004016/0.4514, allocations: 182.2 kB / 0.8425 GB, free: 0.707 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.4527, allocations: 0.678 MB / 0.8432 GB, free: 172 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0007178/0.4534, allocations: 0.5818 MB / 0.8437 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.537e-05/0.4535, allocations: 13.5 kB / 0.8437 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002998/0.4538, allocations: 203.7 kB / 0.8439 GB, free: 15.72 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009325/0.4547, allocations: 0.7878 MB / 0.8447 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003843/0.4551, allocations: 177.5 kB / 0.8449 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002368/0.4575, allocations: 1.406 MB / 0.8462 GB, free: 14.59 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007262/0.4582, allocations: 0.5855 MB / 0.8468 GB, free: 14.17 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0009492/0.4592, allocations: 0.608 MB / 0.8474 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.003763/0.4629, allocations: 2.388 MB / 0.8497 GB, free: 12.28 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.4629, allocations: 1.656 kB / 0.8497 GB, free: 12.28 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.092e-06/0.4629, allocations: 0 / 0.8497 GB, free: 12.28 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.402e-05/0.463, allocations: 0 / 0.8497 GB, free: 12.28 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 182 * Number of variables: 182 Notification: Performance of Generate backend data structure: time 0.005221/0.4682, allocations: 2.104 MB / 0.8518 GB, free: 10.95 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.4682, allocations: 8.656 kB / 0.8518 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003196/0.4685, allocations: 85.36 kB / 0.8519 GB, free: 10.9 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.4712, allocations: 1.446 MB / 0.8533 GB, free: 9.926 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.986e-05/0.4712, allocations: 27.66 kB / 0.8533 GB, free: 9.91 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.4714, allocations: 38.55 kB / 0.8534 GB, free: 9.895 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002423/0.4738, allocations: 1.674 MB / 0.855 GB, free: 8.945 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.4738, allocations: 5.5 kB / 0.855 GB, free: 8.941 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.695e-05/0.4739, allocations: 20.94 kB / 0.855 GB, free: 8.926 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-05/0.4739, allocations: 41.5 kB / 0.8551 GB, free: 8.914 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003659/0.4776, allocations: 2.584 MB / 0.8576 GB, free: 7.801 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008857/0.4865, allocations: 5.158 MB / 0.8626 GB, free: 4.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009744/0.4874, allocations: 0.6396 MB / 0.8632 GB, free: 4.004 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000791/0.4882, allocations: 0.5857 MB / 0.8638 GB, free: 3.711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001023/0.4883, allocations: 21.67 kB / 0.8638 GB, free: 3.699 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.634e-05/0.4883, allocations: 40.33 kB / 0.8639 GB, free: 3.652 MB / 0.545 GB Notification: Performance of pre-optimization done (n=114): time 2.175e-06/0.4884, allocations: 0 / 0.8639 GB, free: 3.652 MB / 0.545 GB Notification: Performance of matching and sorting (n=114): time 0.002942/0.4913, allocations: 2.05 MB / 0.8659 GB, free: 2.668 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/0.4913, allocations: 54.53 kB / 0.8659 GB, free: 2.605 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008636/0.4922, allocations: 0.6865 MB / 0.8666 GB, free: 2.219 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.509e-05/0.4923, allocations: 35.7 kB / 0.8666 GB, free: 2.18 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.4926, allocations: 350.4 kB / 0.867 GB, free: 1.867 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000327/0.4929, allocations: 390.6 kB / 0.8673 GB, free: 1.523 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003158/0.4932, allocations: 182.7 kB / 0.8675 GB, free: 1.426 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002373/0.4935, allocations: 389.6 kB / 0.8679 GB, free: 1.059 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008925/0.4943, allocations: 0.6422 MB / 0.8685 GB, free: 0.75 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001123/0.4955, allocations: 0.9323 MB / 0.8694 GB, free: 64 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002163/0.4976, allocations: 1.664 MB / 0.8711 GB, free: 15 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.4976, allocations: 0 / 0.8711 GB, free: 15 MB / 0.5607 GB Notification: Performance of matching and sorting (n=152) (initialization): time 0.00264/0.5003, allocations: 1.71 MB / 0.8727 GB, free: 13.29 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.5003, allocations: 9.875 kB / 0.8727 GB, free: 13.28 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.014e-05/0.5004, allocations: 28.11 kB / 0.8728 GB, free: 13.25 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.5004, allocations: 15.94 kB / 0.8728 GB, free: 13.23 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/0.5023, allocations: 227.7 kB / 0.873 GB, free: 13.01 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004373/0.5027, allocations: 0.6016 MB / 0.8736 GB, free: 12.39 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006707/0.5034, allocations: 103.3 kB / 0.8737 GB, free: 12.29 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.5035, allocations: 52 kB / 0.8737 GB, free: 12.23 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (76): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004324/0.5039, allocations: 301.3 kB / 0.874 GB, free: 11.93 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.5041, allocations: 79.42 kB / 0.8741 GB, free: 11.85 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000426/0.5045, allocations: 144.3 kB / 0.8742 GB, free: 11.71 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.5045, allocations: 7.984 kB / 0.8742 GB, free: 11.7 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/0.5045, allocations: 4 kB / 0.8742 GB, free: 11.7 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.5045, allocations: 0 / 0.8742 GB, free: 11.7 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00128/0.5058, allocations: 1.009 MB / 0.8752 GB, free: 10.64 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.939e-05/0.5058, allocations: 12 kB / 0.8752 GB, free: 10.62 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/0.5074, allocations: 167.8 kB / 0.8754 GB, free: 10.46 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.5074, allocations: 0 / 0.8754 GB, free: 10.46 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.5074, allocations: 12 kB / 0.8754 GB, free: 10.45 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003857/0.5078, allocations: 0.586 MB / 0.876 GB, free: 9.84 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.5078, allocations: 0 / 0.876 GB, free: 9.84 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/0.51, allocations: 1.524 MB / 0.8775 GB, free: 8.301 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004512/0.5104, allocations: 260.3 kB / 0.8777 GB, free: 8.027 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001353/0.5105, allocations: 7.984 kB / 0.8777 GB, free: 8.02 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003865/0.5109, allocations: 12 kB / 0.8777 GB, free: 8.008 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.511, allocations: 27.95 kB / 0.8778 GB, free: 7.98 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.905e-05/0.5111, allocations: 35.94 kB / 0.8778 GB, free: 7.945 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.0006113/0.5117, allocations: 498.8 kB / 0.8783 GB, free: 7.461 MB / 0.5607 GB Notification: Performance of sort global known variables: time 8e-08/0.5117, allocations: 0 / 0.8783 GB, free: 7.461 MB / 0.5607 GB Notification: Performance of remove unused functions: time 0.0009713/0.5127, allocations: 327.2 kB / 0.8786 GB, free: 7.141 MB / 0.5607 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 (38): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001426/0.5141, allocations: 0.5616 MB / 0.8791 GB, free: 6.688 MB / 0.5607 GB Notification: Performance of simCode: created initialization part: time 0.002358/0.5165, allocations: 1.668 MB / 0.8808 GB, free: 4.984 MB / 0.5607 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.5165, allocations: 4 kB / 0.8808 GB, free: 4.98 MB / 0.5607 GB Notification: Performance of simCode: created simulation system equations: time 0.001233/0.5177, allocations: 0.8698 MB / 0.8816 GB, free: 4.074 MB / 0.5607 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009725/0.5187, allocations: 198 kB / 0.8818 GB, free: 3.879 MB / 0.5607 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003794/0.5225, allocations: 2.458 MB / 0.8842 GB, free: 1.379 MB / 0.5607 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007319/0.5232, allocations: 1.005 MB / 0.8852 GB, free: 356 kB / 0.5607 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004397/0.5236, allocations: 91.39 kB / 0.8853 GB, free: 264 kB / 0.5607 GB Notification: Performance of SimCode: time 4.11e-07/0.5236, allocations: 0 / 0.8853 GB, free: 264 kB / 0.5607 GB Notification: Performance of Templates: time 0.02394/0.5476, allocations: 18.14 MB / 0.903 GB, free: 14.14 MB / 0.5919 GB [Timeout remaining time 659] make -j1 -f TILMedia_TILMedia.Testers.TestGas_moistAir.makefile [Timeout 660] make -j1 -f TILMedia_TILMedia.Testers.TestGas_moistAir.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -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.0.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.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppTILMedia_TILMedia.Testers.TestGas_moistAirCalcHelperMain.o OMCppTILMedia_TILMedia.Testers.TestGas_moistAirCalcHelperMain.cpp In file included from OMCppTILMedia_TILMedia.Testers.TestGas_moistAirCalcHelperMain.cpp:28: ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:600:3: error: no matching function for call to 'TILMedia_Gas_additionalProperties_pTxi' TILMedia_Gas_additionalProperties_pTxi(p__ext, T__ext, ConstArray(xi_).getData(), gasPointer__ext, &d__ext, &kappa__ext, &drhodp_hxi__ext, &drhodh_pxi__ext, drhodxi_ph_.getData(), pp_.getData(), &xi_gas__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:87:6: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier void TILMedia_Gas_additionalProperties_pTxi(double, double, double*, void*, double*, double*, double*, double*, double*, double*, double*); ^ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:694:14: error: no matching function for call to 'TILMedia_MoistAir_phi_pThumRatioxidg' phi__ext = TILMedia_MoistAir_phi_pThumRatioxidg(p__ext, T__ext, humRatio__ext, ConstArray(xi_dryGas_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:85:8: note: candidate function not viable: 4th argument ('const double *') would lose const qualifier double TILMedia_MoistAir_phi_pThumRatioxidg(double, double, double, double*, void*); ^ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:720:21: error: no matching function for call to 'TILMedia_Gas_saturationHumidityRatio_pTxidg' humRatio_s__ext = TILMedia_Gas_saturationHumidityRatio_pTxidg(p__ext, T__ext, ConstArray(xi_dryGas_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:84:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_Gas_saturationHumidityRatio_pTxidg(double, double, double*, void*); ^ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:746:15: error: no matching function for call to 'TILMedia_Gas_saturationMassFraction_pTxidg' xi_s__ext = TILMedia_Gas_saturationMassFraction_pTxidg(p__ext, T__ext, ConstArray(xi_dryGas_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:83:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_Gas_saturationMassFraction_pTxidg(double, double, double*, void*); ^ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:785:3: error: no matching function for call to 'TILMedia_Gas_simpleCondensingProperties_pTxi' TILMedia_Gas_simpleCondensingProperties_pTxi(p__ext, T__ext, ConstArray(xi_).getData(), gasPointer__ext, &cp__ext, &cv__ext, &beta__ext, &w__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:82:6: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier void TILMedia_Gas_simpleCondensingProperties_pTxi(double, double, double*, void*, double*, double*, double*, double*); ^ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:835:3: error: no matching function for call to 'TILMedia_Gas_simpleCondensingProperties_phxi' TILMedia_Gas_simpleCondensingProperties_phxi(p__ext, h__ext, ConstArray(xi_).getData(), gasPointer__ext, &cp__ext, &cv__ext, &beta__ext, &w__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:81:6: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier void TILMedia_Gas_simpleCondensingProperties_phxi(double p, double h, double*, void*, double*, double*, double*, double*); ^ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:872:12: error: no matching function for call to 'TILMedia_Gas_specificEnthalpy_pTxi' h__ext = TILMedia_Gas_specificEnthalpy_pTxi(p__ext, T__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:80:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_Gas_specificEnthalpy_pTxi(double, double, double*, void*); ^ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:898:12: error: no matching function for call to 'TILMedia_Gas_specificEntropy_pTxi' s__ext = TILMedia_Gas_specificEntropy_pTxi(p__ext, T__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:79:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_Gas_specificEntropy_pTxi(double, double, double*, void*); ^ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:924:12: error: no matching function for call to 'TILMedia_Gas_specificEntropy_phxi' s__ext = TILMedia_Gas_specificEntropy_phxi(p__ext, h__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:78:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_Gas_specificEntropy_phxi(double, double, double*, void*); ^ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:950:12: error: no matching function for call to 'TILMedia_Gas_temperature_phxi' T__ext = TILMedia_Gas_temperature_phxi(p__ext, h__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:77:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_Gas_temperature_phxi(double, double, double*, void*); ^ ./OMCppTILMedia_TILMedia.Testers.TestGas_moistAirFunctions.cpp:977: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.TestGas_moistAirFunctions.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) { ^ 11 errors generated. make: *** [: OMCppTILMedia_TILMedia.Testers.TestGas_moistAirCalcHelperMain.o] Error 1