Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir2,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001529/0.001533, allocations: 187 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 90.86 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003795/0.0003797, allocations: 11.98 kB / 327.1 MB, free: 15 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09586/0.09628, allocations: 47.58 MB / 374.6 MB, free: 15.33 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.3452/0.4415, allocations: 49.96 MB / 424.6 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.009928/0.4515, allocations: 4.376 MB / 429 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008038/0.4524, allocations: 2.406 kB / 429 MB, free: 4.16 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001475/0.4539, allocations: 273.7 kB / 429.2 MB, free: 3.934 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001458/0.4554, allocations: 342.6 kB / 429.6 MB, free: 3.637 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02305/0.4785, allocations: 4.909 MB / 434.5 MB, free: 48 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002073/0.4806, allocations: 0.8425 MB / 435.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004276/0.4811, allocations: 152.6 kB / 435.5 MB, free: 15.31 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001486/0.4826, allocations: 0.5024 MB / 436 MB, free: 14.8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008853/0.4835, allocations: 374.8 kB / 436.3 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001719/0.4837, allocations: 40 kB / 436.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02479/0.5085, allocations: 8.447 MB / 444.8 MB, free: 5.941 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006059/0.5091, allocations: 255.4 kB / 445.1 MB, free: 5.691 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004169/0.5096, allocations: 173.4 kB / 445.3 MB, free: 5.516 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0109/0.5205, allocations: 3.68 MB / 448.9 MB, free: 1.828 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.5206, allocations: 0 / 448.9 MB, free: 1.828 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.5206, allocations: 4 kB / 448.9 MB, free: 1.824 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.5206, allocations: 0 / 448.9 MB, free: 1.824 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005104/0.5257, allocations: 1.369 MB / 450.3 MB, free: 416 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/0.5258, allocations: 8.031 kB / 450.3 MB, free: 408 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002862/0.5261, allocations: 106.5 kB / 450.4 MB, free: 292 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005922/0.5267, allocations: 83.23 kB / 450.5 MB, free: 208 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.5278, allocations: 425.1 kB / 450.9 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.681e-05/0.5278, allocations: 45.94 kB / 451 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00016/0.528, allocations: 60 kB / 451 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002916/0.5309, allocations: 0.799 MB / 451.8 MB, free: 14.84 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.438e-05/0.531, allocations: 11.91 kB / 451.8 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.5312, allocations: 31.89 kB / 451.9 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.59e-05/0.5312, allocations: 16 kB / 451.9 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003178/0.5344, allocations: 1.028 MB / 452.9 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02887/0.5633, allocations: 12.83 MB / 465.7 MB, free: 14.78 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002962/0.5663, allocations: 0.7567 MB / 466.5 MB, free: 14.01 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02474/0.5911, allocations: 12.3 MB / 478.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.654e-05/0.5912, allocations: 43.22 kB / 478.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.837e-06/0.5913, allocations: 0 / 478.8 MB, free: 15.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=88): time 0.01675/0.608, allocations: 3.421 MB / 482.3 MB, free: 11.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.98e-05/0.6082, allocations: 64.41 kB / 482.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.6092, allocations: 352.5 kB / 482.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003116/0.6096, allocations: 45.7 kB / 482.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.6099, allocations: 287.1 kB / 483 MB, free: 11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006234/0.6106, allocations: 303.6 kB / 483.3 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.243e-05/0.6107, allocations: 16 kB / 483.3 MB, free: 10.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.6109, allocations: 346.8 kB / 483.6 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001081/0.612, allocations: 365.8 kB / 484 MB, free: 9.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.6136, allocations: 496.2 kB / 484.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.6152, allocations: 434.9 kB / 484.9 MB, free: 9.043 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/0.6152, allocations: 0 / 484.9 MB, free: 9.043 MB / 362.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004211/0.6194, allocations: 1.09 MB / 486 MB, free: 7.934 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.6195, allocations: 12.05 kB / 486 MB, free: 7.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.6195, allocations: 7.938 kB / 486 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001286/0.6208, allocations: 163.3 kB / 486.2 MB, free: 7.742 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001536/0.6224, allocations: 191.7 kB / 486.4 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004226/0.6267, allocations: 3.924 MB / 490.3 MB, free: 3.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009998/0.6277, allocations: 60 kB / 490.3 MB, free: 3.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.6279, allocations: 47.97 kB / 490.4 MB, free: 3.215 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0005574/0.6285, allocations: 225.6 kB / 490.6 MB, free: 2.984 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005867/0.6291, allocations: 67.34 kB / 490.7 MB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004074/0.6332, allocations: 1.288 MB / 492 MB, free: 1.594 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.293e-05/0.6332, allocations: 8 kB / 492 MB, free: 1.586 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.6333, allocations: 11.89 kB / 492 MB, free: 1.574 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003072/0.6363, allocations: 1.324 MB / 493.3 MB, free: 124 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005693/0.6421, allocations: 1.975 MB / 495.3 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/0.6422, allocations: 0 / 495.3 MB, free: 14.08 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001376/0.6435, allocations: 163.8 kB / 495.4 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002961/0.6465, allocations: 297.2 kB / 495.7 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002044/0.6468, allocations: 31.97 kB / 495.8 MB, free: 13.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001235/0.648, allocations: 1.297 MB / 497.1 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.6481, allocations: 0 / 497.1 MB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004564/0.6526, allocations: 1.436 MB / 498.5 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004473/0.6532, allocations: 140.5 kB / 498.6 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001958/0.6534, allocations: 16 kB / 498.6 MB, free: 10.6 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.6545, allocations: 59.8 kB / 498.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000166/0.6547, allocations: 52.92 kB / 498.8 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001564/0.6549, allocations: 43.97 kB / 498.8 MB, free: 10.45 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005209/0.6554, allocations: 283 kB / 499.1 MB, free: 10.17 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.6554, allocations: 0 / 499.1 MB, free: 10.17 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005674/0.6611, allocations: 1.382 MB / 0.4887 GB, free: 8.789 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume1.medium.p,volume1.medium.Xi[1],volume1.medium.T) * 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 (84): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {2,2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01384/0.675, allocations: 3.642 MB / 0.4923 GB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003597/0.6787, allocations: 1.16 MB / 0.4934 GB, free: 3.898 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.6787, allocations: 0 / 0.4934 GB, free: 3.898 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001557/0.6803, allocations: 491.9 kB / 0.4939 GB, free: 3.418 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003372/0.6837, allocations: 362.2 kB / 0.4942 GB, free: 3.062 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01515/0.6989, allocations: 6.57 MB / 0.5007 GB, free: 12.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006988/0.6996, allocations: 0.9283 MB / 0.5016 GB, free: 11.42 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007869/0.7005, allocations: 239.3 kB / 0.5018 GB, free: 11.19 MB / 394.7 MB Notification: Performance of SimCode: time 1.032e-06/0.7005, allocations: 4 kB / 0.5018 GB, free: 11.18 MB / 394.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2CalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2CalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2CalcHelperMain.cpp:16: ./OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2Types.h:143:32: error: non-type template argument evaluates to -1, which cannot be narrowed to type 'std::size_t' (aka 'unsigned long') [-Wc++11-narrowing] typedef StatArrayDim1< double, -1> /*testarray2*/ Modelica_Media_Air_ReferenceMoistAir_massFractionSaturationRetType /* functionHeaderRegularFunction1 */; ^ ./OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2Types.h:144:31: error: non-type template argument evaluates to -1, which cannot be narrowed to type 'std::size_t' (aka 'unsigned long') [-Wc++11-narrowing] typedef StatArrayDim1& Modelica_Media_Air_ReferenceMoistAir_massFractionSaturationRefRetType /* functionHeaderRegularFunction1 */; ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2CalcHelperMain.cpp:8: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Modelica.h:205: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:822:12: error: array is too large (18446744073709551615 elements) T _array[external || nelems == 0? 1: nelems]; // static array ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:833:30: note: in instantiation of template class 'StatArray' requested here class StatArrayDim1 : public StatArray ^ ./OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2Functions.h:373:70: note: in instantiation of template class 'StatArrayDim1' requested here Modelica_Media_Air_ReferenceMoistAir_massFractionSaturationRetType _Modelica_Media_Air_ReferenceMoistAir_massFractionSaturation; ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2CalcHelperMain.cpp:28: ./OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2Functions.cpp:1164:8: error: no matching member function for call to 'assign' X_.assign(tmp150); ~~~^~~~~~ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1413:16: note: candidate function not viable: no known conversion from 'Modelica_Media_Air_ReferenceMoistAir_massFractionSaturationRetType' (aka 'StatArrayDim1') to 'const BaseArray' for 1st argument virtual void assign(const BaseArray& b) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1419:16: note: candidate function not viable: no known conversion from 'Modelica_Media_Air_ReferenceMoistAir_massFractionSaturationRetType' (aka 'StatArrayDim1') to 'const double *' for 1st argument virtual void assign(const T* data) ^ /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:1425:16: note: candidate function not viable: no known conversion from 'Modelica_Media_Air_ReferenceMoistAir_massFractionSaturationRetType' (aka 'StatArrayDim1') to 'const double' for 1st argument virtual void assign(const T& value) ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2CalcHelperMain.cpp:28: ./OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2Functions.cpp:1205:10: error: no member named 'assign' in 'StatArrayDim1' output.assign(Xsat_); ~~~~~~ ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2CalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2FMU.cpp:11: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ In file included from OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2CalcHelperMain.cpp:8: In file included from /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Modelica.h:205: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/Core/Math/Array.h:878:6: error: type 'StatArray' is not a direct or virtual base of 'StatArrayDim1' :StatArray() {} ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2Functions.cpp:1158:86: note: in instantiation of member function 'StatArrayDim1::StatArrayDim1' requested here Modelica_Media_Air_ReferenceMoistAir_massFractionSaturationRetType /* undefined */ tmp150; ^ 1 warning and 6 errors generated. : recipe for target 'OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2CalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir2CalcHelperMain.o] Error 1