Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test27,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.549/2.549, allocations: 270 MB / 282.6 MB, free: 1.941 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.209e-05/3.219e-05, allocations: 4 kB / 347.1 MB, free: 3.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5371/0.5371, allocations: 61.87 MB / 408.9 MB, free: 10.83 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.6977, allocations: 88.14 MB / 497.1 MB, free: 2.57 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.698, allocations: 71.95 kB / 497.1 MB, free: 2.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01838/0.7164, allocations: 4.52 MB / 0.4899 GB, free: 13.97 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.7165, allocations: 0 / 0.4899 GB, free: 13.97 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.632e-05/0.7165, allocations: 0 / 0.4899 GB, free: 13.97 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.0005051/0.717, allocations: 406.2 kB / 0.4903 GB, free: 13.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.539e-05/0.7171, allocations: 16.03 kB / 0.4903 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.596e-05/0.7172, allocations: 42.44 kB / 0.4903 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.7172, allocations: 11.81 kB / 0.4903 GB, free: 13.45 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003717/0.7176, allocations: 218.6 kB / 0.4906 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.7176, allocations: 7.953 kB / 0.4906 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.227e-05/0.7177, allocations: 0 / 0.4906 GB, free: 13.19 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001351/0.7178, allocations: 49.69 kB / 0.4906 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.332e-05/0.7178, allocations: 0 / 0.4906 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.7178, allocations: 0 / 0.4906 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.7179, allocations: 0 / 0.4906 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.013e-05/0.7179, allocations: 23.98 kB / 0.4906 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005606/0.7185, allocations: 320.8 kB / 0.4909 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.7186, allocations: 34.58 kB / 0.491 GB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/0.7187, allocations: 16.94 kB / 0.491 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.7187, allocations: 8 kB / 0.491 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.7188, allocations: 30.56 kB / 0.491 GB, free: 12.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.803e-06/0.7188, allocations: 0 / 0.491 GB, free: 12.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007244/0.7195, allocations: 177.2 kB / 0.4912 GB, free: 12.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.7196, allocations: 51.48 kB / 0.4912 GB, free: 12.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004005/0.72, allocations: 245.5 kB / 0.4915 GB, free: 12.15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.72, allocations: 33.64 kB / 0.4915 GB, free: 12.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.7201, allocations: 174.5 kB / 0.4917 GB, free: 11.94 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.761e-05/0.7202, allocations: 23.56 kB / 0.4917 GB, free: 11.91 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.137e-06/0.7202, allocations: 4 kB / 0.4917 GB, free: 11.91 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000126/0.7203, allocations: 314.8 kB / 0.492 GB, free: 11.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.483e-05/0.7204, allocations: 20 kB / 0.492 GB, free: 11.57 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.312e-05/0.7205, allocations: 23.98 kB / 0.492 GB, free: 11.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.093e-05/0.7206, allocations: 20 kB / 0.4921 GB, free: 11.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.7206, allocations: 0 / 0.4921 GB, free: 11.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002066/0.7208, allocations: 89.67 kB / 0.4921 GB, free: 11.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.7208, allocations: 4 kB / 0.4922 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.215e-06/0.7208, allocations: 320 / 0.4922 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.7209, allocations: 3.938 kB / 0.4922 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001746/0.7211, allocations: 19.98 kB / 0.4922 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.7211, allocations: 0 / 0.4922 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.267e-05/0.7212, allocations: 19.88 kB / 0.4922 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.7212, allocations: 3.984 kB / 0.4922 GB, free: 11.39 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 7.981e-05/0.7213, allocations: 120 kB / 0.4923 GB, free: 11.27 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.784e-05/0.7214, allocations: 11.81 kB / 0.4923 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.7217, allocations: 115.2 kB / 0.4924 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.7217, allocations: 0 / 0.4924 GB, free: 11.14 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7217, allocations: 4 kB / 0.4924 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.7217, allocations: 0 / 0.4924 GB, free: 11.13 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007359/0.7225, allocations: 435.2 kB / 0.4929 GB, free: 10.65 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.7225, allocations: 3.984 kB / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001392/0.7227, allocations: 16 kB / 0.4929 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.454e-06/0.7227, allocations: 0 / 0.4929 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.134e-05/0.7227, allocations: 3.938 kB / 0.4929 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.773e-06/0.7227, allocations: 11.94 kB / 0.4929 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7227, allocations: 0 / 0.4929 GB, free: 10.61 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.723, allocations: 206 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001018/0.7231, allocations: 104.9 kB / 0.4932 GB, free: 10.27 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.282e-05/0.7232, allocations: 3.953 kB / 0.4932 GB, free: 10.26 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.7233, allocations: 11.98 kB / 0.4932 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.683e-05/0.7234, allocations: 4 kB / 0.4932 GB, free: 10.25 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.107e-05/0.7234, allocations: 4 kB / 0.4932 GB, free: 10.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002855/0.7237, allocations: 196.4 kB / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7237, allocations: 4 kB / 0.4934 GB, free: 10.05 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003912/0.7241, allocations: 35.94 kB / 0.4934 GB, free: 10.01 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.001814/0.7259, allocations: 1.16 MB / 0.4946 GB, free: 8.969 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002204/0.7262, allocations: 55.92 kB / 0.4946 GB, free: 8.914 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.7262, allocations: 0 / 0.4946 GB, free: 8.914 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.556e-05/0.7263, allocations: 28 kB / 0.4946 GB, free: 8.887 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003435/0.7267, allocations: 22.95 kB / 0.4947 GB, free: 8.863 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009576/0.7276, allocations: 345.8 kB / 0.495 GB, free: 8.48 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.728, allocations: 0.7238 MB / 0.4957 GB, free: 7.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.7281, allocations: 43.41 kB / 0.4957 GB, free: 7.688 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.7281, allocations: 3.938 kB / 0.4957 GB, free: 7.684 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_Test27CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test27CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test27CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test27Functions.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_Test27CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test27FMU.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_Test27CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test27CalcHelperMain.o] Error 1