Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test26,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.644/2.644, allocations: 270 MB / 282.6 MB, free: 1.965 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.555e-05/3.561e-05, allocations: 0 / 347.1 MB, free: 3.223 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4102, allocations: 61.87 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1607/0.571, allocations: 88.14 MB / 497.1 MB, free: 2.461 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.5713, allocations: 75.97 kB / 497.1 MB, free: 2.387 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01855/0.5899, allocations: 4.281 MB / 0.4897 GB, free: 14.09 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5899, allocations: 0 / 0.4897 GB, free: 14.09 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.59, allocations: 4 kB / 0.4897 GB, free: 14.09 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.0004895/0.5905, allocations: 394.2 kB / 0.49 GB, free: 13.66 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.735e-05/0.5905, allocations: 8.031 kB / 0.4901 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.676e-05/0.5906, allocations: 38.5 kB / 0.4901 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.25e-05/0.5907, allocations: 15.84 kB / 0.4901 GB, free: 13.59 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003155/0.591, allocations: 199.8 kB / 0.4903 GB, free: 13.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.591, allocations: 3.984 kB / 0.4903 GB, free: 13.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.5911, allocations: 7.953 kB / 0.4903 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.5912, allocations: 53.69 kB / 0.4904 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.5912, allocations: 0 / 0.4904 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.5913, allocations: 0 / 0.4904 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.5913, allocations: 0 / 0.4904 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.612e-05/0.5913, allocations: 16 kB / 0.4904 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.5919, allocations: 312.7 kB / 0.4907 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001088/0.592, allocations: 38.58 kB / 0.4907 GB, free: 12.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.32e-05/0.5921, allocations: 12.86 kB / 0.4907 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.5921, allocations: 0 / 0.4907 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.5922, allocations: 38.64 kB / 0.4908 GB, free: 12.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.573e-06/0.5922, allocations: 0 / 0.4908 GB, free: 12.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007308/0.5929, allocations: 177.3 kB / 0.4909 GB, free: 12.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.593, allocations: 51.41 kB / 0.491 GB, free: 12.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.5933, allocations: 183.6 kB / 0.4912 GB, free: 12.38 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.385e-05/0.5933, allocations: 29.7 kB / 0.4912 GB, free: 12.34 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.487e-05/0.5934, allocations: 166.5 kB / 0.4913 GB, free: 12.18 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.064e-05/0.5935, allocations: 31.58 kB / 0.4914 GB, free: 12.15 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.5935, allocations: 0 / 0.4914 GB, free: 12.15 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.5936, allocations: 318.8 kB / 0.4917 GB, free: 11.83 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.624e-05/0.5937, allocations: 16 kB / 0.4917 GB, free: 11.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.224e-05/0.5937, allocations: 27.98 kB / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.45e-05/0.5938, allocations: 23.98 kB / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.5938, allocations: 0 / 0.4917 GB, free: 11.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002095/0.5941, allocations: 81.92 kB / 0.4918 GB, free: 11.68 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.5941, allocations: 4 kB / 0.4918 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.5941, allocations: 80 / 0.4918 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.5941, allocations: 0 / 0.4918 GB, free: 11.67 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001846/0.5943, allocations: 19.98 kB / 0.4918 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.5944, allocations: 3.984 kB / 0.4918 GB, free: 11.65 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.979e-05/0.5945, allocations: 19.89 kB / 0.4919 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.5945, allocations: 4 kB / 0.4919 GB, free: 11.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 (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.092e-05/0.5946, allocations: 112.1 kB / 0.492 GB, free: 11.51 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.849e-05/0.5946, allocations: 11.91 kB / 0.492 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.595, allocations: 110.3 kB / 0.4921 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.595, allocations: 0 / 0.4921 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.595, allocations: 0 / 0.4921 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.595, allocations: 0 / 0.4921 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006773/0.5957, allocations: 423.2 kB / 0.4925 GB, free: 10.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.5957, allocations: 3.938 kB / 0.4925 GB, free: 10.91 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.5959, allocations: 19.98 kB / 0.4925 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.5959, allocations: 0 / 0.4925 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.5959, allocations: 8 kB / 0.4925 GB, free: 10.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.995e-06/0.5959, allocations: 7.938 kB / 0.4925 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.596, allocations: 4.031 kB / 0.4925 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002688/0.5962, allocations: 198 kB / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.375e-05/0.5963, allocations: 97 kB / 0.4928 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.5964, allocations: 7.938 kB / 0.4928 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.5965, allocations: 4 kB / 0.4928 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.5966, allocations: 15.94 kB / 0.4928 GB, free: 10.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.5966, allocations: 8 kB / 0.4928 GB, free: 10.51 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002074/0.5968, allocations: 150.3 kB / 0.493 GB, free: 10.36 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.5968, allocations: 0 / 0.493 GB, free: 10.36 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003795/0.5972, allocations: 31.92 kB / 0.493 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.001866/0.5991, allocations: 1.148 MB / 0.4941 GB, free: 9.301 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002508/0.5994, allocations: 55.92 kB / 0.4942 GB, free: 9.246 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5994, allocations: 0 / 0.4942 GB, free: 9.246 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.262e-05/0.5995, allocations: 35.97 kB / 0.4942 GB, free: 9.211 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003313/0.5999, allocations: 31.09 kB / 0.4943 GB, free: 9.184 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000832/0.6007, allocations: 285.5 kB / 0.4945 GB, free: 8.852 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.6011, allocations: 0.7082 MB / 0.4952 GB, free: 8.117 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.6012, allocations: 35.42 kB / 0.4953 GB, free: 8.082 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/0.6012, allocations: 0 / 0.4953 GB, free: 8.082 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_Test26CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test26CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test26CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test26Functions.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_Test26CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test26FMU.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_Test26CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test26CalcHelperMain.o] Error 1