Running command: translateModel(Modelica.Media.Examples.ReferenceAir.MoistAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p",fileNamePrefix="Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2") Notification: Performance of loadModel(Modelica): time 2.163/2.163, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.73e-05/2.726e-05, allocations: 7.984 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1558, allocations: 50.41 MB / 345 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.MoistAir2): time 0.1022/0.2581, allocations: 47.9 MB / 392.9 MB, free: 8.934 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.008978/0.2671, allocations: 4.129 MB / 397 MB, free: 4.797 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006371/0.2678, allocations: 7.938 kB / 397 MB, free: 4.789 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001144/0.269, allocations: 266.8 kB / 397.3 MB, free: 4.527 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.2702, allocations: 311.1 kB / 397.6 MB, free: 4.223 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.3609/0.6311, allocations: 4.655 MB / 402.2 MB, free: 6.062 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.002152/0.6333, allocations: 0.6037 MB / 402.8 MB, free: 6.062 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003952/0.6337, allocations: 102.4 kB / 402.9 MB, free: 6.062 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00178/0.6355, allocations: 466.7 kB / 403.4 MB, free: 6.062 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001367/0.6369, allocations: 352.1 kB / 403.7 MB, free: 6.062 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03192/0.6688, allocations: 8.432 MB / 412.2 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004816/0.6737, allocations: 449 kB / 412.6 MB, free: 6.051 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007716/0.6745, allocations: 255.7 kB / 412.9 MB, free: 6.047 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005587/0.6751, allocations: 89.5 kB / 412.9 MB, free: 6.047 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0105/0.6856, allocations: 3.683 MB / 416.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.6857, allocations: 0 / 416.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.6857, allocations: 0 / 416.6 MB, free: 5.883 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.877e-05/0.6857, allocations: 0 / 416.6 MB, free: 5.883 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.005021/0.6908, allocations: 1.34 MB / 418 MB, free: 5.074 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.6908, allocations: 9.656 kB / 418 MB, free: 5.074 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007489/0.6916, allocations: 79.14 kB / 418.1 MB, free: 5.043 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009202/0.6925, allocations: 430.8 kB / 418.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.448e-05/0.6926, allocations: 47.81 kB / 418.5 MB, free: 4.812 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001456/0.6928, allocations: 64.28 kB / 418.6 MB, free: 4.809 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002726/0.6955, allocations: 0.7946 MB / 419.4 MB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.415e-05/0.6956, allocations: 8.5 kB / 419.4 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001253/0.6957, allocations: 29.06 kB / 419.4 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.717e-05/0.6958, allocations: 14.25 kB / 419.4 MB, free: 4.758 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002877/0.6986, allocations: 1.029 MB / 420.5 MB, free: 4.746 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02653/0.7252, allocations: 12.83 MB / 433.3 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/0.728, allocations: 0.7463 MB / 434 MB, free: 8.727 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02425/0.7523, allocations: 12.3 MB / 446.3 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.429e-05/0.7524, allocations: 51.16 kB / 446.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=78): time 3.076e-06/0.7525, allocations: 1.125 kB / 446.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=88): time 0.01546/0.7679, allocations: 3.402 MB / 449.8 MB, free: 10.37 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.768, allocations: 64.16 kB / 449.8 MB, free: 10.3 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006198/0.7687, allocations: 325.3 kB / 450.2 MB, free: 10.04 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000189/0.7689, allocations: 43.39 kB / 450.2 MB, free: 10 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002297/0.7691, allocations: 291 kB / 450.5 MB, free: 9.754 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/0.7695, allocations: 304.7 kB / 450.8 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.97e-05/0.7696, allocations: 14.94 kB / 450.8 MB, free: 9.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001861/0.7698, allocations: 348.8 kB / 451.1 MB, free: 9.16 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009955/0.7708, allocations: 371.7 kB / 451.5 MB, free: 8.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001449/0.7723, allocations: 485.6 kB / 452 MB, free: 8.566 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001471/0.7738, allocations: 440.3 kB / 452.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.7738, allocations: 0 / 452.4 MB, free: 8.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004112/0.7779, allocations: 1.087 MB / 453.5 MB, free: 7.566 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.179e-05/0.778, allocations: 8 kB / 453.5 MB, free: 7.559 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/0.778, allocations: 4 kB / 453.5 MB, free: 7.555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001282/0.7793, allocations: 166.8 kB / 453.7 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001623/0.781, allocations: 192 kB / 453.9 MB, free: 7.234 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004316/0.7853, allocations: 3.929 MB / 457.8 MB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/0.7865, allocations: 56.06 kB / 457.8 MB, free: 3.148 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001732/0.7867, allocations: 42.86 kB / 457.9 MB, free: 3.113 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 (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.0005981/0.7873, allocations: 232.4 kB / 458.1 MB, free: 2.945 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005528/0.7879, allocations: 59.44 kB / 458.2 MB, free: 2.887 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003902/0.7918, allocations: 1.292 MB / 459.5 MB, free: 1.977 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-05/0.7919, allocations: 11.98 kB / 459.5 MB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.7919, allocations: 0 / 459.5 MB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002934/0.7948, allocations: 1.324 MB / 460.8 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005608/0.8005, allocations: 1.982 MB / 462.8 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.8005, allocations: 3.75 kB / 462.8 MB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001404/0.802, allocations: 165.7 kB / 462.9 MB, free: 15.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004143/0.8061, allocations: 299.2 kB / 463.2 MB, free: 14.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003024/0.8065, allocations: 26.61 kB / 463.3 MB, free: 14.93 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001976/0.8085, allocations: 1.29 MB / 464.6 MB, free: 13.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.818e-06/0.8086, allocations: 4.141 kB / 464.6 MB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007515/0.8161, allocations: 1.432 MB / 466 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00037/0.8165, allocations: 142.9 kB / 466.1 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002307/0.8168, allocations: 20.31 kB / 466.2 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001125/0.8179, allocations: 59.23 kB / 466.2 MB, free: 12.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001454/0.8181, allocations: 59.05 kB / 466.3 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/0.8182, allocations: 43.84 kB / 466.3 MB, free: 12.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005176/0.8188, allocations: 279.3 kB / 466.6 MB, free: 12.11 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8188, allocations: 0 / 466.6 MB, free: 12.11 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.006109/0.8249, allocations: 1.39 MB / 468 MB, free: 10.82 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 () * 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.01007/0.835, allocations: 1.591 MB / 469.6 MB, free: 9.395 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003501/0.8386, allocations: 1.164 MB / 470.7 MB, free: 8.496 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/0.8386, allocations: 4 kB / 470.7 MB, free: 8.492 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001539/0.8402, allocations: 489.6 kB / 471.2 MB, free: 8.164 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003539/0.8438, allocations: 359.3 kB / 471.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004963/0.8488, allocations: 2.001 MB / 473.6 MB, free: 6.039 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006993/0.8495, allocations: 0.9235 MB / 474.5 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005587/0.8501, allocations: 96.83 kB / 474.6 MB, free: 5.012 MB / 378.7 MB Notification: Performance of SimCode: time 2.625e-06/0.8501, allocations: 0 / 474.6 MB, free: 5.012 MB / 378.7 MB Notification: Performance of Templates: time 0.1018/0.9519, allocations: 43.61 MB / 0.506 GB, free: 9.668 MB / 426.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2.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.MoistAir2CalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2CalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2CalcHelperMain.cpp:15: ./OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2Types.h:174: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.MoistAir2Types.h:175: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.MoistAir2CalcHelperMain.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.MoistAir2Functions.h:400: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.MoistAir2CalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2Functions.cpp:1397:8: error: no matching member function for call to 'assign' X_.assign(tmp293); ~~~^~~~~~ /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.MoistAir2CalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2Functions.cpp:1438:10: error: no member named 'assign' in 'StatArrayDim1' output.assign(Xsat_); ~~~~~~ ^ In file included from OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2CalcHelperMain.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.MoistAir2Functions.cpp:1391:86: note: in instantiation of member function 'StatArrayDim1::StatArrayDim1' requested here Modelica_Media_Air_ReferenceMoistAir_massFractionSaturationRetType /* undefined */ tmp293; ^ 6 errors generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2CalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Media.Examples.ReferenceAir.MoistAir2CalcHelperMain.o] Error 1