Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test26,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.54/2.54, allocations: 270 MB / 282.6 MB, free: 1.949 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.516e-05/3.53e-05, allocations: 4 kB / 347.1 MB, free: 3.207 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4101/0.4101, allocations: 61.87 MB / 408.9 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.5771, allocations: 88.03 MB / 497 MB, free: 2.664 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002796/0.5774, allocations: 71.95 kB / 497 MB, free: 2.594 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01782/0.5952, allocations: 4.269 MB / 0.4895 GB, free: 14.31 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.5953, allocations: 4 kB / 0.4895 GB, free: 14.31 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.361e-05/0.5953, allocations: 0 / 0.4895 GB, free: 14.31 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.0004822/0.5958, allocations: 394.1 kB / 0.4899 GB, free: 13.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.706e-05/0.5959, allocations: 8.031 kB / 0.4899 GB, free: 13.87 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/0.5959, allocations: 38.56 kB / 0.49 GB, free: 13.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.866e-05/0.596, allocations: 11.84 kB / 0.49 GB, free: 13.81 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.5963, allocations: 195.8 kB / 0.4902 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.5963, allocations: 4 kB / 0.4902 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.5963, allocations: 7.953 kB / 0.4902 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.5965, allocations: 53.67 kB / 0.4902 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.5965, allocations: 0 / 0.4902 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.5965, allocations: 4 kB / 0.4902 GB, free: 13.51 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.5965, allocations: 3.938 kB / 0.4902 GB, free: 13.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.912e-05/0.5966, allocations: 19.98 kB / 0.4903 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004502/0.5971, allocations: 296.7 kB / 0.4905 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.5972, allocations: 38.58 kB / 0.4906 GB, free: 13.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.027e-05/0.5973, allocations: 12.86 kB / 0.4906 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.5973, allocations: 3.938 kB / 0.4906 GB, free: 13.08 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.5973, allocations: 30.56 kB / 0.4906 GB, free: 13.04 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 1.763e-06/0.5974, allocations: 0 / 0.4906 GB, free: 13.04 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006602/0.598, allocations: 153.2 kB / 0.4908 GB, free: 12.88 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.881e-05/0.5981, allocations: 59.41 kB / 0.4908 GB, free: 12.81 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.5984, allocations: 179.6 kB / 0.491 GB, free: 12.63 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.5984, allocations: 29.7 kB / 0.491 GB, free: 12.6 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.983e-05/0.5985, allocations: 162.5 kB / 0.4912 GB, free: 12.44 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.5985, allocations: 31.7 kB / 0.4912 GB, free: 12.41 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.311e-06/0.5986, allocations: 0 / 0.4912 GB, free: 12.41 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5987, allocations: 322.8 kB / 0.4915 GB, free: 12.08 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.149e-05/0.5988, allocations: 12 kB / 0.4915 GB, free: 12.07 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.845e-05/0.5988, allocations: 16 kB / 0.4915 GB, free: 12.05 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.31e-05/0.5989, allocations: 23.98 kB / 0.4916 GB, free: 12.03 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5989, allocations: 0 / 0.4916 GB, free: 12.03 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001748/0.5991, allocations: 73.91 kB / 0.4916 GB, free: 11.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.5991, allocations: 4 kB / 0.4916 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.5991, allocations: 288 / 0.4916 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5992, allocations: 0 / 0.4916 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.5993, allocations: 27.86 kB / 0.4917 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.5994, allocations: 4 kB / 0.4917 GB, free: 11.92 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.254e-05/0.5995, allocations: 11.91 kB / 0.4917 GB, free: 11.91 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.5995, allocations: 4 kB / 0.4917 GB, free: 11.9 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.734e-05/0.5996, allocations: 108.9 kB / 0.4918 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.877e-05/0.5996, allocations: 11.89 kB / 0.4918 GB, free: 11.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.5999, allocations: 98.28 kB / 0.4919 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.5999, allocations: 0 / 0.4919 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.5999, allocations: 0 / 0.4919 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.5999, allocations: 3.938 kB / 0.4919 GB, free: 11.68 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006039/0.6006, allocations: 399.2 kB / 0.4923 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.69e-06/0.6006, allocations: 4 kB / 0.4923 GB, free: 11.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001358/0.6007, allocations: 19.92 kB / 0.4923 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.968e-06/0.6007, allocations: 4 kB / 0.4923 GB, free: 11.2 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.6008, allocations: 8 kB / 0.4923 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.6008, allocations: 0 / 0.4923 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/0.6008, allocations: 4.031 kB / 0.4923 GB, free: 11.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002447/0.6011, allocations: 198 kB / 0.4925 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.153e-05/0.6011, allocations: 93 kB / 0.4926 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.6012, allocations: 0 / 0.4926 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.6013, allocations: 19.92 kB / 0.4926 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.6014, allocations: 7.953 kB / 0.4926 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.098e-05/0.6014, allocations: 7.938 kB / 0.4926 GB, free: 10.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002025/0.6016, allocations: 150.3 kB / 0.4928 GB, free: 10.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6016, allocations: 0 / 0.4928 GB, free: 10.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003637/0.602, allocations: 35.92 kB / 0.4928 GB, free: 10.64 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.001795/0.6038, allocations: 1.141 MB / 0.4939 GB, free: 9.621 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.604, allocations: 43.94 kB / 0.494 GB, free: 9.578 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.604, allocations: 0 / 0.494 GB, free: 9.578 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.431e-05/0.6041, allocations: 24.09 kB / 0.494 GB, free: 9.555 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003252/0.6045, allocations: 27 kB / 0.494 GB, free: 9.531 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007833/0.6053, allocations: 273.6 kB / 0.4943 GB, free: 9.211 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003162/0.6056, allocations: 0.7082 MB / 0.495 GB, free: 8.477 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001014/0.6057, allocations: 35.42 kB / 0.495 GB, free: 8.441 MB / 426.7 MB Notification: Performance of SimCode: time 2.975e-06/0.6057, allocations: 0 / 0.495 GB, free: 8.441 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_Test26CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test26CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_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_CombiTable1Ds_Test26CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test26CalcHelperMain.o] Error 1