Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.447/2.447, allocations: 270 MB / 282.6 MB, free: 1.938 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.366e-05/4.374e-05, allocations: 4 kB / 347.1 MB, free: 3.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4814/0.4815, allocations: 61.87 MB / 408.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1811/0.6627, allocations: 88.05 MB / 497 MB, free: 2.547 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003416/0.6631, allocations: 71.97 kB / 497 MB, free: 2.477 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02382/0.6869, allocations: 4.304 MB / 0.4896 GB, free: 14.16 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.687, allocations: 4 kB / 0.4896 GB, free: 14.16 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.448e-05/0.687, allocations: 4 kB / 0.4896 GB, free: 14.15 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.0006547/0.6877, allocations: 402.1 kB / 0.49 GB, free: 13.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.6877, allocations: 8.031 kB / 0.49 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.365e-05/0.6878, allocations: 46.48 kB / 0.49 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.6879, allocations: 7.906 kB / 0.49 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003407/0.6882, allocations: 209.6 kB / 0.4902 GB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.17e-05/0.6882, allocations: 0 / 0.4902 GB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.556e-05/0.6883, allocations: 7.953 kB / 0.4903 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.6884, allocations: 49.62 kB / 0.4903 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.6885, allocations: 7.938 kB / 0.4903 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.6885, allocations: 0 / 0.4903 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.171e-05/0.6885, allocations: 4 kB / 0.4903 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.283e-05/0.6886, allocations: 12 kB / 0.4903 GB, free: 13.31 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005098/0.6891, allocations: 296.8 kB / 0.4906 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001094/0.6892, allocations: 42.5 kB / 0.4906 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.515e-05/0.6893, allocations: 16.86 kB / 0.4907 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.384e-05/0.6893, allocations: 0 / 0.4907 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.2e-05/0.6894, allocations: 30.56 kB / 0.4907 GB, free: 12.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.6894, allocations: 0 / 0.4907 GB, free: 12.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007397/0.6902, allocations: 165.2 kB / 0.4908 GB, free: 12.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.6902, allocations: 51.41 kB / 0.4909 GB, free: 12.63 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003567/0.6906, allocations: 210.6 kB / 0.4911 GB, free: 12.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.2e-05/0.6907, allocations: 33.7 kB / 0.4911 GB, free: 12.38 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.547e-05/0.6908, allocations: 158.6 kB / 0.4913 GB, free: 12.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.059e-05/0.6908, allocations: 31.55 kB / 0.4913 GB, free: 12.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-06/0.6908, allocations: 4 kB / 0.4913 GB, free: 12.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.691, allocations: 314.8 kB / 0.4916 GB, free: 11.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.727e-05/0.6911, allocations: 16 kB / 0.4916 GB, free: 11.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.72e-05/0.6911, allocations: 16 kB / 0.4916 GB, free: 11.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.744e-05/0.6912, allocations: 15.98 kB / 0.4917 GB, free: 11.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.6912, allocations: 8 kB / 0.4917 GB, free: 11.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002006/0.6914, allocations: 73.62 kB / 0.4917 GB, free: 11.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.6915, allocations: 4 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.6915, allocations: 0 / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.6915, allocations: 3.938 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.6917, allocations: 19.98 kB / 0.4918 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.6917, allocations: 0 / 0.4918 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.395e-05/0.6918, allocations: 12 kB / 0.4918 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.159e-05/0.6919, allocations: 4 kB / 0.4918 GB, free: 11.7 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 9.032e-05/0.692, allocations: 108.9 kB / 0.4919 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.475e-05/0.692, allocations: 11.81 kB / 0.4919 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002973/0.6923, allocations: 111.4 kB / 0.492 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.6924, allocations: 0 / 0.492 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6924, allocations: 0 / 0.492 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.6924, allocations: 0 / 0.492 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006914/0.6931, allocations: 407.3 kB / 0.4924 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.6931, allocations: 0 / 0.4924 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001503/0.6933, allocations: 19.98 kB / 0.4924 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.6933, allocations: 4 kB / 0.4924 GB, free: 10.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.6933, allocations: 4 kB / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6933, allocations: 0 / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6933, allocations: 3.938 kB / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000294/0.6936, allocations: 209.8 kB / 0.4926 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.469e-05/0.6938, allocations: 93.02 kB / 0.4927 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.706e-05/0.6938, allocations: 0 / 0.4927 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.6939, allocations: 11.98 kB / 0.4927 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.715e-05/0.694, allocations: 15.94 kB / 0.4927 GB, free: 10.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.694, allocations: 0 / 0.4927 GB, free: 10.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002504/0.6943, allocations: 164.2 kB / 0.4929 GB, free: 10.44 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6943, allocations: 0 / 0.4929 GB, free: 10.44 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003826/0.6947, allocations: 31.94 kB / 0.4929 GB, free: 10.41 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.001901/0.6966, allocations: 1.142 MB / 0.494 GB, free: 9.387 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001958/0.6968, allocations: 43.98 kB / 0.4941 GB, free: 9.344 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6968, allocations: 0 / 0.4941 GB, free: 9.344 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.494e-05/0.6969, allocations: 31.94 kB / 0.4941 GB, free: 9.312 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.6973, allocations: 15.94 kB / 0.4941 GB, free: 9.297 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008815/0.6982, allocations: 293.3 kB / 0.4944 GB, free: 8.965 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003547/0.6985, allocations: 0.7082 MB / 0.4951 GB, free: 8.23 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.6987, allocations: 35.42 kB / 0.4951 GB, free: 8.195 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6987, allocations: 3.938 kB / 0.4951 GB, free: 8.191 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_Test5CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5Functions.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_Test5CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5FMU.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_Test5CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5CalcHelperMain.o] Error 1