Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test12,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.662/2.662, allocations: 270 MB / 282.6 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.882e-05/3.876e-05, allocations: 7.984 kB / 347.1 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3957/0.3957, allocations: 61.87 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1685/0.5643, allocations: 87.94 MB / 496.9 MB, free: 2.672 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/0.5647, allocations: 71.97 kB / 496.9 MB, free: 2.602 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01675/0.5815, allocations: 3.753 MB / 0.4889 GB, free: 14.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.5815, allocations: 0 / 0.4889 GB, free: 14.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.5816, allocations: 4 kB / 0.489 GB, free: 14.84 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004725/0.582, allocations: 366.4 kB / 0.4893 GB, free: 14.43 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/0.5821, allocations: 12.03 kB / 0.4893 GB, free: 14.42 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.358e-05/0.5822, allocations: 34.56 kB / 0.4893 GB, free: 14.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.5822, allocations: 7.906 kB / 0.4894 GB, free: 14.37 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.5825, allocations: 194.8 kB / 0.4895 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.5826, allocations: 3.953 kB / 0.4895 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.208e-05/0.5826, allocations: 8 kB / 0.4896 GB, free: 14.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.5827, allocations: 45.62 kB / 0.4896 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.5828, allocations: 3.906 kB / 0.4896 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.5828, allocations: 4 kB / 0.4896 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5828, allocations: 0 / 0.4896 GB, free: 14.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.38e-05/0.5829, allocations: 11.94 kB / 0.4896 GB, free: 14.06 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004375/0.5833, allocations: 288.8 kB / 0.4899 GB, free: 13.73 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.5836, allocations: 38.58 kB / 0.4899 GB, free: 13.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.754e-05/0.5837, allocations: 8.859 kB / 0.4899 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.829e-05/0.5837, allocations: 4.078 kB / 0.4899 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.5837, allocations: 38.56 kB / 0.49 GB, free: 13.62 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 2.124e-06/0.5837, allocations: 0 / 0.49 GB, free: 13.62 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005281/0.5843, allocations: 101.3 kB / 0.4901 GB, free: 13.51 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.5843, allocations: 55.41 kB / 0.4901 GB, free: 13.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002275/0.5846, allocations: 159.8 kB / 0.4903 GB, free: 13.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.076e-05/0.5846, allocations: 25.7 kB / 0.4903 GB, free: 13.25 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.5847, allocations: 158.5 kB / 0.4905 GB, free: 13.1 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.5847, allocations: 15.81 kB / 0.4905 GB, free: 13.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.059e-06/0.5848, allocations: 0 / 0.4905 GB, free: 13.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.5849, allocations: 314.8 kB / 0.4908 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.918e-05/0.5849, allocations: 8 kB / 0.4908 GB, free: 12.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.623e-05/0.585, allocations: 16 kB / 0.4908 GB, free: 12.74 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.33e-05/0.585, allocations: 12.19 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5851, allocations: 0 / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001559/0.5852, allocations: 65.53 kB / 0.4909 GB, free: 12.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.949e-05/0.5852, allocations: 4 kB / 0.4909 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.5853, allocations: 0 / 0.4909 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.5853, allocations: 4 kB / 0.4909 GB, free: 12.65 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000138/0.5854, allocations: 11.98 kB / 0.4909 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.054e-05/0.5855, allocations: 4 kB / 0.4909 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.922e-05/0.5856, allocations: 8 kB / 0.4909 GB, free: 12.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.251e-05/0.5856, allocations: 3.953 kB / 0.4909 GB, free: 12.62 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 (5): * Single equations (assignments): 5 * 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 8.794e-05/0.5857, allocations: 109 kB / 0.491 GB, free: 12.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.305e-05/0.5857, allocations: 7.906 kB / 0.491 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002172/0.586, allocations: 73.7 kB / 0.4911 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/0.586, allocations: 0 / 0.4911 GB, free: 12.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.586, allocations: 3.938 kB / 0.4911 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.586, allocations: 0 / 0.4911 GB, free: 12.42 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.5865, allocations: 338.5 kB / 0.4914 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5865, allocations: 0 / 0.4914 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001215/0.5867, allocations: 15.98 kB / 0.4914 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.5867, allocations: 0 / 0.4914 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/0.5867, allocations: 0 / 0.4914 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.5867, allocations: 0 / 0.4914 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.5867, allocations: 4 kB / 0.4914 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002018/0.5869, allocations: 171.5 kB / 0.4916 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.92e-05/0.587, allocations: 89 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.5871, allocations: 3.938 kB / 0.4917 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.5872, allocations: 8 kB / 0.4917 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.5872, allocations: 3.984 kB / 0.4917 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.5873, allocations: 8 kB / 0.4917 GB, free: 11.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001606/0.5874, allocations: 125.8 kB / 0.4918 GB, free: 11.58 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.5874, allocations: 4 kB / 0.4918 GB, free: 11.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003821/0.5878, allocations: 23.94 kB / 0.4918 GB, free: 11.55 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 (5): * Single equations (assignments): 5 * 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.001656/0.5895, allocations: 0.9874 MB / 0.4928 GB, free: 10.68 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001681/0.5897, allocations: 27.94 kB / 0.4928 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.5897, allocations: 0 / 0.4928 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.634e-05/0.5898, allocations: 19.98 kB / 0.4929 GB, free: 10.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.5901, allocations: 26.67 kB / 0.4929 GB, free: 10.61 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006727/0.5908, allocations: 201 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.5911, allocations: 0.6965 MB / 0.4938 GB, free: 9.641 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.163e-05/0.5913, allocations: 23.42 kB / 0.4938 GB, free: 9.617 MB / 426.7 MB Notification: Performance of SimCode: time 1.273e-06/0.5913, allocations: 0 / 0.4938 GB, free: 9.617 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_Test12CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12Functions.cpp:194:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp5.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_Test12CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12FMU.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_Test12CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test12CalcHelperMain.o] Error 1