Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test19,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.841/2.841, allocations: 270 MB / 282.6 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.334e-05/3.342e-05, allocations: 4 kB / 347.1 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4495/0.4495, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.171/0.6205, allocations: 90.96 MB / 499.9 MB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/0.6209, allocations: 75.89 kB / 500 MB, free: 15.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03958/0.6605, allocations: 8.826 MB / 0.4969 GB, free: 6.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6605, allocations: 0 / 0.4969 GB, free: 6.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.129e-05/0.6606, allocations: 15.98 kB / 0.4969 GB, free: 6.645 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007917/0.6614, allocations: 0.5326 MB / 0.4974 GB, free: 6.066 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.137e-05/0.6615, allocations: 12.03 kB / 0.4974 GB, free: 6.055 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.85e-05/0.6615, allocations: 38.55 kB / 0.4974 GB, free: 6.008 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001271/0.6617, allocations: 43.44 kB / 0.4975 GB, free: 5.965 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007833/0.6625, allocations: 345.2 kB / 0.4978 GB, free: 5.586 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.628e-05/0.6625, allocations: 3.984 kB / 0.4978 GB, free: 5.582 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.427e-05/0.6626, allocations: 8 kB / 0.4978 GB, free: 5.574 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002446/0.6628, allocations: 89.59 kB / 0.4979 GB, free: 5.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.6628, allocations: 0 / 0.4979 GB, free: 5.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.901e-05/0.6629, allocations: 8 kB / 0.4979 GB, free: 5.473 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.6629, allocations: 0 / 0.4979 GB, free: 5.473 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.6631, allocations: 51.98 kB / 0.498 GB, free: 5.422 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.6642, allocations: 492.4 kB / 0.4984 GB, free: 4.891 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001772/0.6644, allocations: 62.55 kB / 0.4985 GB, free: 4.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.267e-05/0.6645, allocations: 28.98 kB / 0.4985 GB, free: 4.789 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.616e-05/0.6645, allocations: 3.984 kB / 0.4985 GB, free: 4.785 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.359e-05/0.6645, allocations: 38.5 kB / 0.4986 GB, free: 4.738 MB / 426.7 MB Notification: Performance of pre-optimization done (n=6): time 2.816e-06/0.6646, allocations: 0 / 0.4986 GB, free: 4.738 MB / 426.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003751/0.6649, allocations: 117.2 kB / 0.4987 GB, free: 4.617 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.665, allocations: 55.41 kB / 0.4987 GB, free: 4.551 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009882/0.666, allocations: 495.1 kB / 0.4992 GB, free: 4.059 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.127e-05/0.6661, allocations: 29.7 kB / 0.4992 GB, free: 4.023 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001774/0.6662, allocations: 230.7 kB / 0.4994 GB, free: 3.793 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.931e-05/0.6663, allocations: 15.72 kB / 0.4995 GB, free: 3.777 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.937e-06/0.6663, allocations: 4 kB / 0.4995 GB, free: 3.773 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.6664, allocations: 310.8 kB / 0.4998 GB, free: 3.461 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.797e-05/0.6665, allocations: 23.98 kB / 0.4998 GB, free: 3.438 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.493e-05/0.6666, allocations: 23.98 kB / 0.4998 GB, free: 3.414 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.479e-05/0.6667, allocations: 27.98 kB / 0.4998 GB, free: 3.387 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.6667, allocations: 0 / 0.4998 GB, free: 3.387 MB / 426.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002367/0.667, allocations: 85.61 kB / 0.4999 GB, free: 3.297 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.667, allocations: 4 kB / 0.4999 GB, free: 3.293 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.667, allocations: 4 kB / 0.4999 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.6671, allocations: 0 / 0.4999 GB, free: 3.289 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.6672, allocations: 11.95 kB / 0.4999 GB, free: 3.277 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/0.6673, allocations: 7.984 kB / 0.4999 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002014/0.6675, allocations: 11.84 kB / 0.5 GB, free: 3.258 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.6675, allocations: 4 kB / 0.5 GB, free: 3.254 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 (6): * Single equations (assignments): 6 * 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.596e-05/0.6676, allocations: 109 kB / 0.5001 GB, free: 3.141 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001057/0.6677, allocations: 35.53 kB / 0.5001 GB, free: 3.105 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000424/0.6681, allocations: 141.3 kB / 0.5002 GB, free: 2.965 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.6682, allocations: 4 kB / 0.5002 GB, free: 2.961 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.6682, allocations: 11.83 kB / 0.5002 GB, free: 2.949 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.6682, allocations: 0 / 0.5002 GB, free: 2.949 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004839/0.6687, allocations: 301.5 kB / 0.5005 GB, free: 2.605 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.6687, allocations: 4 kB / 0.5005 GB, free: 2.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.6688, allocations: 15.98 kB / 0.5006 GB, free: 2.586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.6689, allocations: 0 / 0.5006 GB, free: 2.586 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.19e-05/0.6689, allocations: 0 / 0.5006 GB, free: 2.586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.6689, allocations: 0 / 0.5006 GB, free: 2.586 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6689, allocations: 0 / 0.5006 GB, free: 2.586 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003426/0.6693, allocations: 215 kB / 0.5008 GB, free: 2.359 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000218/0.6695, allocations: 148.5 kB / 0.5009 GB, free: 2.195 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.386e-05/0.6696, allocations: 4 kB / 0.5009 GB, free: 2.191 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.6697, allocations: 4 kB / 0.5009 GB, free: 2.188 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.75e-05/0.6698, allocations: 15.92 kB / 0.5009 GB, free: 2.172 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.193e-05/0.6698, allocations: 4 kB / 0.5009 GB, free: 2.168 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007494/0.6706, allocations: 397.1 kB / 0.5013 GB, free: 1.781 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6706, allocations: 0 / 0.5013 GB, free: 1.781 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004872/0.6711, allocations: 55.89 kB / 0.5014 GB, free: 1.727 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.002364/0.6735, allocations: 1.238 MB / 0.5026 GB, free: 0.6719 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.6738, allocations: 51.98 kB / 0.5026 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.6738, allocations: 0 / 0.5026 GB, free: 0.6211 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.421e-05/0.6739, allocations: 27.98 kB / 0.5026 GB, free: 0.5938 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007209/0.6746, allocations: 54.39 kB / 0.5027 GB, free: 0.543 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00175/0.6764, allocations: 0.6281 MB / 0.5033 GB, free: 15.87 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005097/0.6769, allocations: 0.8102 MB / 0.5041 GB, free: 15.04 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.6772, allocations: 103.4 kB / 0.5042 GB, free: 14.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.663e-06/0.6773, allocations: 4 kB / 0.5042 GB, free: 14.93 MB / 442.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_CombiTable2Dv_Test19CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19Functions.cpp:258:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp7.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_CombiTable2Dv_Test19CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19FMU.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_CombiTable2Dv_Test19CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable2Dv_Test19CalcHelperMain.o] Error 1