Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_TILMedia.Testers.TestGas.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.01428/0.01428, allocations: 1.448 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.906/0.906, allocations: 129 MB / 151.8 MB, free: 11.69 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.00119/0.00119, allocations: 99.97 kB / 182.9 MB, free: 3.414 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.001495/0.001495, allocations: 202.8 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.534/1.534, 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.11/0.11, allocations: 23.17 MB / 0.5636 GB, free: 4.984 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas") translateModel(TILMedia.Testers.TestGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.003862/0.003862, allocations: 135.8 kB / 0.7508 GB, free: 2.609 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.424/0.4279, allocations: 86.82 MB / 0.8356 GB, free: 5.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.003654/0.4315, allocations: 2.867 MB / 0.8384 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005013/0.4365, allocations: 4.476 MB / 0.8428 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002023/0.4367, allocations: 3.25 kB / 0.8428 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0007879/0.4375, allocations: 232.7 kB / 0.843 GB, free: 496 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003768/0.4379, allocations: 263.5 kB / 0.8432 GB, free: 288 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.4393, allocations: 0.7581 MB / 0.844 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001043/0.4403, allocations: 0.8586 MB / 0.8448 GB, free: 15.19 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.627e-05/0.4404, allocations: 21.47 kB / 0.8448 GB, free: 15.18 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000299/0.4407, allocations: 299.1 kB / 0.8451 GB, free: 15.02 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001243/0.4419, allocations: 1.181 MB / 0.8463 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0004509/0.4424, allocations: 258.7 kB / 0.8465 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002462/0.4448, allocations: 1.49 MB / 0.848 GB, free: 13.68 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.001182/0.446, allocations: 0.8317 MB / 0.8488 GB, free: 13.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.4472, allocations: 0.8862 MB / 0.8496 GB, free: 12.39 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004131/0.4514, allocations: 3.109 MB / 0.8527 GB, free: 10.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/0.4514, allocations: 0 / 0.8527 GB, free: 10.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.753e-06/0.4514, allocations: 1.125 kB / 0.8527 GB, free: 10.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.845e-05/0.4514, allocations: 3.984 kB / 0.8527 GB, free: 10.5 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: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.006777/0.4582, allocations: 2.836 MB / 0.8555 GB, free: 8.801 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.4582, allocations: 9.969 kB / 0.8555 GB, free: 8.801 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003985/0.4586, allocations: 119.7 kB / 0.8556 GB, free: 8.727 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004081/0.4627, allocations: 2.118 MB / 0.8576 GB, free: 7.34 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.147e-05/0.4627, allocations: 30.97 kB / 0.8577 GB, free: 7.324 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.4629, allocations: 39.16 kB / 0.8577 GB, free: 7.312 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003605/0.4665, allocations: 2.355 MB / 0.86 GB, free: 5.973 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/0.4665, allocations: 3.938 kB / 0.86 GB, free: 5.969 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001409/0.4667, allocations: 20.5 kB / 0.86 GB, free: 5.953 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.446e-05/0.4667, allocations: 38.89 kB / 0.8601 GB, free: 5.949 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005349/0.4721, allocations: 3.808 MB / 0.8638 GB, free: 4.297 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01402/0.4861, allocations: 6.294 MB / 0.8699 GB, free: 204 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005527/0.4867, allocations: 365.3 kB / 0.8703 GB, free: 40 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.487, allocations: 278 kB / 0.8706 GB, free: 15.9 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 9.122e-05/0.4871, allocations: 19.12 kB / 0.8706 GB, free: 15.9 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.4871, allocations: 40.11 kB / 0.8706 GB, free: 15.85 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=142): time 2.525e-06/0.4871, allocations: 0 / 0.8706 GB, free: 15.85 MB / 0.5607 GB Notification: Performance of matching and sorting (n=142): time 0.001851/0.489, allocations: 1.175 MB / 0.8718 GB, free: 14.75 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.489, allocations: 55.64 kB / 0.8718 GB, free: 14.69 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002645/0.4917, allocations: 1.639 MB / 0.8734 GB, free: 13.02 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 6.985e-05/0.4917, allocations: 29.7 kB / 0.8734 GB, free: 12.99 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004882/0.4922, allocations: 0.5705 MB / 0.874 GB, free: 12.41 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004289/0.4927, allocations: 491.6 kB / 0.8745 GB, free: 11.93 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005506/0.4932, allocations: 286.4 kB / 0.8747 GB, free: 11.64 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.4934, allocations: 357.9 kB / 0.8751 GB, free: 11.29 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001241/0.4947, allocations: 0.729 MB / 0.8758 GB, free: 10.56 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00173/0.4964, allocations: 1.379 MB / 0.8771 GB, free: 8.883 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002488/0.4989, allocations: 1.935 MB / 0.879 GB, free: 6.645 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/0.4989, allocations: 8 kB / 0.879 GB, free: 6.637 MB / 0.5607 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003626/0.5025, allocations: 2.216 MB / 0.8812 GB, free: 4.414 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.5025, allocations: 16 kB / 0.8812 GB, free: 4.398 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.771e-05/0.5026, allocations: 43.98 kB / 0.8813 GB, free: 4.355 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.077e-05/0.5026, allocations: 31.98 kB / 0.8813 GB, free: 4.324 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00113/0.5038, allocations: 240.3 kB / 0.8815 GB, free: 4.09 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.057e-05/0.5038, allocations: 43.86 kB / 0.8816 GB, free: 4.047 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001836/0.5056, allocations: 206.5 kB / 0.8818 GB, free: 3.844 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/0.5058, allocations: 103.9 kB / 0.8819 GB, free: 3.742 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * 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 (125): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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 0.0005555/0.5064, allocations: 393.1 kB / 0.8822 GB, free: 3.348 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002559/0.5066, allocations: 127 kB / 0.8823 GB, free: 3.223 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002351/0.5068, allocations: 125 kB / 0.8825 GB, free: 3.094 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.5069, allocations: 4 kB / 0.8825 GB, free: 3.09 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.5069, allocations: 0 / 0.8825 GB, free: 3.09 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.5069, allocations: 7.938 kB / 0.8825 GB, free: 3.082 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001163/0.508, allocations: 0.8459 MB / 0.8833 GB, free: 2.184 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.423e-05/0.5081, allocations: 23.98 kB / 0.8833 GB, free: 2.16 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.5082, allocations: 43.97 kB / 0.8834 GB, free: 2.117 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5082, allocations: 0 / 0.8834 GB, free: 2.117 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.889e-05/0.5083, allocations: 16 kB / 0.8834 GB, free: 2.102 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.5083, allocations: 0 / 0.8834 GB, free: 2.102 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.5083, allocations: 0 / 0.8834 GB, free: 2.102 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001293/0.5096, allocations: 0.9539 MB / 0.8843 GB, free: 1.129 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005537/0.5101, allocations: 323.9 kB / 0.8846 GB, free: 0.793 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001432/0.5103, allocations: 4 kB / 0.8846 GB, free: 0.7891 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005838/0.5108, allocations: 15.98 kB / 0.8846 GB, free: 0.7734 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.025e-05/0.5109, allocations: 27.91 kB / 0.8847 GB, free: 0.7461 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.828e-05/0.511, allocations: 47.98 kB / 0.8847 GB, free: 0.6992 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.001708/0.5127, allocations: 1.161 MB / 0.8859 GB, free: 15.52 MB / 0.5763 GB Notification: Performance of sort global known variables: time 9e-08/0.5127, allocations: 0 / 0.8859 GB, free: 15.52 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.001323/0.514, allocations: 411.4 kB / 0.8862 GB, free: 15.12 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 (28): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001542/0.5155, allocations: 0.6064 MB / 0.8868 GB, free: 14.64 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.002281/0.5178, allocations: 1.634 MB / 0.8884 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5178, allocations: 0 / 0.8884 GB, free: 12.95 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0007254/0.5185, allocations: 0.6683 MB / 0.8891 GB, free: 12.23 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.5196, allocations: 216.5 kB / 0.8893 GB, free: 12.02 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003309/0.5229, allocations: 2.065 MB / 0.8913 GB, free: 9.914 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008869/0.5238, allocations: 1.14 MB / 0.8924 GB, free: 8.746 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005617/0.5244, allocations: 131.3 kB / 0.8925 GB, free: 8.617 MB / 0.5763 GB Notification: Performance of SimCode: time 4.51e-07/0.5244, allocations: 0 / 0.8925 GB, free: 8.617 MB / 0.5763 GB Notification: Performance of Templates: time 0.0333/0.5577, allocations: 23.11 MB / 0.9151 GB, free: 1.504 MB / 0.5919 GB [Timeout remaining time 659] make -j1 -f TILMedia_TILMedia.Testers.TestGas.makefile [Timeout 660] make -j1 -f TILMedia_TILMedia.Testers.TestGas.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.TestGasCalcHelperMain.o OMCppTILMedia_TILMedia.Testers.TestGasCalcHelperMain.cpp In file included from OMCppTILMedia_TILMedia.Testers.TestGasCalcHelperMain.cpp:28: ./OMCppTILMedia_TILMedia.Testers.TestGasFunctions.cpp:615: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.TestGasFunctions.cpp:89: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.TestGasFunctions.cpp:709: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.TestGasFunctions.cpp:87: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.TestGasFunctions.cpp:735: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.TestGasFunctions.cpp:86: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.TestGasFunctions.cpp:761: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.TestGasFunctions.cpp:85: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.TestGasFunctions.cpp:800: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.TestGasFunctions.cpp:84: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.TestGasFunctions.cpp:850: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.TestGasFunctions.cpp:83: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.TestGasFunctions.cpp:887: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.TestGasFunctions.cpp:82: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.TestGasFunctions.cpp:913:12: error: no matching function for call to 'TILMedia_Gas_specificEnthalpy_psxi' h__ext = TILMedia_Gas_specificEnthalpy_psxi(p__ext, s__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestGasFunctions.cpp:81:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_Gas_specificEnthalpy_psxi(double, double, double*, void*); ^ ./OMCppTILMedia_TILMedia.Testers.TestGasFunctions.cpp:939: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.TestGasFunctions.cpp:80: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.TestGasFunctions.cpp:965: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.TestGasFunctions.cpp:79: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.TestGasFunctions.cpp:991: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.TestGasFunctions.cpp:78: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.TestGasFunctions.cpp:1017:12: error: no matching function for call to 'TILMedia_Gas_temperature_psxi' T__ext = TILMedia_Gas_temperature_psxi(p__ext, s__ext, ConstArray(xi_).getData(), gasPointer__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_TILMedia.Testers.TestGasFunctions.cpp:77:8: note: candidate function not viable: 3rd argument ('const double *') would lose const qualifier double TILMedia_Gas_temperature_psxi(double, double, double*, void*); ^ ./OMCppTILMedia_TILMedia.Testers.TestGasFunctions.cpp:1044: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.TestGasFunctions.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) { ^ 13 errors generated. make: *** [: OMCppTILMedia_TILMedia.Testers.TestGasCalcHelperMain.o] Error 1