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.01058/0.01058, allocations: 1.747 MB / 21.35 MB, free: 480 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.8682/0.8682, allocations: 130.7 MB / 155.6 MB, free: 4.285 MB / 126.1 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.1173/0.1173, allocations: 25.6 MB / 212.8 MB, free: 9.047 MB / 174.1 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.001332/0.001332, allocations: 110.3 kB / 251.8 MB, free: 27.68 MB / 190.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 215.3 kB / 291.1 MB, free: 5.215 MB / 206.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.368/1.368, allocations: 230.6 MB / 0.5476 GB, free: 1.207 MB / 366.1 MB " [Timeout remaining time 178] 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.005131/0.005131, allocations: 0.6959 MB / 0.6384 GB, free: 7.676 MB / 430.1 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.3.1 (/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: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: TILMedia_AddOn_Tests requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004796/0.004796, allocations: 183.7 kB / 0.8329 GB, free: 53.51 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1397, allocations: 89.43 MB / 0.9203 GB, free: 11.9 MB / 0.5607 GB Notification: Performance of NFInst.instantiate(TILMedia_AddOn_Tests.Liquid.LiquidFunctions): time 0.002097/0.1418, allocations: 0.7079 MB / 0.921 GB, free: 11.19 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.003217/0.145, allocations: 2.215 MB / 0.9231 GB, free: 8.953 MB / 0.5607 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.855e-05/0.1451, allocations: 0 / 0.9231 GB, free: 8.953 MB / 0.5607 GB Notification: Performance of NFTyping.typeComponents: time 0.0005962/0.1457, allocations: 143.4 kB / 0.9233 GB, free: 8.812 MB / 0.5607 GB Notification: Performance of NFTyping.typeBindings: time 0.0009373/0.1466, allocations: 350.2 kB / 0.9236 GB, free: 8.473 MB / 0.5607 GB Notification: Performance of NFTyping.typeClassSections: time 4.479e-06/0.1466, allocations: 0 / 0.9236 GB, free: 8.473 MB / 0.5607 GB Notification: Performance of NFFlatten.flatten: time 9.498e-05/0.1467, allocations: 51.91 kB / 0.9236 GB, free: 8.422 MB / 0.5607 GB Notification: Performance of NFFlatten.resolveConnections: time 4.06e-05/0.1468, allocations: 7.984 kB / 0.9237 GB, free: 8.414 MB / 0.5607 GB Notification: Performance of NFEvalConstants.evaluate: time 5.687e-05/0.1468, allocations: 35.8 kB / 0.9237 GB, free: 8.379 MB / 0.5607 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01775/0.1646, allocations: 0.5654 MB / 0.9242 GB, free: 7.949 MB / 0.5607 GB Notification: Performance of NFPackage.collectConstants: time 2.39e-05/0.1646, allocations: 0 / 0.9242 GB, free: 7.949 MB / 0.5607 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004935/0.1695, allocations: 0.9926 MB / 0.9252 GB, free: 7.082 MB / 0.5607 GB Notification: Performance of NFScalarize.scalarize: time 5.546e-05/0.1696, allocations: 11.94 kB / 0.9252 GB, free: 7.07 MB / 0.5607 GB Notification: Performance of NFVerifyModel.verify: time 3.214e-05/0.1696, allocations: 11.92 kB / 0.9252 GB, free: 7.059 MB / 0.5607 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.1711, allocations: 0.4946 MB / 0.9257 GB, free: 6.562 MB / 0.5607 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.1711, allocations: 0 / 0.9257 GB, free: 6.562 MB / 0.5607 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1711, allocations: 0 / 0.9257 GB, free: 6.562 MB / 0.5607 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1711, allocations: 0 / 0.9257 GB, free: 6.562 MB / 0.5607 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.0005043/0.1716, allocations: 353.4 kB / 0.9261 GB, free: 6.188 MB / 0.5607 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.1716, allocations: 12.03 kB / 0.9261 GB, free: 6.176 MB / 0.5607 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001544/0.1718, allocations: 84.2 kB / 0.9261 GB, free: 6.094 MB / 0.5607 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006875/0.1725, allocations: 397.4 kB / 0.9265 GB, free: 5.68 MB / 0.5607 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.88e-05/0.1725, allocations: 154.5 kB / 0.9267 GB, free: 5.527 MB / 0.5607 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.587e-05/0.1726, allocations: 154.5 kB / 0.9268 GB, free: 5.375 MB / 0.5607 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.899e-05/0.1727, allocations: 105 kB / 0.9269 GB, free: 5.266 MB / 0.5607 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.972e-05/0.1727, allocations: 75.28 kB / 0.927 GB, free: 5.191 MB / 0.5607 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.224e-05/0.1728, allocations: 150.6 kB / 0.9271 GB, free: 5.043 MB / 0.5607 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.405e-05/0.1728, allocations: 150.6 kB / 0.9273 GB, free: 4.895 MB / 0.5607 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.655e-05/0.1729, allocations: 150.6 kB / 0.9274 GB, free: 4.746 MB / 0.5607 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003036/0.1732, allocations: 413.6 kB / 0.9278 GB, free: 4.312 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.1733, allocations: 173 kB / 0.928 GB, free: 4.133 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.293e-05/0.1734, allocations: 92.12 kB / 0.9281 GB, free: 4.039 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 3.882e-05/0.1734, allocations: 75.28 kB / 0.9281 GB, free: 3.965 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.37e-05/0.1735, allocations: 109.8 kB / 0.9282 GB, free: 3.848 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=0): time 9.11e-07/0.1735, allocations: 0 / 0.9282 GB, free: 3.848 MB / 0.5607 GB Notification: Performance of matching and sorting (n=0): time 0.0001868/0.1736, allocations: 53.56 kB / 0.9283 GB, free: 3.789 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.076e-05/0.1737, allocations: 130.7 kB / 0.9284 GB, free: 3.648 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001844/0.1739, allocations: 141.9 kB / 0.9286 GB, free: 3.5 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.1739, allocations: 25.7 kB / 0.9286 GB, free: 3.469 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 5.328e-05/0.174, allocations: 92.08 kB / 0.9287 GB, free: 3.375 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 2.194e-06/0.174, allocations: 0 / 0.9287 GB, free: 3.375 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5e-05/0.174, allocations: 21.7 kB / 0.9287 GB, free: 3.348 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.1742, allocations: 314.8 kB / 0.929 GB, free: 3.031 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.1742, allocations: 0 / 0.929 GB, free: 3.031 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.01e-05/0.1742, allocations: 4 kB / 0.929 GB, free: 3.027 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.611e-05/0.1742, allocations: 4.859 kB / 0.929 GB, free: 3.02 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1742, allocations: 0 / 0.929 GB, free: 3.02 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000121/0.1743, allocations: 53.52 kB / 0.929 GB, free: 2.961 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.1744, allocations: 8 kB / 0.9291 GB, free: 2.953 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.1744, allocations: 0 / 0.9291 GB, free: 2.953 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.1744, allocations: 96 / 0.9291 GB, free: 2.953 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.31e-05/0.1744, allocations: 4 kB / 0.9291 GB, free: 2.949 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.1744, allocations: 0 / 0.9291 GB, free: 2.949 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.133e-05/0.1744, allocations: 0 / 0.9291 GB, free: 2.949 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.1745, allocations: 8 kB / 0.9291 GB, free: 2.941 MB / 0.5607 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 0.0001322/0.1746, allocations: 193.1 kB / 0.9293 GB, free: 2.742 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/0.1747, allocations: 104.9 kB / 0.9294 GB, free: 2.633 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.835e-05/0.1747, allocations: 116.7 kB / 0.9295 GB, free: 2.512 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.557e-05/0.1748, allocations: 176.3 kB / 0.9296 GB, free: 2.332 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.501e-05/0.1749, allocations: 180.3 kB / 0.9298 GB, free: 2.148 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-05/0.175, allocations: 184.2 kB / 0.93 GB, free: 1.961 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.1752, allocations: 369 kB / 0.9303 GB, free: 1.562 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.077e-05/0.1752, allocations: 112.9 kB / 0.9304 GB, free: 1.445 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.861e-05/0.1753, allocations: 105 kB / 0.9305 GB, free: 1.336 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.633e-05/0.1754, allocations: 180.2 kB / 0.9307 GB, free: 1.152 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.57e-05/0.1754, allocations: 180.3 kB / 0.9309 GB, free: 0.9688 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.017e-05/0.1755, allocations: 184.2 kB / 0.9311 GB, free: 0.7812 MB / 0.5607 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.764e-05/0.1756, allocations: 180.2 kB / 0.9312 GB, free: 0.5977 MB / 0.5607 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.1758, allocations: 319.7 kB / 0.9315 GB, free: 268 kB / 0.5607 GB Notification: Performance of postOpt removeConstants (simulation): time 6.865e-05/0.1758, allocations: 112.9 kB / 0.9316 GB, free: 148 kB / 0.5607 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.801e-05/0.1759, allocations: 176.3 kB / 0.9318 GB, free: 15.96 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.648e-05/0.176, allocations: 108.9 kB / 0.9319 GB, free: 15.85 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.341e-05/0.1761, allocations: 180.3 kB / 0.9321 GB, free: 15.67 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.83e-05/0.1762, allocations: 112.9 kB / 0.9322 GB, free: 15.55 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001026/0.1763, allocations: 103.3 kB / 0.9323 GB, free: 15.45 MB / 0.5763 GB Notification: Performance of sort global known variables: time 8e-08/0.1763, allocations: 7.938 kB / 0.9323 GB, free: 15.44 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0004287/0.1767, allocations: 91.69 kB / 0.9324 GB, free: 15.35 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 (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.0009827/0.1777, allocations: 456.2 kB / 0.9328 GB, free: 14.95 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 6.978e-05/0.1777, allocations: 4 kB / 0.9328 GB, free: 14.94 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1778, allocations: 4.062 kB / 0.9328 GB, free: 14.94 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.1778, allocations: 0 / 0.9328 GB, free: 14.94 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004041/0.1782, allocations: 467.6 kB / 0.9333 GB, free: 14.48 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003048/0.1785, allocations: 214 kB / 0.9335 GB, free: 14.23 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.19e-05/0.1785, allocations: 71.33 kB / 0.9335 GB, free: 14.14 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/0.1786, allocations: 23.41 kB / 0.9336 GB, free: 14.12 MB / 0.5763 GB Notification: Performance of SimCode: time 3.11e-07/0.1786, allocations: 0 / 0.9336 GB, free: 14.12 MB / 0.5763 GB Notification: Performance of Templates: time 0.004625/0.1832, allocations: 2.267 MB / 0.9358 GB, free: 11.87 MB / 0.5763 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppTILMedia_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' 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 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' 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 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' 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 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 ./OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsFunctions.cpp:763:109: note: passing argument to parameter 'liquidType_' here 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 'LiquidFunctionsInitialize::_Closure1_TILMedia__AddOn__Tests_Liquid_LiquidFunctions_MyF2' _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 _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 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 4 errors generated. make: *** [: OMCppTILMedia_AddOn_Tests_TILMedia_AddOn_Tests.Liquid.LiquidFunctionsCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 5.414580211043358] Failed to read output from testmodel.py, exit status != 0: 0.19037045817822218 0.20566180499999995 0.031518856000000005 Calling exit ...