Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test34,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test34",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.448/2.448, allocations: 270 MB / 282.6 MB, free: 1.828 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.35e-05/3.355e-05, allocations: 4 kB / 347.1 MB, free: 3.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.391/0.391, allocations: 61.89 MB / 408.9 MB, free: 10.63 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2104/0.6015, allocations: 88.02 MB / 497 MB, free: 2.484 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003746/0.6019, allocations: 71.97 kB / 497 MB, free: 2.414 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02796/0.6299, allocations: 4.257 MB / 0.4895 GB, free: 14.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.63, allocations: 0 / 0.4895 GB, free: 14.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.53e-05/0.63, allocations: 0 / 0.4895 GB, free: 14.14 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007377/0.6308, allocations: 398.1 kB / 0.4899 GB, free: 13.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.909e-05/0.6309, allocations: 8.031 kB / 0.4899 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.679e-05/0.631, allocations: 34.56 kB / 0.49 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.66e-05/0.6311, allocations: 11.89 kB / 0.49 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005008/0.6316, allocations: 203.7 kB / 0.4902 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.743e-05/0.6316, allocations: 4 kB / 0.4902 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.633e-05/0.6317, allocations: 7.953 kB / 0.4902 GB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.6319, allocations: 57.62 kB / 0.4902 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.258e-05/0.632, allocations: 3.984 kB / 0.4902 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.632, allocations: 0 / 0.4902 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.09e-05/0.632, allocations: 3.984 kB / 0.4902 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000111/0.6321, allocations: 16 kB / 0.4903 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007436/0.6329, allocations: 292.8 kB / 0.4905 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.6331, allocations: 50.45 kB / 0.4906 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.953e-05/0.6332, allocations: 8.859 kB / 0.4906 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.923e-05/0.6332, allocations: 4.078 kB / 0.4906 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.933e-05/0.6333, allocations: 38.56 kB / 0.4906 GB, free: 12.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 3.136e-06/0.6333, allocations: 0 / 0.4906 GB, free: 12.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.001066/0.6344, allocations: 153.1 kB / 0.4908 GB, free: 12.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.342e-05/0.6345, allocations: 51.41 kB / 0.4908 GB, free: 12.64 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004508/0.635, allocations: 184.9 kB / 0.491 GB, free: 12.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/0.635, allocations: 25.7 kB / 0.491 GB, free: 12.42 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.6352, allocations: 166.5 kB / 0.4912 GB, free: 12.26 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.516e-05/0.6353, allocations: 27.62 kB / 0.4912 GB, free: 12.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.6353, allocations: 8 kB / 0.4912 GB, free: 12.22 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001685/0.6355, allocations: 314.8 kB / 0.4915 GB, free: 11.91 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.482e-05/0.6356, allocations: 16 kB / 0.4915 GB, free: 11.89 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.122e-05/0.6357, allocations: 20 kB / 0.4916 GB, free: 11.87 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002754/0.636, allocations: 15.98 kB / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.636, allocations: 0 / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004961/0.6366, allocations: 73.62 kB / 0.4916 GB, free: 11.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.073e-05/0.6366, allocations: 4 kB / 0.4916 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.6366, allocations: 0 / 0.4916 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/0.6367, allocations: 4 kB / 0.4916 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003236/0.637, allocations: 19.98 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.6371, allocations: 4 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001375/0.6372, allocations: 11.91 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.726e-05/0.6372, allocations: 7.938 kB / 0.4917 GB, free: 11.73 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 (8): * Single equations (assignments): 8 * 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.0001083/0.6374, allocations: 104.9 kB / 0.4918 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.399e-05/0.6375, allocations: 11.89 kB / 0.4918 GB, free: 11.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000373/0.6378, allocations: 102.2 kB / 0.4919 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.6379, allocations: 0 / 0.4919 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.6379, allocations: 4 kB / 0.4919 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.6379, allocations: 0 / 0.4919 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009267/0.6389, allocations: 403.6 kB / 0.4923 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.6389, allocations: 0 / 0.4923 GB, free: 11.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002027/0.6391, allocations: 19.98 kB / 0.4923 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.6391, allocations: 0 / 0.4923 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.6391, allocations: 0 / 0.4923 GB, free: 11.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.493e-06/0.6392, allocations: 8.031 kB / 0.4923 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.6392, allocations: 0 / 0.4923 GB, free: 11.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003663/0.6396, allocations: 206 kB / 0.4925 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001079/0.6397, allocations: 89.02 kB / 0.4926 GB, free: 10.69 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.865e-05/0.6397, allocations: 4 kB / 0.4926 GB, free: 10.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.64, allocations: 15.98 kB / 0.4926 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.94e-05/0.64, allocations: 11.89 kB / 0.4926 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.6401, allocations: 0 / 0.4926 GB, free: 10.66 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00029/0.6404, allocations: 156.5 kB / 0.4928 GB, free: 10.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6404, allocations: 0 / 0.4928 GB, free: 10.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006305/0.641, allocations: 31.94 kB / 0.4928 GB, free: 10.47 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.002574/0.6436, allocations: 1.151 MB / 0.4939 GB, free: 9.441 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002359/0.6439, allocations: 40 kB / 0.494 GB, free: 9.402 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.6439, allocations: 0 / 0.494 GB, free: 9.402 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001095/0.644, allocations: 39.92 kB / 0.494 GB, free: 9.363 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.6445, allocations: 11.95 kB / 0.494 GB, free: 9.352 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001127/0.6457, allocations: 265.6 kB / 0.4943 GB, free: 9.039 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004585/0.6461, allocations: 0.7119 MB / 0.495 GB, free: 8.305 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001405/0.6463, allocations: 35.42 kB / 0.495 GB, free: 8.27 MB / 426.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6463, allocations: 0 / 0.495 GB, free: 8.27 MB / 426.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_CombiTable1Ds_Test34CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test34CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test34CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test34Functions.cpp:231:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp6.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_CombiTable1Ds_Test34CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test34FMU.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_CombiTable1Ds_Test34CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test34CalcHelperMain.o] Error 1