Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertab",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.555/2.555, allocations: 270 MB / 282.7 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.722e-05/3.732e-05, allocations: 4 kB / 347.1 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5137/0.5137, allocations: 61.87 MB / 408.9 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1861/0.7, allocations: 88 MB / 496.9 MB, free: 2.656 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002912/0.7003, allocations: 71.97 kB / 497 MB, free: 2.586 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01817/0.7185, allocations: 3.886 MB / 0.4891 GB, free: 14.69 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.7186, allocations: 0 / 0.4891 GB, free: 14.69 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.7186, allocations: 0 / 0.4891 GB, free: 14.69 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005051/0.7191, allocations: 381.4 kB / 0.4895 GB, free: 14.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.069e-05/0.7192, allocations: 8.031 kB / 0.4895 GB, free: 14.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.767e-05/0.7192, allocations: 38.48 kB / 0.4895 GB, free: 14.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/0.7193, allocations: 11.91 kB / 0.4896 GB, free: 14.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.7196, allocations: 192.4 kB / 0.4897 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.7196, allocations: 4 kB / 0.4897 GB, free: 13.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.7197, allocations: 11.95 kB / 0.4898 GB, free: 13.96 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.7198, allocations: 59.41 kB / 0.4898 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.7199, allocations: 3.938 kB / 0.4898 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.7199, allocations: 0 / 0.4898 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.528e-06/0.7199, allocations: 0 / 0.4898 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.882e-05/0.72, allocations: 16 kB / 0.4898 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005476/0.7206, allocations: 300.9 kB / 0.4901 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.7207, allocations: 46.56 kB / 0.4902 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.176e-05/0.7208, allocations: 28.86 kB / 0.4902 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.7208, allocations: 0 / 0.4902 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.079e-05/0.7209, allocations: 30.56 kB / 0.4902 GB, free: 13.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=5): time 1.814e-06/0.7209, allocations: 0 / 0.4902 GB, free: 13.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006247/0.7215, allocations: 145.3 kB / 0.4904 GB, free: 13.26 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.439e-05/0.7216, allocations: 85.05 kB / 0.4904 GB, free: 13.16 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.7218, allocations: 131.2 kB / 0.4906 GB, free: 13.02 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.7218, allocations: 25.7 kB / 0.4906 GB, free: 12.99 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.495e-05/0.7219, allocations: 158.6 kB / 0.4907 GB, free: 12.83 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.086e-05/0.722, allocations: 31.55 kB / 0.4908 GB, free: 12.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.823e-06/0.722, allocations: 0 / 0.4908 GB, free: 12.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.7222, allocations: 322.8 kB / 0.4911 GB, free: 12.48 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.938e-05/0.7222, allocations: 20 kB / 0.4911 GB, free: 12.46 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.37e-05/0.7223, allocations: 33.7 kB / 0.4911 GB, free: 12.42 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.792e-05/0.7224, allocations: 27.98 kB / 0.4912 GB, free: 12.39 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7225, allocations: 0 / 0.4912 GB, free: 12.39 MB / 426.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002221/0.7227, allocations: 81.62 kB / 0.4912 GB, free: 12.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.7227, allocations: 4 kB / 0.4912 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.7227, allocations: 4.062 kB / 0.4912 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.7228, allocations: 32 / 0.4912 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002009/0.723, allocations: 27.92 kB / 0.4913 GB, free: 12.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/0.723, allocations: 7.984 kB / 0.4913 GB, free: 12.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.687e-05/0.7231, allocations: 8 kB / 0.4913 GB, free: 12.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.811e-05/0.7231, allocations: 4.281 kB / 0.4913 GB, free: 12.25 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 (9): * Single equations (assignments): 9 * 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 9.778e-05/0.7232, allocations: 112.9 kB / 0.4914 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.874e-05/0.7233, allocations: 11.89 kB / 0.4914 GB, free: 12.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002876/0.7236, allocations: 102.1 kB / 0.4915 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.7236, allocations: 4 kB / 0.4915 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.7237, allocations: 0 / 0.4915 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7237, allocations: 0 / 0.4915 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006037/0.7243, allocations: 378.4 kB / 0.4919 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.7243, allocations: 0 / 0.4919 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001381/0.7245, allocations: 12 kB / 0.4919 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.7245, allocations: 8.188 kB / 0.4919 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.7245, allocations: 11.98 kB / 0.4919 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.7245, allocations: 0 / 0.4919 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.7245, allocations: 0 / 0.4919 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002414/0.7248, allocations: 179.3 kB / 0.4921 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.568e-05/0.7249, allocations: 93 kB / 0.4922 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.7249, allocations: 4 kB / 0.4922 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.725, allocations: 8 kB / 0.4922 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.659e-05/0.7251, allocations: 11.98 kB / 0.4922 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.385e-06/0.7251, allocations: 0 / 0.4922 GB, free: 11.23 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001217/0.7252, allocations: 107.3 kB / 0.4923 GB, free: 11.13 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.7252, allocations: 0 / 0.4923 GB, free: 11.13 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003729/0.7256, allocations: 35.94 kB / 0.4923 GB, free: 11.09 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 (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.001794/0.7274, allocations: 1.059 MB / 0.4934 GB, free: 10.15 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002186/0.7277, allocations: 51.98 kB / 0.4934 GB, free: 10.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.7277, allocations: 0 / 0.4934 GB, free: 10.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.629e-05/0.7278, allocations: 27.94 kB / 0.4934 GB, free: 10.07 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.7281, allocations: 18.97 kB / 0.4934 GB, free: 10.06 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000673/0.7288, allocations: 216.7 kB / 0.4937 GB, free: 9.809 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003366/0.7291, allocations: 0.6967 MB / 0.4943 GB, free: 9.086 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.7293, allocations: 23.44 kB / 0.4944 GB, free: 9.062 MB / 426.7 MB Notification: Performance of SimCode: time 1.021e-06/0.7293, allocations: 7.875 kB / 0.4944 GB, free: 9.055 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/Data/Tables" "-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_Test25_usertabCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:28: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabFunctions.cpp:5: In file included from /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/usertab.c:14: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/usertab.h:75:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] {"TestTable_1D_Time", TestTable_1D_Time, 0, {6, 2}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/usertab.h:76:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_1D_a" , TestTable_1D_a, 1, {4, 2}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/usertab.h:77:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_1D_b" , TestTable_1D_b, 1, {5, 3}} ^ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/Data/Tables/usertab.h:78:13: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] ,{"TestTable_2D" , TestTable_2D, 2, {5, 4}} ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabFunctions.cpp:219: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_Test25_usertabCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabFunctions.cpp:343:18: error: no matching function for call to 'mydummyfunc' dummy_y__ext = mydummyfunc(ConstArray(dummy_u_).getData()); ^~~~~~~~~~~ ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabFunctions.cpp:6:8: note: candidate function not viable: 1st argument ('const double *') would lose const qualifier double mydummyfunc(double* dummy_in) { ^ In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabFMU.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) { ^ 5 warnings and 2 errors generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test25_usertabCalcHelperMain.o] Error 1