Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test16,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test16",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.473/2.473, allocations: 270 MB / 282.6 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.538e-05/3.542e-05, allocations: 4 kB / 347.1 MB, free: 3.117 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3902/0.3903, allocations: 61.88 MB / 408.9 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.5695, allocations: 88.14 MB / 497.1 MB, free: 2.504 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003428/0.5699, allocations: 71.97 kB / 497.1 MB, free: 2.434 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0221/0.5921, allocations: 4.281 MB / 0.4897 GB, free: 14.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.5921, allocations: 0 / 0.4897 GB, free: 14.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.5921, allocations: 4 kB / 0.4897 GB, free: 14.14 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.0005048/0.5926, allocations: 398.1 kB / 0.4901 GB, free: 13.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.5927, allocations: 8.031 kB / 0.4901 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.174e-05/0.5928, allocations: 34.56 kB / 0.4901 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.5928, allocations: 11.91 kB / 0.4901 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003057/0.5931, allocations: 199.7 kB / 0.4903 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.5932, allocations: 0 / 0.4903 GB, free: 13.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.242e-05/0.5932, allocations: 11.95 kB / 0.4903 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.5933, allocations: 45.69 kB / 0.4904 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.311e-05/0.5934, allocations: 4 kB / 0.4904 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.5934, allocations: 8 kB / 0.4904 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.5934, allocations: 3.984 kB / 0.4904 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.619e-05/0.5935, allocations: 23.92 kB / 0.4904 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005446/0.5941, allocations: 304.7 kB / 0.4907 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.5942, allocations: 42.56 kB / 0.4907 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.891e-05/0.5943, allocations: 12.86 kB / 0.4907 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.5943, allocations: 0 / 0.4907 GB, free: 12.89 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.039e-05/0.5943, allocations: 42.5 kB / 0.4908 GB, free: 12.84 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.5944, allocations: 0 / 0.4908 GB, free: 12.84 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007167/0.5951, allocations: 165.2 kB / 0.4909 GB, free: 12.67 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.079e-05/0.5951, allocations: 51.41 kB / 0.491 GB, free: 12.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002998/0.5954, allocations: 192.8 kB / 0.4912 GB, free: 12.42 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.5955, allocations: 25.7 kB / 0.4912 GB, free: 12.39 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.383e-05/0.5956, allocations: 166.5 kB / 0.4913 GB, free: 12.22 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.5956, allocations: 23.64 kB / 0.4914 GB, free: 12.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.125e-05/0.5957, allocations: 8 kB / 0.4914 GB, free: 12.19 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001306/0.5958, allocations: 314.8 kB / 0.4917 GB, free: 11.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.486e-05/0.5959, allocations: 20 kB / 0.4917 GB, free: 11.86 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.028e-05/0.5959, allocations: 20.06 kB / 0.4917 GB, free: 11.84 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.846e-05/0.596, allocations: 32.2 kB / 0.4917 GB, free: 11.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.596, allocations: 3.984 kB / 0.4917 GB, free: 11.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002061/0.5963, allocations: 77.69 kB / 0.4918 GB, free: 11.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.5963, allocations: 8 kB / 0.4918 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.5963, allocations: 0 / 0.4918 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.5963, allocations: 0 / 0.4918 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002333/0.5966, allocations: 23.92 kB / 0.4919 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.5966, allocations: 0 / 0.4919 GB, free: 11.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.554e-05/0.5967, allocations: 15.89 kB / 0.4919 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.315e-05/0.5967, allocations: 11.94 kB / 0.4919 GB, free: 11.66 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.039e-05/0.5968, allocations: 104.9 kB / 0.492 GB, free: 11.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.906e-05/0.5969, allocations: 11.91 kB / 0.492 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000298/0.5972, allocations: 106.3 kB / 0.4921 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.5972, allocations: 0 / 0.4921 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.558e-06/0.5972, allocations: 0 / 0.4921 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.5972, allocations: 0 / 0.4921 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006958/0.5979, allocations: 423.2 kB / 0.4925 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.598, allocations: 0 / 0.4925 GB, free: 10.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001493/0.5981, allocations: 27.92 kB / 0.4925 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.5981, allocations: 0 / 0.4925 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.5982, allocations: 0 / 0.4925 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.503e-06/0.5982, allocations: 4 kB / 0.4925 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5982, allocations: 0 / 0.4925 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.5985, allocations: 206.2 kB / 0.4927 GB, free: 10.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/0.5986, allocations: 97 kB / 0.4928 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.891e-05/0.5986, allocations: 4 kB / 0.4928 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.5987, allocations: 4 kB / 0.4928 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.5988, allocations: 15.94 kB / 0.4928 GB, free: 10.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.5988, allocations: 0 / 0.4928 GB, free: 10.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002065/0.599, allocations: 156.6 kB / 0.493 GB, free: 10.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5991, allocations: 3.938 kB / 0.493 GB, free: 10.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000385/0.5995, allocations: 27.94 kB / 0.493 GB, free: 10.38 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.001807/0.6013, allocations: 1.167 MB / 0.4942 GB, free: 9.332 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.6015, allocations: 55.92 kB / 0.4942 GB, free: 9.277 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.6015, allocations: 0 / 0.4942 GB, free: 9.277 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.635e-05/0.6016, allocations: 35.92 kB / 0.4942 GB, free: 9.242 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003139/0.602, allocations: 19 kB / 0.4943 GB, free: 9.227 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008105/0.6028, allocations: 281.7 kB / 0.4945 GB, free: 8.898 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.6031, allocations: 0.7121 MB / 0.4952 GB, free: 8.16 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.6033, allocations: 35.42 kB / 0.4953 GB, free: 8.125 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6033, allocations: 0 / 0.4953 GB, free: 8.125 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_Test16CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test16CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test16CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test16Functions.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_Test16CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test16FMU.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_Test16CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test16CalcHelperMain.o] Error 1