Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test30,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test30",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.462/2.462, allocations: 270 MB / 282.6 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.615e-05/4.618e-05, allocations: 0 / 347.1 MB, free: 3.105 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3939/0.394, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1644/0.5584, allocations: 88.14 MB / 497.1 MB, free: 2.402 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002742/0.5588, allocations: 71.97 kB / 497.1 MB, free: 2.332 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01955/0.5784, allocations: 4.285 MB / 0.4897 GB, free: 14.04 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5784, allocations: 0 / 0.4897 GB, free: 14.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.5784, allocations: 0 / 0.4897 GB, free: 14.04 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.0005282/0.579, allocations: 413.2 kB / 0.4901 GB, free: 13.59 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.579, allocations: 8.031 kB / 0.4901 GB, free: 13.58 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.679e-05/0.5791, allocations: 38.56 kB / 0.4901 GB, free: 13.54 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.5791, allocations: 7.906 kB / 0.4901 GB, free: 13.53 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003097/0.5795, allocations: 199.8 kB / 0.4903 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.549e-05/0.5795, allocations: 4 kB / 0.4903 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.536e-05/0.5795, allocations: 3.953 kB / 0.4903 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001393/0.5797, allocations: 53.67 kB / 0.4904 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.342e-05/0.5797, allocations: 0 / 0.4904 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.5797, allocations: 0 / 0.4904 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.5797, allocations: 4 kB / 0.4904 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.759e-05/0.5798, allocations: 23.92 kB / 0.4904 GB, free: 13.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.5804, allocations: 304.8 kB / 0.4907 GB, free: 12.85 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.5805, allocations: 38.56 kB / 0.4907 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.777e-05/0.5806, allocations: 16.86 kB / 0.4907 GB, free: 12.79 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.557e-05/0.5806, allocations: 4 kB / 0.4907 GB, free: 12.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.5807, allocations: 34.5 kB / 0.4908 GB, free: 12.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.265e-06/0.5807, allocations: 3.938 kB / 0.4908 GB, free: 12.73 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007314/0.5814, allocations: 165.2 kB / 0.4909 GB, free: 12.57 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.587e-05/0.5815, allocations: 55.41 kB / 0.491 GB, free: 12.5 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003019/0.5818, allocations: 180.9 kB / 0.4912 GB, free: 12.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.521e-05/0.5818, allocations: 33.69 kB / 0.4912 GB, free: 12.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.678e-05/0.5819, allocations: 166.5 kB / 0.4913 GB, free: 12.12 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.582, allocations: 27.72 kB / 0.4914 GB, free: 12.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.953e-06/0.582, allocations: 0 / 0.4914 GB, free: 12.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5821, allocations: 322.8 kB / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.323e-05/0.5822, allocations: 16 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.531e-05/0.5823, allocations: 20 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.908e-05/0.5824, allocations: 23.98 kB / 0.4917 GB, free: 11.71 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5824, allocations: 7.938 kB / 0.4917 GB, free: 11.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002898/0.5827, allocations: 89.89 kB / 0.4918 GB, free: 11.61 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/0.5828, allocations: 4 kB / 0.4918 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.5828, allocations: 0 / 0.4918 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.5828, allocations: 0 / 0.4918 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002528/0.5831, allocations: 23.92 kB / 0.4919 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.5831, allocations: 0 / 0.4919 GB, free: 11.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.5833, allocations: 11.91 kB / 0.4919 GB, free: 11.57 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.862e-05/0.5833, allocations: 4 kB / 0.4919 GB, free: 11.56 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 0.0001203/0.5834, allocations: 112.9 kB / 0.492 GB, free: 11.45 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.699e-05/0.5835, allocations: 11.89 kB / 0.492 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004235/0.584, allocations: 106.3 kB / 0.4921 GB, free: 11.33 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.918e-06/0.584, allocations: 4 kB / 0.4921 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.584, allocations: 0 / 0.4921 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.584, allocations: 0 / 0.4921 GB, free: 11.32 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009042/0.585, allocations: 419.2 kB / 0.4925 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/0.585, allocations: 0 / 0.4925 GB, free: 10.86 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.5852, allocations: 23.92 kB / 0.4925 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.5852, allocations: 0 / 0.4925 GB, free: 10.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.187e-05/0.5852, allocations: 8 kB / 0.4925 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.5852, allocations: 0 / 0.4925 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.376e-06/0.5852, allocations: 288 / 0.4925 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.5856, allocations: 210 kB / 0.4927 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001335/0.5857, allocations: 93 kB / 0.4928 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.626e-05/0.5858, allocations: 11.98 kB / 0.4928 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.5859, allocations: 4 kB / 0.4928 GB, free: 10.47 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.87e-05/0.586, allocations: 11.94 kB / 0.4928 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.505e-05/0.586, allocations: 8 kB / 0.4928 GB, free: 10.45 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002262/0.5862, allocations: 152.6 kB / 0.493 GB, free: 10.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.5862, allocations: 3.938 kB / 0.493 GB, free: 10.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003697/0.5866, allocations: 35.88 kB / 0.493 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.001898/0.5885, allocations: 1.148 MB / 0.4942 GB, free: 9.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0003201/0.5889, allocations: 55.92 kB / 0.4942 GB, free: 9.176 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.227e-06/0.5889, allocations: 0 / 0.4942 GB, free: 9.176 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.5891, allocations: 32.09 kB / 0.4942 GB, free: 9.145 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004688/0.5895, allocations: 23.14 kB / 0.4943 GB, free: 9.125 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.5908, allocations: 289.6 kB / 0.4945 GB, free: 8.789 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004852/0.5913, allocations: 0.7158 MB / 0.4952 GB, free: 8.051 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/0.5915, allocations: 31.42 kB / 0.4953 GB, free: 8.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.483e-06/0.5915, allocations: 0 / 0.4953 GB, free: 8.02 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_Test30CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test30CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test30CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test30Functions.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_Test30CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test30FMU.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_Test30CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test30CalcHelperMain.o] Error 1