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.01272/0.01272, allocations: 1.334 MB / 21.03 MB, free: 0.6133 MB / 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.8819/0.8819, allocations: 102.5 MB / 127 MB, free: 92 kB / 110.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.1104/0.1104, allocations: 18.23 MB / 176.9 MB, free: 15.16 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.001409/0.001409, allocations: 85.73 kB / 215.9 MB, free: 1.793 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.001532/0.001532, allocations: 163.6 kB / 255 MB, free: 10.64 MB / 238.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.402/1.402, allocations: 177.2 MB / 471.2 MB, free: 2.977 MB / 334.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.004873/0.004873, allocations: 0.5533 MB / 0.5507 GB, free: 6.133 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.005184/0.005184, allocations: 176.8 kB / 0.7451 GB, free: 15.04 MB / 0.5763 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4244/0.4296, allocations: 89.32 MB / 0.8323 GB, free: 38.87 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(TILMedia_AddOn_Tests.Liquid.LiquidFunctions): time 0.001888/0.4315, allocations: 0.7127 MB / 0.833 GB, free: 38.42 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002391/0.4339, allocations: 2.235 MB / 0.8352 GB, free: 36.91 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.83e-05/0.4339, allocations: 3.938 kB / 0.8352 GB, free: 36.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005829/0.4345, allocations: 123.6 kB / 0.8353 GB, free: 36.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0008627/0.4354, allocations: 362.3 kB / 0.8356 GB, free: 36.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 5.811e-06/0.4354, allocations: 0 / 0.8356 GB, free: 36.71 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.294e-05/0.4355, allocations: 65.05 kB / 0.8357 GB, free: 36.68 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.85e-05/0.4355, allocations: 4.547 kB / 0.8357 GB, free: 36.68 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.4356, allocations: 23.91 kB / 0.8357 GB, free: 36.67 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005826/0.4414, allocations: 0.5746 MB / 0.8363 GB, free: 36.51 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.891e-05/0.4414, allocations: 0 / 0.8363 GB, free: 36.51 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004628/0.446, allocations: 0.991 MB / 0.8372 GB, free: 36.22 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.769e-05/0.4461, allocations: 7.109 kB / 0.8373 GB, free: 36.21 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.728e-05/0.4461, allocations: 14.94 kB / 0.8373 GB, free: 36.2 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0009616/0.4471, allocations: 0.4888 MB / 0.8377 GB, free: 36.03 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.4471, allocations: 0 / 0.8377 GB, free: 36.03 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.705e-06/0.4471, allocations: 3.188 kB / 0.8378 GB, free: 36.03 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.4471, allocations: 4 kB / 0.8378 GB, free: 36.02 MB / 0.5919 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.0004/0.4475, allocations: 346.1 kB / 0.8381 GB, free: 35.7 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.4475, allocations: 9.188 kB / 0.8381 GB, free: 35.7 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001433/0.4477, allocations: 95.58 kB / 0.8382 GB, free: 35.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005651/0.4482, allocations: 390.8 kB / 0.8386 GB, free: 35.34 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.234e-05/0.4483, allocations: 158.4 kB / 0.8387 GB, free: 35.18 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.4483, allocations: 153.6 kB / 0.8389 GB, free: 35.03 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.016e-05/0.4483, allocations: 101 kB / 0.839 GB, free: 34.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.4484, allocations: 75.28 kB / 0.839 GB, free: 34.85 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.569e-05/0.4484, allocations: 157.4 kB / 0.8392 GB, free: 34.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/0.4484, allocations: 154.6 kB / 0.8393 GB, free: 34.55 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.676e-05/0.4484, allocations: 153.8 kB / 0.8395 GB, free: 34.4 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001883/0.4486, allocations: 413.8 kB / 0.8399 GB, free: 33.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.034e-05/0.4487, allocations: 172.2 kB / 0.84 GB, free: 33.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.707e-05/0.4487, allocations: 84.08 kB / 0.8401 GB, free: 33.71 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.822e-05/0.4487, allocations: 75.28 kB / 0.8402 GB, free: 33.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.4487, allocations: 109 kB / 0.8403 GB, free: 33.53 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.4487, allocations: 0 / 0.8403 GB, free: 33.53 MB / 0.5919 GB Notification: Performance of matching and sorting (n=0): time 0.0001744/0.4489, allocations: 54.52 kB / 0.8403 GB, free: 33.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.449, allocations: 130 kB / 0.8405 GB, free: 33.34 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.4491, allocations: 139.1 kB / 0.8406 GB, free: 33.23 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.462e-06/0.4491, allocations: 29.7 kB / 0.8406 GB, free: 33.2 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.4491, allocations: 90.77 kB / 0.8407 GB, free: 33.11 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.116e-06/0.4491, allocations: 0 / 0.8407 GB, free: 33.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.4492, allocations: 17.03 kB / 0.8407 GB, free: 33.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.694e-05/0.4492, allocations: 314.2 kB / 0.841 GB, free: 32.78 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.102e-05/0.4492, allocations: 3.156 kB / 0.841 GB, free: 32.78 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.183e-06/0.4492, allocations: 0 / 0.841 GB, free: 32.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.612e-05/0.4493, allocations: 11.86 kB / 0.841 GB, free: 32.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.4493, allocations: 0 / 0.841 GB, free: 32.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001053/0.4494, allocations: 50.53 kB / 0.8411 GB, free: 32.72 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.4494, allocations: 7.25 kB / 0.8411 GB, free: 32.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4494, allocations: 0 / 0.8411 GB, free: 32.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.4494, allocations: 0 / 0.8411 GB, free: 32.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.542e-05/0.4494, allocations: 6.75 kB / 0.8411 GB, free: 32.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4495, allocations: 0 / 0.8411 GB, free: 32.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.228e-05/0.4495, allocations: 0 / 0.8411 GB, free: 32.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.4495, allocations: 2.875 kB / 0.8411 GB, free: 32.71 MB / 0.5919 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 6.579e-05/0.4495, allocations: 192.4 kB / 0.8413 GB, free: 32.52 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.4496, allocations: 108.2 kB / 0.8414 GB, free: 32.41 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.358e-05/0.4496, allocations: 127.4 kB / 0.8415 GB, free: 32.29 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.982e-05/0.4497, allocations: 176.3 kB / 0.8417 GB, free: 32.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.913e-05/0.4497, allocations: 180.2 kB / 0.8418 GB, free: 31.92 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.456e-05/0.4497, allocations: 179.5 kB / 0.842 GB, free: 31.74 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001311/0.4499, allocations: 362.2 kB / 0.8424 GB, free: 31.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.001e-05/0.4499, allocations: 116 kB / 0.8425 GB, free: 31.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.612e-05/0.4499, allocations: 101 kB / 0.8426 GB, free: 31.14 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.901e-05/0.4499, allocations: 187 kB / 0.8428 GB, free: 30.96 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.192e-05/0.45, allocations: 176.3 kB / 0.8429 GB, free: 30.78 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.62e-05/0.45, allocations: 180.3 kB / 0.8431 GB, free: 30.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.694e-05/0.45, allocations: 183.4 kB / 0.8433 GB, free: 30.41 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.064e-05/0.4501, allocations: 317.6 kB / 0.8436 GB, free: 30.09 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.4501, allocations: 108.1 kB / 0.8437 GB, free: 29.98 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.548e-05/0.4502, allocations: 187.1 kB / 0.8438 GB, free: 29.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.485e-05/0.4502, allocations: 108.9 kB / 0.844 GB, free: 29.68 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.36e-05/0.4503, allocations: 176.3 kB / 0.8441 GB, free: 29.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.807e-05/0.4503, allocations: 112.1 kB / 0.8442 GB, free: 29.39 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 6.703e-05/0.4503, allocations: 106.2 kB / 0.8443 GB, free: 29.3 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.4503, allocations: 0 / 0.8443 GB, free: 29.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000405/0.4508, allocations: 95.08 kB / 0.8444 GB, free: 29.28 MB / 0.5919 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.001006/0.4518, allocations: 465.5 kB / 0.8449 GB, free: 29.01 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.149e-05/0.4518, allocations: 7 kB / 0.8449 GB, free: 29.01 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.4518, allocations: 0 / 0.8449 GB, free: 29.01 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.844e-06/0.4518, allocations: 0 / 0.8449 GB, free: 29.01 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002908/0.4521, allocations: 462.8 kB / 0.8453 GB, free: 28.55 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000262/0.4524, allocations: 219.5 kB / 0.8455 GB, free: 28.33 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.188e-05/0.4524, allocations: 67.64 kB / 0.8456 GB, free: 28.26 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.512e-05/0.4525, allocations: 22.02 kB / 0.8456 GB, free: 28.25 MB / 0.5919 GB Notification: Performance of SimCode: time 2.81e-07/0.4525, allocations: 0 / 0.8456 GB, free: 28.25 MB / 0.5919 GB Notification: Performance of Templates: time 0.005231/0.4577, allocations: 2.27 MB / 0.8478 GB, free: 28 MB / 0.5919 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.723878901917487] Failed to read output from testmodel.py, exit status != 0: 0.4673573679756373 0.480370801 0.030442778 Calling exit ...