Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1") Notification: Performance of loadModel(Modelica): time 2.166/2.166, allocations: 224.7 MB / 241.1 MB, free: 1.691 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/2.984e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 50.42 MB / 345 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir1): time 0.06725/0.178, allocations: 37.51 MB / 382.5 MB, free: 3.332 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007879/0.1859, allocations: 3.899 MB / 386.4 MB, free: 15.43 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004686/0.1865, allocations: 4 kB / 386.4 MB, free: 15.42 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007923/0.1873, allocations: 187.1 kB / 386.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007445/0.188, allocations: 215.4 kB / 386.8 MB, free: 15.03 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01734/0.2054, allocations: 4.499 MB / 391.3 MB, free: 10.52 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001127/0.2065, allocations: 440.2 kB / 391.7 MB, free: 10.09 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.2068, allocations: 52.53 kB / 391.8 MB, free: 10.04 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01393/0.2207, allocations: 5.915 MB / 397.7 MB, free: 4.117 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000638/0.2214, allocations: 251.3 kB / 397.9 MB, free: 3.871 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3387/0.5601, allocations: 8.332 MB / 406.3 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00465/0.5648, allocations: 436.8 kB / 406.7 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005505/0.5655, allocations: 172.7 kB / 406.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003243/0.5658, allocations: 67 kB / 406.9 MB, free: 13.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01205/0.5779, allocations: 3.428 MB / 410.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.5779, allocations: 1.219 kB / 410.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.797e-06/0.5779, allocations: 0 / 410.3 MB, free: 12.89 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.157e-05/0.578, allocations: 0 / 410.3 MB, free: 12.89 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.00594/0.5839, allocations: 1.188 MB / 411.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/0.584, allocations: 8.906 kB / 411.5 MB, free: 12.14 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00065/0.5847, allocations: 63.08 kB / 411.6 MB, free: 12.12 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009146/0.5856, allocations: 347.7 kB / 411.9 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.157e-05/0.5857, allocations: 37.84 kB / 412 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.5858, allocations: 44.19 kB / 412 MB, free: 11.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002486/0.5883, allocations: 0.5742 MB / 412.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.078e-05/0.5884, allocations: 0 / 412.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001311/0.5886, allocations: 23.58 kB / 412.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.848e-05/0.5886, allocations: 11.16 kB / 412.6 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003009/0.5916, allocations: 0.7425 MB / 413.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03136/0.623, allocations: 12.01 MB / 425.4 MB, free: 17.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002791/0.6259, allocations: 0.5309 MB / 425.9 MB, free: 17.14 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03156/0.6575, allocations: 11.94 MB / 437.9 MB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.685e-05/0.6577, allocations: 41.7 kB / 437.9 MB, free: 5.273 MB / 346.7 MB Notification: Performance of pre-optimization done (n=50): time 4.599e-06/0.6577, allocations: 2.953 kB / 437.9 MB, free: 5.273 MB / 346.7 MB Notification: Performance of matching and sorting (n=55): time 0.01264/0.6703, allocations: 2.132 MB / 440 MB, free: 4.691 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.445e-05/0.6704, allocations: 55.41 kB / 440.1 MB, free: 4.629 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005084/0.671, allocations: 290.2 kB / 440.4 MB, free: 4.492 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001534/0.6711, allocations: 38.8 kB / 440.4 MB, free: 4.461 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001628/0.6713, allocations: 254.2 kB / 440.7 MB, free: 4.258 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.6715, allocations: 188.7 kB / 440.8 MB, free: 4.121 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.6716, allocations: 12.94 kB / 440.9 MB, free: 4.121 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.6717, allocations: 331.6 kB / 441.2 MB, free: 3.801 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006434/0.6724, allocations: 244.5 kB / 441.4 MB, free: 3.762 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009432/0.6733, allocations: 330.5 kB / 441.7 MB, free: 3.633 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009649/0.6743, allocations: 292.6 kB / 442 MB, free: 3.602 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.6743, allocations: 0 / 442 MB, free: 3.602 MB / 346.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.00285/0.6772, allocations: 0.7279 MB / 442.8 MB, free: 3.445 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.6773, allocations: 6.375 kB / 442.8 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.344e-05/0.6773, allocations: 2.719 kB / 442.8 MB, free: 3.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007272/0.678, allocations: 104 kB / 442.9 MB, free: 3.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001022/0.6791, allocations: 125.5 kB / 443 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003467/0.6826, allocations: 3.295 MB / 446.3 MB, free: 16.21 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008368/0.6835, allocations: 45.17 kB / 446.3 MB, free: 16.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001139/0.6836, allocations: 32.75 kB / 446.4 MB, free: 16.19 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 () * 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.0004436/0.6841, allocations: 195.2 kB / 446.6 MB, free: 16.07 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004407/0.6845, allocations: 39.69 kB / 446.6 MB, free: 16.05 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002386/0.6869, allocations: 0.8293 MB / 447.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.198e-05/0.687, allocations: 9.688 kB / 447.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.687, allocations: 0 / 447.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001808/0.6888, allocations: 0.7606 MB / 448.2 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/0.6925, allocations: 1.302 MB / 449.5 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/0.6925, allocations: 0 / 449.5 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008549/0.6934, allocations: 103.3 kB / 449.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/0.6949, allocations: 144.4 kB / 449.7 MB, free: 14.74 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001216/0.6951, allocations: 21.11 kB / 449.8 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006093/0.6957, allocations: 0.6435 MB / 450.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.6957, allocations: 3.906 kB / 450.4 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002736/0.6985, allocations: 0.9252 MB / 451.3 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003158/0.6988, allocations: 132.8 kB / 451.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.699, allocations: 13.89 kB / 451.5 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008627/0.6998, allocations: 40.09 kB / 451.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.686e-05/0.7, allocations: 33.55 kB / 451.5 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/0.7001, allocations: 29.38 kB / 451.6 MB, free: 13.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004919/0.7006, allocations: 251 kB / 451.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7006, allocations: 5.156 kB / 451.8 MB, free: 13.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.006376/0.707, allocations: 1.313 MB / 453.1 MB, free: 13.05 MB / 362.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 () * 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.01157/0.7186, allocations: 1.552 MB / 454.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002408/0.7211, allocations: 0.807 MB / 455.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.7211, allocations: 0.5625 kB / 455.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009211/0.722, allocations: 291.4 kB / 455.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002602/0.7247, allocations: 261.5 kB / 456 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003263/0.728, allocations: 1.337 MB / 457.4 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005721/0.7286, allocations: 0.8425 MB / 458.2 MB, free: 8.547 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/0.729, allocations: 70.22 kB / 458.3 MB, free: 8.484 MB / 362.7 MB Notification: Performance of SimCode: time 1.422e-06/0.729, allocations: 0 / 458.3 MB, free: 8.484 MB / 362.7 MB Notification: Performance of Templates: time 0.1024/0.8315, allocations: 36.97 MB / 495.2 MB, free: 3.77 MB / 394.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.cpp:15: ./OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1Types.h:173: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_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1Types.h:174: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_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.cpp:8: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Modelica.h:208: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:872:14: error: array is too large (18446744073709551615 elements) T _array[external || nelems == 0 ? 1 : nelems]; // static array ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:883:30: note: in instantiation of template class 'StatArray' requested here class StatArrayDim1 : public StatArray ^ ./OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1Functions.h:393: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_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1Functions.cpp:1397:8: error: no matching member function for call to 'assign' X_.assign(tmp244); ~~~^~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:1492:18: 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:1498:18: 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:1504:18: 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_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1Functions.cpp:1438:10: error: no member named 'assign' in 'StatArrayDim1' output.assign(Xsat_); ~~~~~~ ^ In file included from OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.cpp:8: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Modelica.h:208: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/Core/Math/Array.h:930:11: error: type 'StatArray' is not a direct or virtual base of 'StatArrayDim1' : StatArray() ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ ./OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1Functions.cpp:1391:86: note: in instantiation of member function 'StatArrayDim1::StatArrayDim1' requested here Modelica_Media_Air_ReferenceMoistAir_massFractionSaturationRetType /* undefined */ tmp244; ^ 6 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir1CalcHelperMain.o] Error 1