Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.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.MoistAir1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.MoistAir1,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1",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.002508/0.002515, allocations: 183.9 kB / 16.4 MB, free: 5.754 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.066/2.066, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001144/0.001144, allocations: 93.55 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000408/0.0004083, allocations: 8 kB / 327 MB, free: 116 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3326, allocations: 47.58 MB / 374.6 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06004/0.3927, allocations: 39.26 MB / 413.9 MB, free: 9.512 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007013/0.3998, allocations: 4.113 MB / 418 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004897/0.4003, allocations: 0 / 418 MB, free: 5.391 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009238/0.4013, allocations: 199.1 kB / 418.2 MB, free: 5.195 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008698/0.4022, allocations: 239.4 kB / 418.4 MB, free: 4.961 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0193/0.4215, allocations: 4.745 MB / 423.2 MB, free: 224 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001347/0.4229, allocations: 0.5937 MB / 423.8 MB, free: 15.62 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003177/0.4232, allocations: 108 kB / 423.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01618/0.4394, allocations: 5.946 MB / 429.8 MB, free: 9.57 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006689/0.4401, allocations: 267.1 kB / 430.1 MB, free: 9.309 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001307/0.4403, allocations: 24 kB / 430.1 MB, free: 9.285 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02524/0.4656, allocations: 8.357 MB / 438.5 MB, free: 0.918 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004152/0.466, allocations: 175.6 kB / 438.6 MB, free: 0.7461 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.4663, allocations: 133.5 kB / 438.8 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009888/0.4762, allocations: 3.419 MB / 442.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4763, allocations: 0 / 442.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.925e-06/0.4763, allocations: 0 / 442.2 MB, free: 13.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.4763, allocations: 0 / 442.2 MB, free: 13.18 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.004333/0.4806, allocations: 1.205 MB / 443.4 MB, free: 11.93 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.188e-05/0.4807, allocations: 8.031 kB / 443.4 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/0.4809, allocations: 82.53 kB / 443.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004296/0.4814, allocations: 59.42 kB / 443.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007744/0.4821, allocations: 362 kB / 443.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.477e-05/0.4822, allocations: 33 kB / 443.9 MB, free: 11.34 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.4823, allocations: 40 kB / 443.9 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002047/0.4844, allocations: 0.5843 MB / 444.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.4844, allocations: 0 / 444.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-05/0.4846, allocations: 20 kB / 444.6 MB, free: 10.7 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.4846, allocations: 12 kB / 444.6 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002251/0.4868, allocations: 0.7533 MB / 445.3 MB, free: 9.93 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02652/0.5134, allocations: 12.01 MB / 457.3 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002065/0.5155, allocations: 0.5313 MB / 457.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02437/0.5399, allocations: 11.95 MB / 469.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.351e-05/0.54, allocations: 50.88 kB / 469.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=50): time 2.745e-06/0.54, allocations: 0 / 469.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=55): time 0.009266/0.5493, allocations: 2.133 MB / 472 MB, free: 10.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.353e-05/0.5494, allocations: 59.97 kB / 472 MB, free: 10.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005677/0.55, allocations: 314.9 kB / 472.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.5501, allocations: 37.7 kB / 472.4 MB, free: 10.33 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001919/0.5503, allocations: 254.7 kB / 472.6 MB, free: 10.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.5506, allocations: 189.3 kB / 472.8 MB, free: 9.891 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.333e-05/0.5506, allocations: 12 kB / 472.8 MB, free: 9.879 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5508, allocations: 334.8 kB / 473.2 MB, free: 9.543 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006649/0.5515, allocations: 237 kB / 473.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009984/0.5525, allocations: 335.3 kB / 473.7 MB, free: 8.953 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001023/0.5535, allocations: 292.7 kB / 474 MB, free: 8.668 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5535, allocations: 0 / 474 MB, free: 8.668 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002927/0.5565, allocations: 0.7324 MB / 474.7 MB, free: 7.922 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.177e-05/0.5566, allocations: 4 kB / 474.7 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/0.5566, allocations: 4 kB / 474.7 MB, free: 7.914 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000748/0.5573, allocations: 102.7 kB / 474.8 MB, free: 7.805 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001027/0.5584, allocations: 127.9 kB / 475 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/0.562, allocations: 3.291 MB / 478.3 MB, free: 4.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000719/0.5628, allocations: 39.88 kB / 478.3 MB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.5629, allocations: 31.98 kB / 478.3 MB, free: 4.027 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 (67): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {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.0004179/0.5633, allocations: 197.7 kB / 478.5 MB, free: 3.824 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003825/0.5637, allocations: 39.62 kB / 478.6 MB, free: 3.785 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002559/0.5663, allocations: 0.8343 MB / 479.4 MB, free: 2.918 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.354e-05/0.5663, allocations: 8 kB / 479.4 MB, free: 2.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.5663, allocations: 3.938 kB / 479.4 MB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001779/0.5681, allocations: 0.7596 MB / 480.2 MB, free: 2.074 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003392/0.5715, allocations: 1.305 MB / 481.5 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.022e-06/0.5716, allocations: 0 / 481.5 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008393/0.5724, allocations: 99.88 kB / 481.6 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001475/0.5739, allocations: 148.7 kB / 481.7 MB, free: 468 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.445e-05/0.574, allocations: 16 kB / 481.7 MB, free: 452 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006221/0.5747, allocations: 0.6485 MB / 482.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5747, allocations: 0 / 482.4 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002833/0.5775, allocations: 0.9272 MB / 483.3 MB, free: 14.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.5779, allocations: 124.8 kB / 483.4 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.578, allocations: 11.95 kB / 483.4 MB, free: 14.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008111/0.5788, allocations: 39.81 kB / 483.5 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001208/0.579, allocations: 40.33 kB / 483.5 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001086/0.5791, allocations: 31.97 kB / 483.6 MB, free: 14.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004637/0.5796, allocations: 249.9 kB / 483.8 MB, free: 14.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.5796, allocations: 0 / 483.8 MB, free: 14.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005239/0.5848, allocations: 1.3 MB / 485.1 MB, free: 13 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (volume.medium.p,volume.medium.Xi[1],volume.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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * 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: 1 {2} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01196/0.5968, allocations: 3.084 MB / 488.2 MB, free: 9.867 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002466/0.5994, allocations: 0.7998 MB / 489 MB, free: 9.043 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.977e-06/0.5994, allocations: 4 kB / 489 MB, free: 9.039 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009902/0.6004, allocations: 295.7 kB / 489.3 MB, free: 8.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002498/0.603, allocations: 261.9 kB / 489.5 MB, free: 8.488 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0119/0.6149, allocations: 5.155 MB / 494.7 MB, free: 3.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/0.6155, allocations: 0.8404 MB / 495.5 MB, free: 2.352 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005792/0.6161, allocations: 167.4 kB / 495.7 MB, free: 2.188 MB / 378.7 MB Notification: Performance of SimCode: time 1.473e-06/0.6162, allocations: 0 / 495.7 MB, free: 2.188 MB / 378.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_MoistAir1CalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1CalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1CalcHelperMain.cpp:16: ./OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1Types.h:142: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_MoistAir1Types.h:143: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_MoistAir1CalcHelperMain.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_MoistAir1Functions.h:366: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_MoistAir1CalcHelperMain.cpp:28: ./OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1Functions.cpp:1164:8: error: no matching member function for call to 'assign' X_.assign(tmp128); ~~~^~~~~~ /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_MoistAir1CalcHelperMain.cpp:28: ./OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1Functions.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_MoistAir1CalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1FMU.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_MoistAir1CalcHelperMain.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_MoistAir1Functions.cpp:1158:86: note: in instantiation of member function 'StatArrayDim1::StatArrayDim1' requested here Modelica_Media_Air_ReferenceMoistAir_massFractionSaturationRetType /* undefined */ tmp128; ^ 1 warning and 6 errors generated. : recipe for target 'OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1CalcHelperMain.o' failed make: *** [OMCppModelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_MoistAir1CalcHelperMain.o] Error 1