Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test27,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.691/2.691, allocations: 270 MB / 282.6 MB, free: 1.945 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.428e-05/3.442e-05, allocations: 7.938 kB / 347.1 MB, free: 3.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4192/0.4192, allocations: 61.87 MB / 408.9 MB, free: 10.85 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.5808, allocations: 88.03 MB / 497 MB, free: 2.699 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003017/0.5811, allocations: 79.89 kB / 497 MB, free: 2.621 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01878/0.5999, allocations: 4.493 MB / 0.4898 GB, free: 14.12 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.6, allocations: 0 / 0.4898 GB, free: 14.12 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.6, allocations: 0 / 0.4898 GB, free: 14.12 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.0005116/0.6005, allocations: 410.2 kB / 0.4902 GB, free: 13.67 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.976e-05/0.6006, allocations: 12.03 kB / 0.4902 GB, free: 13.66 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.6007, allocations: 38.56 kB / 0.4902 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.6007, allocations: 15.81 kB / 0.4902 GB, free: 13.6 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003665/0.6011, allocations: 222.5 kB / 0.4904 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.6011, allocations: 8 kB / 0.4904 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.862e-05/0.6012, allocations: 0 / 0.4904 GB, free: 13.33 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001311/0.6013, allocations: 45.69 kB / 0.4905 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.6013, allocations: 4 kB / 0.4905 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.274e-05/0.6013, allocations: 3.984 kB / 0.4905 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.6014, allocations: 0 / 0.4905 GB, free: 13.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.558e-05/0.6014, allocations: 19.98 kB / 0.4905 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.6019, allocations: 308.8 kB / 0.4908 GB, free: 12.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001063/0.6021, allocations: 38.56 kB / 0.4908 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.129e-05/0.6021, allocations: 12.86 kB / 0.4909 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.6022, allocations: 0 / 0.4909 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.6022, allocations: 34.56 kB / 0.4909 GB, free: 12.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.6022, allocations: 0 / 0.4909 GB, free: 12.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006957/0.6029, allocations: 165.1 kB / 0.491 GB, free: 12.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.603, allocations: 59.36 kB / 0.4911 GB, free: 12.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004045/0.6034, allocations: 237.6 kB / 0.4913 GB, free: 12.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.6034, allocations: 25.7 kB / 0.4914 GB, free: 12.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.978e-05/0.6035, allocations: 170.6 kB / 0.4915 GB, free: 12.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.254e-05/0.6036, allocations: 31.55 kB / 0.4915 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.346e-06/0.6036, allocations: 4 kB / 0.4915 GB, free: 12.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.6037, allocations: 310.8 kB / 0.4918 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.476e-05/0.6038, allocations: 19.94 kB / 0.4919 GB, free: 11.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.083e-05/0.6039, allocations: 16 kB / 0.4919 GB, free: 11.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.331e-05/0.6039, allocations: 15.98 kB / 0.4919 GB, free: 11.72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.6039, allocations: 0 / 0.4919 GB, free: 11.72 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001861/0.6041, allocations: 81.84 kB / 0.492 GB, free: 11.63 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.6042, allocations: 4 kB / 0.492 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.6042, allocations: 3.938 kB / 0.492 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6042, allocations: 8 kB / 0.492 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/0.6044, allocations: 19.98 kB / 0.492 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.6044, allocations: 0 / 0.492 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.738e-05/0.6045, allocations: 7.953 kB / 0.492 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.6046, allocations: 4 kB / 0.492 GB, free: 11.59 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.069e-05/0.6046, allocations: 108.9 kB / 0.4921 GB, free: 11.47 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.6047, allocations: 15.81 kB / 0.4921 GB, free: 11.46 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002942/0.605, allocations: 107.2 kB / 0.4922 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.605, allocations: 0 / 0.4922 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.605, allocations: 0 / 0.4922 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6051, allocations: 0 / 0.4922 GB, free: 11.35 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000678/0.6057, allocations: 415.3 kB / 0.4926 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.6058, allocations: 7.984 kB / 0.4926 GB, free: 10.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.6059, allocations: 20.03 kB / 0.4927 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.6059, allocations: 0 / 0.4927 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.606, allocations: 0 / 0.4927 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.09e-05/0.606, allocations: 7.938 kB / 0.4927 GB, free: 10.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.606, allocations: 4 kB / 0.4927 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000262/0.6063, allocations: 193.9 kB / 0.4929 GB, free: 10.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.6064, allocations: 108.9 kB / 0.493 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.474e-05/0.6064, allocations: 7.953 kB / 0.493 GB, free: 10.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.6066, allocations: 8 kB / 0.493 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.6066, allocations: 7.984 kB / 0.493 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.989e-06/0.6067, allocations: 4 kB / 0.493 GB, free: 10.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002986/0.607, allocations: 196.4 kB / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.607, allocations: 0 / 0.4932 GB, free: 10.29 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003655/0.6074, allocations: 27.94 kB / 0.4932 GB, free: 10.26 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.001809/0.6092, allocations: 1.168 MB / 0.4943 GB, free: 9.207 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.6094, allocations: 43.94 kB / 0.4944 GB, free: 9.164 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6094, allocations: 0 / 0.4944 GB, free: 9.164 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.389e-05/0.6095, allocations: 24 kB / 0.4944 GB, free: 9.141 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003246/0.6098, allocations: 19.33 kB / 0.4944 GB, free: 9.121 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009167/0.6108, allocations: 325.7 kB / 0.4947 GB, free: 8.758 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004833/0.6113, allocations: 0.7278 MB / 0.4954 GB, free: 8.004 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001242/0.6114, allocations: 39.42 kB / 0.4955 GB, free: 7.965 MB / 426.7 MB Notification: Performance of SimCode: time 1.042e-06/0.6114, allocations: 0 / 0.4955 GB, free: 7.965 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_CombiTable1Ds_Test27CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test27CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test27CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test27CalcHelperMain.o] Error 1