Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.556/2.556, allocations: 270 MB / 282.6 MB, free: 1.953 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.284e-05/3.295e-05, allocations: 0 / 347.1 MB, free: 3.184 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4048/0.4049, allocations: 61.87 MB / 408.9 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1591/0.5641, allocations: 88.03 MB / 497 MB, free: 2.645 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/0.5644, allocations: 67.97 kB / 497 MB, free: 2.578 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01885/0.5832, allocations: 4.493 MB / 0.4898 GB, free: 14.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.5833, allocations: 0 / 0.4898 GB, free: 14.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.19e-05/0.5833, allocations: 4 kB / 0.4898 GB, free: 14.07 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.000527/0.5839, allocations: 410.2 kB / 0.4902 GB, free: 13.62 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.5839, allocations: 12.02 kB / 0.4902 GB, free: 13.61 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/0.584, allocations: 34.56 kB / 0.4902 GB, free: 13.57 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.805e-05/0.5841, allocations: 19.75 kB / 0.4902 GB, free: 13.55 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003331/0.5844, allocations: 214.7 kB / 0.4904 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.5844, allocations: 3.953 kB / 0.4904 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.363e-05/0.5845, allocations: 7.984 kB / 0.4904 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.5846, allocations: 49.67 kB / 0.4905 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.5846, allocations: 4 kB / 0.4905 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.5847, allocations: 4 kB / 0.4905 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5847, allocations: 0 / 0.4905 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.474e-05/0.5848, allocations: 19.94 kB / 0.4905 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005209/0.5853, allocations: 308.8 kB / 0.4908 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.5854, allocations: 34.58 kB / 0.4908 GB, free: 12.81 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.669e-05/0.5855, allocations: 12.86 kB / 0.4909 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.5855, allocations: 4.094 kB / 0.4909 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.5856, allocations: 42.48 kB / 0.4909 GB, free: 12.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.044e-06/0.5856, allocations: 0 / 0.4909 GB, free: 12.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007381/0.5863, allocations: 153 kB / 0.491 GB, free: 12.59 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.009e-05/0.5864, allocations: 55.34 kB / 0.4911 GB, free: 12.52 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004064/0.5868, allocations: 245.5 kB / 0.4913 GB, free: 12.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.5868, allocations: 29.7 kB / 0.4914 GB, free: 12.23 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.572e-05/0.5869, allocations: 166.6 kB / 0.4915 GB, free: 12.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.546e-05/0.587, allocations: 31.62 kB / 0.4915 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.801e-06/0.587, allocations: 0 / 0.4915 GB, free: 12.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/0.5871, allocations: 318.8 kB / 0.4919 GB, free: 11.72 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.232e-05/0.5872, allocations: 16 kB / 0.4919 GB, free: 11.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.79e-05/0.5873, allocations: 12 kB / 0.4919 GB, free: 11.69 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.957e-05/0.5873, allocations: 20.23 kB / 0.4919 GB, free: 11.67 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5873, allocations: 0 / 0.4919 GB, free: 11.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001903/0.5876, allocations: 77.67 kB / 0.492 GB, free: 11.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.5876, allocations: 4 kB / 0.492 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.5876, allocations: 0 / 0.492 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.5876, allocations: 3.984 kB / 0.492 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.5878, allocations: 23.88 kB / 0.492 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.5878, allocations: 0 / 0.492 GB, free: 11.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.533e-05/0.5879, allocations: 15.94 kB / 0.492 GB, free: 11.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.394e-05/0.588, allocations: 8 kB / 0.492 GB, free: 11.54 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.096e-05/0.5881, allocations: 105 kB / 0.4921 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.457e-05/0.5881, allocations: 11.81 kB / 0.4921 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002881/0.5884, allocations: 99.19 kB / 0.4922 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.5885, allocations: 4 kB / 0.4922 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.5885, allocations: 3.984 kB / 0.4922 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5885, allocations: 0 / 0.4922 GB, free: 11.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006959/0.5892, allocations: 419.2 kB / 0.4926 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.5892, allocations: 0 / 0.4926 GB, free: 10.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001551/0.5894, allocations: 27.92 kB / 0.4927 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.641e-06/0.5894, allocations: 0 / 0.4927 GB, free: 10.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.5894, allocations: 4 kB / 0.4927 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.531e-06/0.5894, allocations: 3.953 kB / 0.4927 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5894, allocations: 0 / 0.4927 GB, free: 10.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002598/0.5897, allocations: 202 kB / 0.4929 GB, free: 10.58 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.5898, allocations: 101.2 kB / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.411e-05/0.5899, allocations: 3.953 kB / 0.493 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001277/0.59, allocations: 15.92 kB / 0.493 GB, free: 10.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.255e-05/0.5901, allocations: 7.984 kB / 0.493 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.5901, allocations: 8 kB / 0.493 GB, free: 10.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003012/0.5904, allocations: 196.4 kB / 0.4932 GB, free: 10.23 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.5904, allocations: 0 / 0.4932 GB, free: 10.23 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003857/0.5908, allocations: 35.94 kB / 0.4932 GB, free: 10.2 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.001789/0.5926, allocations: 1.148 MB / 0.4943 GB, free: 9.168 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002149/0.5929, allocations: 51.91 kB / 0.4944 GB, free: 9.117 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5929, allocations: 0 / 0.4944 GB, free: 9.117 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.355e-05/0.593, allocations: 24 kB / 0.4944 GB, free: 9.094 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.5933, allocations: 19.02 kB / 0.4944 GB, free: 9.074 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009436/0.5943, allocations: 329.8 kB / 0.4947 GB, free: 8.707 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.5947, allocations: 0.7199 MB / 0.4954 GB, free: 7.961 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.5948, allocations: 39.42 kB / 0.4955 GB, free: 7.922 MB / 426.7 MB Notification: Performance of SimCode: time 3.316e-06/0.5948, allocations: 0 / 0.4955 GB, free: 7.922 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_Test31CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31Functions.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_Test31CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31FMU.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_Test31CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31CalcHelperMain.o] Error 1