Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctions.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.005828/0.005828, allocations: 1.439 MB / 21.3 MB, free: 3.254 MB / 18.57 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.5305/0.5305, allocations: 102.5 MB / 127.3 MB, free: 13.07 MB / 122.8 MB " [Timeout remaining time 179] 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.06527/0.06527, allocations: 18.21 MB / 177.2 MB, free: 11.66 MB / 170.8 MB " [Timeout remaining time 180] 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.001005/0.001005, allocations: 83.31 kB / 216.2 MB, free: 13.85 MB / 202.8 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.0009574/0.0009574, allocations: 168.5 kB / 255.4 MB, free: 6.652 MB / 234.8 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 0.7863/0.7863, allocations: 177.1 MB / 471.5 MB, free: 15.57 MB / 346.8 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia_AddOn_Tests main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia_AddOn_Tests main/package.mo): time 0.002419/0.002419, allocations: 0.5532 MB / 0.5512 GB, free: 2.48 MB / 426.8 MB " [Timeout remaining time 180] Using package TILMedia_AddOn_Tests with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia_AddOn_Tests 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 TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/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.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(TILMedia_AddOn_Tests.Liquid.LiquidFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50,variableFilter="",fileNamePrefix="TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctions") translateModel(TILMedia_AddOn_Tests.Liquid.LiquidFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=50,variableFilter="",fileNamePrefix="TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctions") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 0.7455 GB, free: 11.02 MB / 0.573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.1e-05/2.232e-05, allocations: 4.812 kB / 0.7455 GB, free: 11.02 MB / 0.573 GB Notification: Performance of NFInst.instantiate(TILMedia_AddOn_Tests.Liquid.LiquidFunctions): time 0.001374/0.001396, allocations: 0.713 MB / 0.7462 GB, free: 10.3 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.002227/0.003623, allocations: 2.215 MB / 0.7484 GB, free: 8.066 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.273e-05/0.003666, allocations: 3.938 kB / 0.7484 GB, free: 8.062 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.0005697/0.004235, allocations: 135.4 kB / 0.7485 GB, free: 7.93 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.0009538/0.005189, allocations: 356.1 kB / 0.7489 GB, free: 7.586 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 4.278e-06/0.005193, allocations: 4 kB / 0.7489 GB, free: 7.582 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 9.705e-05/0.00529, allocations: 51.84 kB / 0.7489 GB, free: 7.531 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 3.589e-05/0.005326, allocations: 4 kB / 0.7489 GB, free: 7.527 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 5.4e-05/0.00538, allocations: 35.83 kB / 0.749 GB, free: 7.492 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002495/0.007876, allocations: 0.5638 MB / 0.7495 GB, free: 7.062 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 1.783e-05/0.007894, allocations: 8 kB / 0.7495 GB, free: 7.055 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001919/0.009812, allocations: 0.9875 MB / 0.7505 GB, free: 6.195 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 4.456e-05/0.009857, allocations: 23.91 kB / 0.7505 GB, free: 6.172 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 2.099e-05/0.009878, allocations: 3.938 kB / 0.7505 GB, free: 6.168 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.0007212/0.0106, allocations: 0.5414 MB / 0.751 GB, free: 5.625 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.0106, allocations: 0 / 0.751 GB, free: 5.625 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.704e-06/0.0106, allocations: 3.938 kB / 0.751 GB, free: 5.621 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.01061, allocations: 0 / 0.751 GB, free: 5.621 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003638/0.01097, allocations: 337.5 kB / 0.7514 GB, free: 5.262 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.01101, allocations: 12.03 kB / 0.7514 GB, free: 5.25 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.01114, allocations: 88.2 kB / 0.7515 GB, free: 5.164 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004783/0.01162, allocations: 396.6 kB / 0.7518 GB, free: 4.75 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.795e-05/0.01165, allocations: 154.9 kB / 0.752 GB, free: 4.598 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.223e-05/0.01169, allocations: 150.9 kB / 0.7521 GB, free: 4.449 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.155e-05/0.01174, allocations: 112.9 kB / 0.7522 GB, free: 4.332 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.01176, allocations: 75.28 kB / 0.7523 GB, free: 4.258 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.0118, allocations: 154.6 kB / 0.7525 GB, free: 4.105 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.385e-05/0.01183, allocations: 154.5 kB / 0.7526 GB, free: 3.953 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.658e-05/0.01187, allocations: 154.6 kB / 0.7527 GB, free: 3.801 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.01207, allocations: 413.6 kB / 0.7531 GB, free: 3.367 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 6.122e-05/0.01213, allocations: 165.1 kB / 0.7533 GB, free: 3.195 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.375e-05/0.01215, allocations: 88.14 kB / 0.7534 GB, free: 3.105 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.041e-05/0.01217, allocations: 79.28 kB / 0.7535 GB, free: 3.027 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/0.01221, allocations: 113.7 kB / 0.7536 GB, free: 2.906 MB / 0.573 GB Notification: Performance of pre-optimization done (n=0): time 1.052e-06/0.01221, allocations: 0 / 0.7536 GB, free: 2.906 MB / 0.573 GB Notification: Performance of matching and sorting (n=0): time 0.0001174/0.01233, allocations: 41.64 kB / 0.7536 GB, free: 2.859 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.344e-05/0.01237, allocations: 130.7 kB / 0.7537 GB, free: 2.719 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.0125, allocations: 138.1 kB / 0.7539 GB, free: 2.57 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-06/0.01251, allocations: 25.7 kB / 0.7539 GB, free: 2.539 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 3.536e-05/0.01255, allocations: 92.12 kB / 0.754 GB, free: 2.445 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.01255, allocations: 0 / 0.754 GB, free: 2.445 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.989e-05/0.01258, allocations: 17.72 kB / 0.754 GB, free: 2.422 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.427e-05/0.01265, allocations: 314.8 kB / 0.7543 GB, free: 2.105 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-06/0.01266, allocations: 0 / 0.7543 GB, free: 2.105 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.394e-06/0.01267, allocations: 4 kB / 0.7543 GB, free: 2.102 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.674e-05/0.01269, allocations: 12.78 kB / 0.7543 GB, free: 2.086 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.0127, allocations: 0 / 0.7543 GB, free: 2.086 MB / 0.573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.177e-05/0.01279, allocations: 41.66 kB / 0.7544 GB, free: 2.039 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.0128, allocations: 14.28 kB / 0.7544 GB, free: 2.027 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.01281, allocations: 0 / 0.7544 GB, free: 2.027 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.01282, allocations: 4.094 kB / 0.7544 GB, free: 2.023 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.468e-05/0.01288, allocations: 0 / 0.7544 GB, free: 2.023 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.569e-06/0.01288, allocations: 0 / 0.7544 GB, free: 2.023 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.521e-05/0.0129, allocations: 4 kB / 0.7544 GB, free: 2.02 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.0129, allocations: 0 / 0.7544 GB, free: 2.02 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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.453e-05/0.01297, allocations: 193.1 kB / 0.7546 GB, free: 1.82 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.01301, allocations: 112.8 kB / 0.7547 GB, free: 1.703 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.293e-05/0.01305, allocations: 108.8 kB / 0.7548 GB, free: 1.59 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.872e-05/0.01309, allocations: 180.2 kB / 0.7549 GB, free: 1.406 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-05/0.01313, allocations: 188.2 kB / 0.7551 GB, free: 1.215 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.852e-05/0.01317, allocations: 180.2 kB / 0.7553 GB, free: 1.031 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000137/0.0133, allocations: 372.8 kB / 0.7556 GB, free: 0.6289 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.139e-05/0.01332, allocations: 101 kB / 0.7557 GB, free: 0.5234 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.314e-05/0.01335, allocations: 108.9 kB / 0.7558 GB, free: 420 kB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.055e-05/0.01339, allocations: 184.2 kB / 0.756 GB, free: 228 kB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.212e-05/0.01344, allocations: 184.2 kB / 0.7562 GB, free: 36 kB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.507e-05/0.0135, allocations: 184.2 kB / 0.7564 GB, free: 15.85 MB / 0.5887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-05/0.01354, allocations: 176.3 kB / 0.7565 GB, free: 15.67 MB / 0.5887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001196/0.01366, allocations: 311.7 kB / 0.7568 GB, free: 15.34 MB / 0.5887 GB Notification: Performance of postOpt removeConstants (simulation): time 3.704e-05/0.0137, allocations: 109 kB / 0.7569 GB, free: 15.23 MB / 0.5887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.663e-05/0.01374, allocations: 184.1 kB / 0.7571 GB, free: 15.04 MB / 0.5887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.742e-05/0.01379, allocations: 109 kB / 0.7572 GB, free: 14.93 MB / 0.5887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.01383, allocations: 184.2 kB / 0.7574 GB, free: 14.74 MB / 0.5887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.01385, allocations: 101 kB / 0.7575 GB, free: 14.63 MB / 0.5887 GB Notification: Performance of sorting global known variables: time 0.0002076/0.01406, allocations: 118.9 kB / 0.7576 GB, free: 14.52 MB / 0.5887 GB Notification: Performance of sort global known variables: time 5e-08/0.01406, allocations: 0 / 0.7576 GB, free: 14.52 MB / 0.5887 GB Notification: Performance of remove unused functions: time 0.0002866/0.01435, allocations: 91.69 kB / 0.7577 GB, free: 14.43 MB / 0.5887 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 (0): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0006387/0.01499, allocations: 478.2 kB / 0.7582 GB, free: 14 MB / 0.5887 GB Notification: Performance of simCode: created initialization part: time 6.436e-05/0.01505, allocations: 7.938 kB / 0.7582 GB, free: 13.99 MB / 0.5887 GB Notification: Performance of simCode: created event and clocks part: time 3.667e-06/0.01506, allocations: 8.062 kB / 0.7582 GB, free: 13.98 MB / 0.5887 GB Notification: Performance of simCode: created simulation system equations: time 1.412e-06/0.01506, allocations: 0 / 0.7582 GB, free: 13.98 MB / 0.5887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.0153, allocations: 462.5 kB / 0.7586 GB, free: 13.53 MB / 0.5887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002397/0.01554, allocations: 225.8 kB / 0.7588 GB, free: 13.28 MB / 0.5887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.516e-05/0.01558, allocations: 63.34 kB / 0.7589 GB, free: 13.2 MB / 0.5887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.964e-05/0.01562, allocations: 20.48 kB / 0.7589 GB, free: 13.18 MB / 0.5887 GB Notification: Performance of SimCode: time 5.01e-07/0.01562, allocations: 0 / 0.7589 GB, free: 13.18 MB / 0.5887 GB Notification: Performance of Templates: time 0.003292/0.01892, allocations: 2.287 MB / 0.7611 GB, free: 10.89 MB / 0.5887 GB " [Timeout remaining time 660] make -j1 -f TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctions.makefile [Timeout 660] make -j1 -f TILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctions.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/jenkins/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/jenkins/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_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsCalcHelperMain.o OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsCalcHelperMain.cpp In file included from OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsCalcHelperMain.cpp:28: ./OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsFunctions.cpp:710:12: error: no matching function for call to 'TILMedia_LiquidFunctions_specificEnthalpy_Txi' 710 | h__ext = TILMedia_LiquidFunctions_specificEnthalpy_Txi(T__ext, ConstArray(xi_).getData(), liquidName_.c_str(), nc__ext); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsFunctions.cpp:77:8: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier 77 | double TILMedia_LiquidFunctions_specificEnthalpy_Txi(double, double*,const char*, int); | ^ ~~~~~~~ ./OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsFunctions.cpp:737:25: error: no matching function for call to 'TILMedia_createExternalObject' 737 | externalObject__ext = TILMedia_createExternalObject(objectType_.c_str(), mediumName_.c_str(), flags__ext, ConstArray(xi_).getData(), nc__ext, condensingIndex__ext, instanceName_.c_str()); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsFunctions.cpp:44:7: note: candidate function not viable: 4th argument ('const double *') would lose const qualifier 44 | void* TILMedia_createExternalObject(const char* objectType, const char* mixtureName, int flags, double* xi, int _nc, int condensingIndex, const char* instanceName) { | ^ ~~~~~~~~~~ ./OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsFunctions.cpp:817:53: error: no viable conversion from 'TILMedia_Liquid_Types_TILMedia__WaterType' to 'const TILMedia_Liquid_Types_BaseLiquidType' 817 | TILMedia_Liquid_Functions_specificEnthalpy__Txi(tmp44, (295.15 + u_), _OMC_LIT21,tmp45); | ^~~~~ ./OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsTypes.h:9:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'TILMedia_Liquid_Types_TILMedia__WaterType' to 'const TILMedia_Liquid_Types_BaseLiquidType &' for 1st argument 9 | struct TILMedia_Liquid_Types_BaseLiquidType | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsTypes.h:9:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'TILMedia_Liquid_Types_TILMedia__WaterType' to 'TILMedia_Liquid_Types_BaseLiquidType &&' for 1st argument 9 | struct TILMedia_Liquid_Types_BaseLiquidType | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsFunctions.cpp:763:109: note: passing argument to parameter 'liquidType_' here 763 | void Functions::TILMedia_Liquid_Functions_specificEnthalpy__Txi(const TILMedia_Liquid_Types_BaseLiquidType& liquidType_, double T_, const BaseArray& xi_, TILMedia_Liquid_Functions_specificEnthalpy__TxiRetType & output) | ^ In file included from OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsCalcHelperMain.cpp:29: ./OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsInitialize.cpp:197:65: error: no matching constructor for initialization of '_Closure1_TILMedia__AddOn__Tests_Liquid_LiquidFunctions_MyF2' 197 | _functions->Modelica_Math_Nonlinear_solveOneNonlinearEquation(_Closure1_TILMedia__AddOn__Tests_Liquid_LiquidFunctions_MyF2(_functions, /*box TILMedia_Liquid_Types_TILMedia__WaterType*/tmp5), -30.0, 100.0, 2.220446049250313e-14, tmp6); | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsInitialize.h:57:5: note: candidate constructor not viable: no known conversion from 'TILMedia_Liquid_Types_TILMedia__WaterType' to 'const TILMedia_Liquid_Types_BaseLiquidType' for 2nd argument 57 | _Closure1_TILMedia__AddOn__Tests_Liquid_LiquidFunctions_MyF2(Functions* functions, const TILMedia_Liquid_Types_BaseLiquidType& liquidType) | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsInitialize.h:52:9: note: candidate constructor (the implicit copy constructor) not viable: requires 1 argument, but 2 were provided 52 | class _Closure1_TILMedia__AddOn__Tests_Liquid_LiquidFunctions_MyF2 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsInitialize.h:52:9: note: candidate constructor (the implicit move constructor) not viable: requires 1 argument, but 2 were provided 52 | class _Closure1_TILMedia__AddOn__Tests_Liquid_LiquidFunctions_MyF2 | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4 errors generated. make: *** [: OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.6442506266757846] Failed to read output from testmodel.py, exit status != 0: 0.02428142912685871 0.27074286899999994 0.257473073 Calling exit ...