Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test31,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.542/2.542, allocations: 270 MB / 282.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.855e-05/3.867e-05, allocations: 4 kB / 347.1 MB, free: 3.129 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3918, allocations: 61.87 MB / 408.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1661/0.5579, allocations: 88.14 MB / 497.1 MB, free: 2.402 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000345/0.5583, allocations: 75.95 kB / 497.1 MB, free: 2.328 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02526/0.5836, allocations: 4.513 MB / 0.4899 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.5837, allocations: 0 / 0.4899 GB, free: 13.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.221e-05/0.5837, allocations: 4 kB / 0.4899 GB, free: 13.8 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.0006729/0.5844, allocations: 414.2 kB / 0.4903 GB, free: 13.35 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.762e-05/0.5845, allocations: 8.031 kB / 0.4903 GB, free: 13.34 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.967e-05/0.5846, allocations: 34.56 kB / 0.4903 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.164e-05/0.5846, allocations: 19.75 kB / 0.4903 GB, free: 13.28 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004657/0.5851, allocations: 214.7 kB / 0.4906 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.5852, allocations: 3.953 kB / 0.4906 GB, free: 13.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.5852, allocations: 4 kB / 0.4906 GB, free: 13.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.5854, allocations: 45.69 kB / 0.4906 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.865e-05/0.5854, allocations: 4 kB / 0.4906 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.5855, allocations: 0 / 0.4906 GB, free: 12.97 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.5855, allocations: 4 kB / 0.4906 GB, free: 12.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.5856, allocations: 27.91 kB / 0.4906 GB, free: 12.94 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007363/0.5864, allocations: 312.8 kB / 0.4909 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.5865, allocations: 38.52 kB / 0.491 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.685e-05/0.5866, allocations: 20.94 kB / 0.491 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.757e-05/0.5866, allocations: 4 kB / 0.491 GB, free: 12.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.5867, allocations: 34.5 kB / 0.491 GB, free: 12.46 MB / 426.7 MB Notification: Performance of pre-optimization done (n=4): time 2.635e-06/0.5867, allocations: 0 / 0.491 GB, free: 12.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=8): time 0.0009338/0.5876, allocations: 180.9 kB / 0.4912 GB, free: 12.28 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.5877, allocations: 51.41 kB / 0.4913 GB, free: 12.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005607/0.5883, allocations: 245.5 kB / 0.4915 GB, free: 11.97 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.757e-05/0.5883, allocations: 33.7 kB / 0.4915 GB, free: 11.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.5885, allocations: 162.6 kB / 0.4917 GB, free: 11.77 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.5886, allocations: 31.62 kB / 0.4917 GB, free: 11.74 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.856e-06/0.5886, allocations: 0 / 0.4917 GB, free: 11.74 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001767/0.5888, allocations: 322.8 kB / 0.492 GB, free: 11.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001108/0.5889, allocations: 16 kB / 0.492 GB, free: 11.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.678e-05/0.589, allocations: 23.98 kB / 0.492 GB, free: 11.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.5891, allocations: 20 kB / 0.4921 GB, free: 11.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5891, allocations: 0 / 0.4921 GB, free: 11.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002931/0.5895, allocations: 85.67 kB / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.522e-05/0.5895, allocations: 8 kB / 0.4922 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.5895, allocations: 0 / 0.4922 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.5895, allocations: 0 / 0.4922 GB, free: 11.26 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002389/0.5898, allocations: 27.86 kB / 0.4922 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.5898, allocations: 0 / 0.4922 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001235/0.59, allocations: 15.94 kB / 0.4922 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.727e-05/0.59, allocations: 4 kB / 0.4922 GB, free: 11.21 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.0001043/0.5901, allocations: 105 kB / 0.4923 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.631e-05/0.5902, allocations: 15.81 kB / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004098/0.5906, allocations: 111.2 kB / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.5907, allocations: 0 / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.5907, allocations: 0 / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.5907, allocations: 0 / 0.4924 GB, free: 10.97 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00104/0.5918, allocations: 439.2 kB / 0.4928 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.5918, allocations: 0 / 0.4928 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.592, allocations: 27.92 kB / 0.4929 GB, free: 10.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/0.592, allocations: 4 kB / 0.4929 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.5921, allocations: 0 / 0.4929 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.5921, allocations: 4.422 kB / 0.4929 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.5921, allocations: 3.984 kB / 0.4929 GB, free: 10.45 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004062/0.5925, allocations: 210 kB / 0.4931 GB, free: 10.21 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001425/0.5927, allocations: 100.9 kB / 0.4932 GB, free: 10.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.5927, allocations: 7.953 kB / 0.4932 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002243/0.593, allocations: 15.98 kB / 0.4932 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.5931, allocations: 7.938 kB / 0.4932 GB, free: 10.07 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.5931, allocations: 0 / 0.4932 GB, free: 10.07 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004264/0.5935, allocations: 204.3 kB / 0.4934 GB, free: 9.867 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.5936, allocations: 4 kB / 0.4934 GB, free: 9.863 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0006165/0.5942, allocations: 31.94 kB / 0.4934 GB, free: 9.832 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.002642/0.5968, allocations: 1.159 MB / 0.4946 GB, free: 8.793 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002852/0.5972, allocations: 55.92 kB / 0.4946 GB, free: 8.738 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.5972, allocations: 0 / 0.4946 GB, free: 8.738 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.5973, allocations: 31.94 kB / 0.4947 GB, free: 8.707 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.5978, allocations: 16.17 kB / 0.4947 GB, free: 8.688 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/0.5991, allocations: 337.9 kB / 0.495 GB, free: 8.312 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005058/0.5997, allocations: 0.7225 MB / 0.4957 GB, free: 7.566 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001667/0.5999, allocations: 47.41 kB / 0.4957 GB, free: 7.52 MB / 426.7 MB Notification: Performance of SimCode: time 3.637e-06/0.5999, allocations: 0 / 0.4957 GB, free: 7.52 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_Test31CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test31CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test31CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_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_CombiTable1Dv_Test31CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_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_CombiTable1Dv_Test31CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test31CalcHelperMain.o] Error 1