Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test5,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.619/2.619, allocations: 270 MB / 282.6 MB, free: 1.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.88e-05/3.884e-05, allocations: 4 kB / 347.1 MB, free: 3.215 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4084/0.4085, allocations: 61.86 MB / 408.9 MB, free: 10.84 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.5692, allocations: 88.15 MB / 497.1 MB, free: 2.574 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.5696, allocations: 75.95 kB / 497.1 MB, free: 2.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01816/0.5877, allocations: 4.32 MB / 0.4897 GB, free: 14.17 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.5878, allocations: 4 kB / 0.4897 GB, free: 14.17 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.972e-05/0.5878, allocations: 8 kB / 0.4897 GB, free: 14.16 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.0005076/0.5883, allocations: 398.1 kB / 0.4901 GB, free: 13.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.5884, allocations: 8.031 kB / 0.4901 GB, free: 13.72 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.705e-05/0.5884, allocations: 38.48 kB / 0.4901 GB, free: 13.67 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.437e-05/0.5885, allocations: 11.91 kB / 0.4902 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003568/0.5889, allocations: 209.6 kB / 0.4904 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.858e-06/0.5889, allocations: 4 kB / 0.4904 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.562e-05/0.5889, allocations: 7.953 kB / 0.4904 GB, free: 13.4 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.5891, allocations: 57.56 kB / 0.4904 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.5891, allocations: 0 / 0.4904 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.5891, allocations: 0 / 0.4904 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.5891, allocations: 0 / 0.4904 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.767e-05/0.5892, allocations: 16 kB / 0.4904 GB, free: 13.32 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005444/0.5898, allocations: 312.8 kB / 0.4907 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.5899, allocations: 46.48 kB / 0.4908 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.132e-05/0.59, allocations: 12.86 kB / 0.4908 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.135e-05/0.59, allocations: 0 / 0.4908 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.59, allocations: 34.56 kB / 0.4908 GB, free: 12.86 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.694e-06/0.59, allocations: 0 / 0.4908 GB, free: 12.86 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007356/0.5908, allocations: 181.2 kB / 0.491 GB, free: 12.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.5908, allocations: 51.41 kB / 0.4911 GB, free: 12.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.5912, allocations: 210.6 kB / 0.4913 GB, free: 12.39 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.005e-05/0.5912, allocations: 25.7 kB / 0.4913 GB, free: 12.36 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.949e-05/0.5913, allocations: 162.6 kB / 0.4914 GB, free: 12.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.5913, allocations: 31.55 kB / 0.4915 GB, free: 12.17 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.114e-06/0.5914, allocations: 0 / 0.4915 GB, free: 12.17 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.5915, allocations: 318.8 kB / 0.4918 GB, free: 11.85 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.387e-05/0.5916, allocations: 20 kB / 0.4918 GB, free: 11.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.275e-05/0.5916, allocations: 23.98 kB / 0.4918 GB, free: 11.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.592e-05/0.5917, allocations: 27.98 kB / 0.4918 GB, free: 11.78 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.5917, allocations: 0 / 0.4918 GB, free: 11.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002041/0.592, allocations: 81.62 kB / 0.4919 GB, free: 11.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.592, allocations: 4 kB / 0.4919 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.592, allocations: 0 / 0.4919 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.592, allocations: 7.938 kB / 0.4919 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.5922, allocations: 19.98 kB / 0.4919 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.5922, allocations: 4 kB / 0.4919 GB, free: 11.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.259e-05/0.5923, allocations: 7.984 kB / 0.492 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.361e-05/0.5924, allocations: 4 kB / 0.492 GB, free: 11.65 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 8.056e-05/0.5925, allocations: 108.9 kB / 0.4921 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.93e-05/0.5925, allocations: 11.81 kB / 0.4921 GB, free: 11.52 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003132/0.5929, allocations: 123.4 kB / 0.4922 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5929, allocations: 0 / 0.4922 GB, free: 11.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.5929, allocations: 4 kB / 0.4922 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5929, allocations: 0 / 0.4922 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006816/0.5936, allocations: 419.2 kB / 0.4926 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.5936, allocations: 0 / 0.4926 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001385/0.5938, allocations: 23.98 kB / 0.4926 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.5938, allocations: 4 kB / 0.4926 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.5938, allocations: 0 / 0.4926 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.5938, allocations: 7.969 kB / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.5938, allocations: 0 / 0.4926 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002721/0.5941, allocations: 213.8 kB / 0.4928 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.284e-05/0.5942, allocations: 93.02 kB / 0.4929 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.919e-05/0.5942, allocations: 4 kB / 0.4929 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.5944, allocations: 11.98 kB / 0.4929 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.953e-05/0.5944, allocations: 7.953 kB / 0.4929 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.116e-05/0.5945, allocations: 3.984 kB / 0.4929 GB, free: 10.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002246/0.5947, allocations: 164.2 kB / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5947, allocations: 0 / 0.4931 GB, free: 10.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000372/0.5951, allocations: 31.94 kB / 0.4931 GB, free: 10.33 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.001798/0.5969, allocations: 1.156 MB / 0.4943 GB, free: 9.293 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002173/0.5971, allocations: 51.98 kB / 0.4943 GB, free: 9.242 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.5972, allocations: 0 / 0.4943 GB, free: 9.242 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.832e-05/0.5973, allocations: 35.92 kB / 0.4943 GB, free: 9.207 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.5976, allocations: 18.8 kB / 0.4944 GB, free: 9.191 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008408/0.5985, allocations: 305.2 kB / 0.4947 GB, free: 8.848 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003319/0.5988, allocations: 0.716 MB / 0.4954 GB, free: 8.105 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.5989, allocations: 35.42 kB / 0.4954 GB, free: 8.07 MB / 426.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5989, allocations: 3.938 kB / 0.4954 GB, free: 8.066 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_Test5CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test5CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test5CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_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_CombiTable1Dv_Test5CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_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_CombiTable1Dv_Test5CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test5CalcHelperMain.o] Error 1