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.1.1-Release_Dymola_2023x_Refresh_1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.1.1-Release_Dymola_2023x_Refresh_1/package.mo): time 0.01142/0.01142, allocations: 1.43 MB / 18.44 MB, free: 4.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.8.2-main/package.mo): time 0.9199/0.9199, allocations: 129 MB / 150.5 MB, free: 12.13 MB / 126.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 105.2 kB / 181.4 MB, free: 3.742 MB / 142.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001454/0.001454, allocations: 196 kB / 212.4 MB, free: 10 MB / 174.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.524/1.524, allocations: 225.6 MB / 468.9 MB, free: 12.21 MB / 318.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.2-main/package.mo): time 0.1075/0.1075, allocations: 23.17 MB / 0.5615 GB, free: 5.84 MB / 414.1 MB " [Timeout remaining time 180] 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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtIInt 0.1.1-Release_Dymola_2023x_Refresh_1/package.mo) Running command: translateModel(TILMedia.Testers.TestGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas") translateModel(TILMedia.Testers.TestGas,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="TILMedia_TILMedia.Testers.TestGas") [Timeout 660] "Warning: Requested package SMArtIInt of version 0.2.2, but this package was already loaded with version 0.1.1. There are no conversion annotations for this version but 0.2.2 is newer than 0.1.1. There is a possibility that 0.1.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.003774/0.003774, allocations: 135.8 kB / 0.7477 GB, free: 4.223 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.472/0.4757, allocations: 86.81 MB / 0.8324 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(TILMedia.Testers.TestGas): time 0.003537/0.4793, allocations: 2.864 MB / 0.8352 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005347/0.4846, allocations: 4.471 MB / 0.8396 GB, free: 68 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.4848, allocations: 8.062 kB / 0.8396 GB, free: 64 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0009021/0.4857, allocations: 232.6 kB / 0.8398 GB, free: 15.95 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0005482/0.4863, allocations: 261.7 kB / 0.8401 GB, free: 15.8 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.4881, allocations: 0.7666 MB / 0.8408 GB, free: 15.28 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.4891, allocations: 0.8506 MB / 0.8417 GB, free: 14.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.063e-05/0.4892, allocations: 33.38 kB / 0.8417 GB, free: 14.77 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003402/0.4896, allocations: 300.1 kB / 0.842 GB, free: 14.61 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001354/0.4909, allocations: 1.176 MB / 0.8431 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000397/0.4913, allocations: 258.8 kB / 0.8434 GB, free: 13.96 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002642/0.494, allocations: 1.495 MB / 0.8448 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0009565/0.4949, allocations: 0.8269 MB / 0.8456 GB, free: 12.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001083/0.496, allocations: 0.8813 MB / 0.8465 GB, free: 11.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004202/0.5002, allocations: 3.114 MB / 0.8495 GB, free: 10.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5002, allocations: 0 / 0.8495 GB, free: 10.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5002, allocations: 1.375 kB / 0.8495 GB, free: 10.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.23e-05/0.5002, allocations: 0 / 0.8495 GB, free: 10.1 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.007118/0.5073, allocations: 2.84 MB / 0.8523 GB, free: 8.398 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.916e-05/0.5074, allocations: 9.906 kB / 0.8523 GB, free: 8.398 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004741/0.5079, allocations: 114.8 kB / 0.8524 GB, free: 8.328 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003978/0.5118, allocations: 2.108 MB / 0.8545 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.5119, allocations: 30.41 kB / 0.8545 GB, free: 6.938 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001845/0.512, allocations: 52.3 kB / 0.8546 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003647/0.5157, allocations: 2.354 MB / 0.8569 GB, free: 5.574 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.5157, allocations: 1.281 kB / 0.8569 GB, free: 5.574 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.5158, allocations: 15.69 kB / 0.8569 GB, free: 5.562 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-05/0.5159, allocations: 50.94 kB / 0.8569 GB, free: 5.547 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005595/0.5215, allocations: 3.796 MB / 0.8606 GB, free: 3.906 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01523/0.5367, allocations: 6.29 MB / 0.8668 GB, free: 15.81 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005704/0.5373, allocations: 374.9 kB / 0.8671 GB, free: 15.64 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003308/0.5376, allocations: 269.6 kB / 0.8674 GB, free: 15.52 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001007/0.5377, allocations: 23.09 kB / 0.8674 GB, free: 15.5 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.5378, allocations: 36.33 kB / 0.8675 GB, free: 15.46 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=142): time 2.114e-06/0.5378, allocations: 1.5 kB / 0.8675 GB, free: 15.46 MB / 0.5607 GB Notification: Performance of matching and sorting (n=142): time 0.00171/0.5395, allocations: 1.172 MB / 0.8686 GB, free: 14.98 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.5395, allocations: 59.3 kB / 0.8687 GB, free: 14.92 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002398/0.5419, allocations: 1.646 MB / 0.8703 GB, free: 13.7 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.542, allocations: 29.7 kB / 0.8703 GB, free: 13.66 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.000492/0.5425, allocations: 0.5665 MB / 0.8708 GB, free: 13.09 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004217/0.5429, allocations: 495.7 kB / 0.8713 GB, free: 12.6 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005847/0.5435, allocations: 290.4 kB / 0.8716 GB, free: 12.31 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001938/0.5437, allocations: 353.9 kB / 0.8719 GB, free: 11.96 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001157/0.5448, allocations: 0.729 MB / 0.8726 GB, free: 11.23 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00174/0.5466, allocations: 1.367 MB / 0.874 GB, free: 9.57 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002463/0.549, allocations: 1.946 MB / 0.8759 GB, free: 7.32 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.274e-05/0.549, allocations: 8 kB / 0.8759 GB, free: 7.312 MB / 0.5607 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.003642/0.5527, allocations: 2.216 MB / 0.8781 GB, free: 5.09 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 2.977e-05/0.5527, allocations: 20.03 kB / 0.8781 GB, free: 5.07 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-05/0.5528, allocations: 47.98 kB / 0.8781 GB, free: 5.023 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.038e-05/0.5528, allocations: 28 kB / 0.8781 GB, free: 4.996 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/0.554, allocations: 235.6 kB / 0.8784 GB, free: 4.766 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.229e-05/0.5541, allocations: 47.78 kB / 0.8784 GB, free: 4.719 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.5562, allocations: 214.5 kB / 0.8786 GB, free: 4.508 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001586/0.5564, allocations: 88 kB / 0.8787 GB, free: 4.422 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.0006433/0.557, allocations: 401.1 kB / 0.8791 GB, free: 4.02 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002261/0.5573, allocations: 119.1 kB / 0.8792 GB, free: 3.902 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002485/0.5575, allocations: 117 kB / 0.8793 GB, free: 3.781 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.5575, allocations: 4 kB / 0.8793 GB, free: 3.777 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.193e-06/0.5575, allocations: 0 / 0.8793 GB, free: 3.777 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.5575, allocations: 11.92 kB / 0.8793 GB, free: 3.766 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001116/0.5587, allocations: 0.8419 MB / 0.8802 GB, free: 2.871 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.13e-05/0.5587, allocations: 23.98 kB / 0.8802 GB, free: 2.848 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000133/0.5588, allocations: 47.92 kB / 0.8802 GB, free: 2.801 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.5588, allocations: 7.938 kB / 0.8802 GB, free: 2.793 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.111e-05/0.5589, allocations: 19.98 kB / 0.8802 GB, free: 2.773 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.5589, allocations: 4 kB / 0.8803 GB, free: 2.77 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.5589, allocations: 0 / 0.8803 GB, free: 2.77 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00126/0.5601, allocations: 0.9462 MB / 0.8812 GB, free: 1.805 MB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004911/0.5606, allocations: 315.9 kB / 0.8815 GB, free: 1.477 MB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.5608, allocations: 4 kB / 0.8815 GB, free: 1.473 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006761/0.5614, allocations: 19.97 kB / 0.8815 GB, free: 1.453 MB / 0.5607 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.451e-05/0.5615, allocations: 35.91 kB / 0.8815 GB, free: 1.418 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/0.5616, allocations: 36 kB / 0.8816 GB, free: 1.383 MB / 0.5607 GB Notification: Performance of sorting global known variables: time 0.001659/0.5632, allocations: 1.161 MB / 0.8827 GB, free: 216 kB / 0.5607 GB Notification: Performance of sort global known variables: time 8e-08/0.5632, allocations: 0 / 0.8827 GB, free: 216 kB / 0.5607 GB Notification: Performance of remove unused functions: time 0.001443/0.5647, allocations: 415.3 kB / 0.8831 GB, free: 15.8 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.001551/0.5662, allocations: 0.6077 MB / 0.8837 GB, free: 15.32 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.002347/0.5686, allocations: 1.635 MB / 0.8853 GB, free: 13.63 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.5686, allocations: 0 / 0.8853 GB, free: 13.63 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 0.0007517/0.5693, allocations: 0.6725 MB / 0.8859 GB, free: 12.91 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.5705, allocations: 218.5 kB / 0.8862 GB, free: 12.7 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003225/0.5737, allocations: 2.069 MB / 0.8882 GB, free: 10.59 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000878/0.5746, allocations: 1.136 MB / 0.8893 GB, free: 9.422 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006071/0.5752, allocations: 131.3 kB / 0.8894 GB, free: 9.293 MB / 0.5763 GB Notification: Performance of SimCode: time 4.41e-07/0.5752, allocations: 4 kB / 0.8894 GB, free: 9.289 MB / 0.5763 GB Notification: Performance of Templates: time 0.03575/0.6109, allocations: 23.1 MB / 0.912 GB, free: 2.176 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_2/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_2/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 [Calling os._exit(0), Time elapsed: 6.12847054284066] Failed to read output from testmodel.py, exit status != 0: 0.6193157150410116 0.632663077 0.12951474500000001 Calling exit ...