Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test4,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.67/2.67, allocations: 270 MB / 282.6 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.29e-05/4.298e-05, allocations: 4 kB / 347 MB, free: 3.199 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/0.4959, allocations: 61.86 MB / 408.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1606/0.6566, allocations: 88.27 MB / 497.2 MB, free: 2.32 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/0.6569, allocations: 71.95 kB / 497.3 MB, free: 2.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01945/0.6764, allocations: 4.695 MB / 0.4902 GB, free: 13.55 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.528e-06/0.6764, allocations: 0 / 0.4902 GB, free: 13.55 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.6764, allocations: 7.938 kB / 0.4902 GB, free: 13.54 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000519/0.677, allocations: 413.2 kB / 0.4906 GB, free: 13.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.677, allocations: 8.031 kB / 0.4906 GB, free: 13.09 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.362e-05/0.6771, allocations: 42.55 kB / 0.4906 GB, free: 13.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.11e-05/0.6772, allocations: 11.81 kB / 0.4906 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003194/0.6775, allocations: 216.1 kB / 0.4908 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.6775, allocations: 4 kB / 0.4909 GB, free: 12.77 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.858e-05/0.6776, allocations: 7.953 kB / 0.4909 GB, free: 12.76 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001821/0.6778, allocations: 65.67 kB / 0.4909 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.6778, allocations: 7.906 kB / 0.4909 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.6778, allocations: 0 / 0.4909 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.6778, allocations: 4 kB / 0.4909 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.678, allocations: 31.98 kB / 0.491 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006329/0.6786, allocations: 356.6 kB / 0.4913 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.6788, allocations: 58.56 kB / 0.4914 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.6789, allocations: 20.86 kB / 0.4914 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.6789, allocations: 3.938 kB / 0.4914 GB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.27e-05/0.6789, allocations: 38.5 kB / 0.4914 GB, free: 12.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.833e-06/0.6789, allocations: 0 / 0.4914 GB, free: 12.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009796/0.6799, allocations: 254.3 kB / 0.4917 GB, free: 11.86 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.074e-05/0.68, allocations: 55.36 kB / 0.4917 GB, free: 11.79 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003518/0.6804, allocations: 205.4 kB / 0.4919 GB, free: 11.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.6804, allocations: 29.7 kB / 0.4919 GB, free: 11.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000103/0.6805, allocations: 178.4 kB / 0.4921 GB, free: 11.37 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.611e-05/0.6806, allocations: 39.38 kB / 0.4921 GB, free: 11.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.207e-05/0.6806, allocations: 4 kB / 0.4922 GB, free: 11.32 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.6808, allocations: 318.8 kB / 0.4925 GB, free: 11 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.829e-05/0.6809, allocations: 32 kB / 0.4925 GB, free: 10.97 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.669e-05/0.681, allocations: 35.98 kB / 0.4925 GB, free: 10.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.6811, allocations: 39.97 kB / 0.4926 GB, free: 10.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.6811, allocations: 0 / 0.4926 GB, free: 10.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002901/0.6814, allocations: 117.7 kB / 0.4927 GB, free: 10.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.651e-05/0.6815, allocations: 4 kB / 0.4927 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.746e-06/0.6815, allocations: 4 kB / 0.4927 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.6815, allocations: 7.938 kB / 0.4927 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.6817, allocations: 23.98 kB / 0.4927 GB, free: 10.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.6818, allocations: 4 kB / 0.4927 GB, free: 10.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.157e-05/0.6819, allocations: 15.94 kB / 0.4927 GB, free: 10.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.6819, allocations: 4 kB / 0.4927 GB, free: 10.71 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 (13): * Single equations (assignments): 13 * 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.102e-05/0.682, allocations: 105 kB / 0.4928 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.682, allocations: 19.81 kB / 0.4929 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000436/0.6825, allocations: 175.6 kB / 0.493 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.028e-06/0.6825, allocations: 0 / 0.493 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.6825, allocations: 0 / 0.493 GB, free: 10.41 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.6825, allocations: 7.953 kB / 0.493 GB, free: 10.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008606/0.6834, allocations: 0.4952 MB / 0.4935 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.6834, allocations: 0 / 0.4935 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001864/0.6836, allocations: 27.98 kB / 0.4935 GB, free: 9.82 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.6836, allocations: 7.953 kB / 0.4935 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.292e-05/0.6837, allocations: 0 / 0.4935 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.6837, allocations: 7.938 kB / 0.4936 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6837, allocations: 0 / 0.4936 GB, free: 9.805 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.6841, allocations: 250.6 kB / 0.4938 GB, free: 9.535 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.409e-05/0.6842, allocations: 96.88 kB / 0.4939 GB, free: 9.422 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.6842, allocations: 11.98 kB / 0.4939 GB, free: 9.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.6844, allocations: 7.938 kB / 0.4939 GB, free: 9.402 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.317e-05/0.6844, allocations: 7.984 kB / 0.4939 GB, free: 9.395 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.6844, allocations: 8 kB / 0.4939 GB, free: 9.387 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002405/0.6847, allocations: 172.2 kB / 0.4941 GB, free: 9.219 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.437e-06/0.6847, allocations: 4 kB / 0.4941 GB, free: 9.215 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003758/0.6851, allocations: 35.94 kB / 0.4941 GB, free: 9.18 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 (13): * Single equations (assignments): 13 * 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.001825/0.6869, allocations: 1.181 MB / 0.4953 GB, free: 8.113 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002799/0.6872, allocations: 91.92 kB / 0.4954 GB, free: 8.023 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.6872, allocations: 0 / 0.4954 GB, free: 8.023 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001347/0.6874, allocations: 55.86 kB / 0.4954 GB, free: 7.969 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003134/0.6877, allocations: 18.83 kB / 0.4954 GB, free: 7.953 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009292/0.6887, allocations: 345.8 kB / 0.4958 GB, free: 7.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003393/0.689, allocations: 0.7238 MB / 0.4965 GB, free: 6.82 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001299/0.6892, allocations: 47.41 kB / 0.4965 GB, free: 6.773 MB / 426.7 MB Notification: Performance of SimCode: time 7.71e-07/0.6892, allocations: 0 / 0.4965 GB, free: 6.773 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_Test4CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test4CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test4CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test4Functions.cpp:231:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp9.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_Test4CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test4FMU.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_Test4CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test4CalcHelperMain.o] Error 1