Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test29,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.693/2.693, allocations: 270 MB / 282.7 MB, free: 1.934 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.203e-05/3.199e-05, allocations: 0 / 347.1 MB, free: 3.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3876, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1595/0.5471, allocations: 88.26 MB / 497.2 MB, free: 2.285 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002658/0.5474, allocations: 67.97 kB / 497.3 MB, free: 2.219 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01838/0.5658, allocations: 4.39 MB / 0.4899 GB, free: 13.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5659, allocations: 4 kB / 0.4899 GB, free: 13.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.409e-05/0.5659, allocations: 0 / 0.4899 GB, free: 13.81 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005133/0.5664, allocations: 402.1 kB / 0.4903 GB, free: 13.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.5665, allocations: 8.031 kB / 0.4903 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.742e-05/0.5665, allocations: 34.55 kB / 0.4903 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.123e-05/0.5666, allocations: 11.91 kB / 0.4903 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.5669, allocations: 194.9 kB / 0.4905 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.5669, allocations: 7.938 kB / 0.4905 GB, free: 13.07 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.153e-05/0.567, allocations: 15.95 kB / 0.4905 GB, free: 13.05 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.5672, allocations: 65.67 kB / 0.4906 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.5672, allocations: 3.938 kB / 0.4906 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.5672, allocations: 0 / 0.4906 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.5672, allocations: 0 / 0.4906 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.5674, allocations: 31.98 kB / 0.4906 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006097/0.568, allocations: 344.7 kB / 0.491 GB, free: 12.56 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001511/0.5681, allocations: 58.5 kB / 0.491 GB, free: 12.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.001e-05/0.5682, allocations: 20.86 kB / 0.491 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.5683, allocations: 0 / 0.491 GB, free: 12.47 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.5683, allocations: 38.55 kB / 0.4911 GB, free: 12.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.483e-06/0.5683, allocations: 0 / 0.4911 GB, free: 12.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009459/0.5693, allocations: 238.4 kB / 0.4913 GB, free: 12.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.5693, allocations: 59.36 kB / 0.4914 GB, free: 12.12 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001943/0.5695, allocations: 153.4 kB / 0.4915 GB, free: 11.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.5696, allocations: 25.7 kB / 0.4915 GB, free: 11.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.502e-05/0.5697, allocations: 158.6 kB / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.5697, allocations: 47.3 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.173e-05/0.5697, allocations: 4 kB / 0.4917 GB, free: 11.72 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5699, allocations: 314.8 kB / 0.492 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001028/0.57, allocations: 35.98 kB / 0.4921 GB, free: 11.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.919e-05/0.5701, allocations: 40.11 kB / 0.4921 GB, free: 11.33 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000117/0.5702, allocations: 43.92 kB / 0.4921 GB, free: 11.29 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.5703, allocations: 0 / 0.4921 GB, free: 11.29 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002987/0.5706, allocations: 121.7 kB / 0.4923 GB, free: 11.16 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.5706, allocations: 4 kB / 0.4923 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5706, allocations: 0 / 0.4923 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.5706, allocations: 0 / 0.4923 GB, free: 11.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002295/0.5709, allocations: 31.98 kB / 0.4923 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.614e-06/0.5709, allocations: 0 / 0.4923 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.733e-05/0.571, allocations: 15.86 kB / 0.4923 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.571, allocations: 4 kB / 0.4923 GB, free: 11.11 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 (13): * Single equations (assignments): 13 * 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.216e-05/0.5711, allocations: 112.9 kB / 0.4924 GB, free: 10.99 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.977e-05/0.5712, allocations: 11.89 kB / 0.4924 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004244/0.5716, allocations: 150.9 kB / 0.4926 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.5716, allocations: 8 kB / 0.4926 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.5717, allocations: 0 / 0.4926 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.5717, allocations: 3.953 kB / 0.4926 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007976/0.5725, allocations: 475.1 kB / 0.493 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.666e-06/0.5725, allocations: 0 / 0.493 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001941/0.5727, allocations: 39.95 kB / 0.4931 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.873e-06/0.5727, allocations: 7.891 kB / 0.4931 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.5727, allocations: 7.984 kB / 0.4931 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.129e-06/0.5728, allocations: 3.984 kB / 0.4931 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5728, allocations: 0 / 0.4931 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.5731, allocations: 238 kB / 0.4933 GB, free: 9.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.896e-05/0.5732, allocations: 100.9 kB / 0.4934 GB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.59e-05/0.5732, allocations: 0 / 0.4934 GB, free: 9.863 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.5734, allocations: 11.98 kB / 0.4934 GB, free: 9.852 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.979e-05/0.5734, allocations: 15.92 kB / 0.4934 GB, free: 9.836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.39e-05/0.5735, allocations: 4 kB / 0.4934 GB, free: 9.832 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001232/0.5736, allocations: 115.3 kB / 0.4936 GB, free: 9.719 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5736, allocations: 0 / 0.4936 GB, free: 9.719 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003684/0.574, allocations: 31.94 kB / 0.4936 GB, free: 9.688 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 (13): * Single equations (assignments): 13 * 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.001854/0.5759, allocations: 1.183 MB / 0.4947 GB, free: 8.621 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002802/0.5762, allocations: 87.98 kB / 0.4948 GB, free: 8.535 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.5762, allocations: 0 / 0.4948 GB, free: 8.535 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.5763, allocations: 55.92 kB / 0.4949 GB, free: 8.48 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003042/0.5766, allocations: 22.81 kB / 0.4949 GB, free: 8.461 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008246/0.5775, allocations: 281.4 kB / 0.4952 GB, free: 8.141 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.5778, allocations: 0.716 MB / 0.4959 GB, free: 7.398 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.578, allocations: 35.42 kB / 0.4959 GB, free: 7.363 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.578, allocations: 0 / 0.4959 GB, free: 7.363 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_CombiTable1Dv_Test29CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test29CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test29CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test29Functions.cpp:231:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp9.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_CombiTable1Dv_Test29CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test29FMU.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_CombiTable1Dv_Test29CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test29CalcHelperMain.o] Error 1