Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test20,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.591/2.591, allocations: 270 MB / 282.6 MB, free: 1.922 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.386e-05/4.393e-05, allocations: 4 kB / 347.1 MB, free: 3.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4013, allocations: 61.86 MB / 408.9 MB, free: 10.82 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1772/0.5786, allocations: 90.68 MB / 499.6 MB, free: 12 kB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003561/0.579, allocations: 71.95 kB / 499.7 MB, free: 15.94 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04947/0.6285, allocations: 8.723 MB / 0.4965 GB, free: 7.203 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.215e-06/0.6285, allocations: 0 / 0.4965 GB, free: 7.203 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.995e-05/0.6286, allocations: 7.984 kB / 0.4965 GB, free: 7.195 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001046/0.6297, allocations: 0.5591 MB / 0.497 GB, free: 6.594 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/0.6298, allocations: 8.031 kB / 0.497 GB, free: 6.586 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.119e-05/0.6299, allocations: 42.55 kB / 0.4971 GB, free: 6.535 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.63, allocations: 39.53 kB / 0.4971 GB, free: 6.496 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.6312, allocations: 345.3 kB / 0.4974 GB, free: 6.117 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.931e-05/0.6312, allocations: 11.94 kB / 0.4975 GB, free: 6.105 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.641e-05/0.6313, allocations: 12 kB / 0.4975 GB, free: 6.094 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003974/0.6317, allocations: 98.47 kB / 0.4976 GB, free: 5.992 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.471e-05/0.6318, allocations: 4 kB / 0.4976 GB, free: 5.988 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.674e-05/0.6318, allocations: 4 kB / 0.4976 GB, free: 5.984 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.6318, allocations: 4 kB / 0.4976 GB, free: 5.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002549/0.6321, allocations: 52 kB / 0.4976 GB, free: 5.93 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.6335, allocations: 0.5041 MB / 0.4981 GB, free: 5.375 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.6338, allocations: 82.56 kB / 0.4982 GB, free: 5.285 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.745e-05/0.6339, allocations: 36.75 kB / 0.4982 GB, free: 5.246 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.747e-05/0.634, allocations: 0 / 0.4982 GB, free: 5.246 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.786e-05/0.634, allocations: 46.5 kB / 0.4983 GB, free: 5.191 MB / 426.7 MB Notification: Performance of pre-optimization done (n=11): time 1.924e-06/0.6341, allocations: 0 / 0.4983 GB, free: 5.191 MB / 426.7 MB Notification: Performance of matching and sorting (n=17): time 0.00132/0.6354, allocations: 324.2 kB / 0.4986 GB, free: 4.867 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.793e-05/0.6355, allocations: 51.41 kB / 0.4986 GB, free: 4.805 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.6365, allocations: 491 kB / 0.4991 GB, free: 4.312 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.6366, allocations: 33.7 kB / 0.4991 GB, free: 4.273 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001785/0.6368, allocations: 238.7 kB / 0.4994 GB, free: 4.039 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.01e-05/0.6368, allocations: 55.2 kB / 0.4994 GB, free: 3.984 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.063e-05/0.6369, allocations: 0 / 0.4994 GB, free: 3.984 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.637, allocations: 322.8 kB / 0.4997 GB, free: 3.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.6371, allocations: 40 kB / 0.4998 GB, free: 3.621 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.6373, allocations: 37.56 kB / 0.4998 GB, free: 3.586 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00013/0.6374, allocations: 46.75 kB / 0.4998 GB, free: 3.543 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/0.6374, allocations: 4 kB / 0.4998 GB, free: 3.539 MB / 426.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003713/0.6378, allocations: 141.5 kB / 0.5 GB, free: 3.395 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.6378, allocations: 8 kB / 0.5 GB, free: 3.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.6379, allocations: 4 kB / 0.5 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.6379, allocations: 0 / 0.5 GB, free: 3.383 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.6382, allocations: 39.91 kB / 0.5 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.6382, allocations: 0 / 0.5 GB, free: 3.344 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002062/0.6384, allocations: 8 kB / 0.5 GB, free: 3.336 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.508e-05/0.6385, allocations: 8 kB / 0.5 GB, free: 3.328 MB / 426.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001022/0.6386, allocations: 112.9 kB / 0.5002 GB, free: 3.211 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001131/0.6387, allocations: 39.53 kB / 0.5002 GB, free: 3.172 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00062/0.6393, allocations: 225.1 kB / 0.5004 GB, free: 2.945 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.6394, allocations: 4 kB / 0.5004 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6394, allocations: 0 / 0.5004 GB, free: 2.941 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.6394, allocations: 3.984 kB / 0.5004 GB, free: 2.938 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/0.6407, allocations: 0.66 MB / 0.5011 GB, free: 2.223 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.6407, allocations: 3.938 kB / 0.5011 GB, free: 2.219 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.641, allocations: 31.98 kB / 0.5011 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.594e-06/0.641, allocations: 0 / 0.5011 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.641, allocations: 7.984 kB / 0.5011 GB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/0.641, allocations: 3.938 kB / 0.5011 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.641, allocations: 0 / 0.5011 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004734/0.6415, allocations: 278.9 kB / 0.5014 GB, free: 1.887 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002032/0.6417, allocations: 140.6 kB / 0.5015 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.6418, allocations: 8 kB / 0.5015 GB, free: 1.723 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001905/0.642, allocations: 8 kB / 0.5015 GB, free: 1.715 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.172e-05/0.6421, allocations: 15.97 kB / 0.5015 GB, free: 1.699 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.814e-05/0.6421, allocations: 7.938 kB / 0.5015 GB, free: 1.691 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007656/0.6429, allocations: 389.2 kB / 0.5019 GB, free: 1.312 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.42e-07/0.6429, allocations: 0 / 0.5019 GB, free: 1.312 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005355/0.6435, allocations: 75.83 kB / 0.502 GB, free: 1.238 MB / 426.7 MB 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002807/0.6463, allocations: 1.395 MB / 0.5033 GB, free: 44 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003925/0.6468, allocations: 123.8 kB / 0.5035 GB, free: 15.92 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.6468, allocations: 0 / 0.5035 GB, free: 15.92 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.6469, allocations: 59.94 kB / 0.5035 GB, free: 15.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006744/0.6476, allocations: 69.86 kB / 0.5036 GB, free: 15.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.6494, allocations: 0.6526 MB / 0.5042 GB, free: 15.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005082/0.6499, allocations: 0.8182 MB / 0.505 GB, free: 14.26 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.6503, allocations: 123.4 kB / 0.5051 GB, free: 14.14 MB / 442.7 MB Notification: Performance of SimCode: time 1.283e-06/0.6503, allocations: 0 / 0.5051 GB, free: 14.14 MB / 442.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=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test20CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test20CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test20CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test20Functions.cpp:330:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp13.getData(), table_.getDim(1), table_.getDim(2), ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:269:23: note: candidate function not viable: 6th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTable1D_init2(_In_z_ const char* fileName, ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test20CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test20FMU.cpp:11: /var/lib/jenkins/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) { ^ 1 warning and 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test20CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Ds_Test20CalcHelperMain.o] Error 1