Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test29,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.648/2.648, allocations: 270 MB / 282.6 MB, free: 1.859 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.961e-05/3.964e-05, allocations: 4 kB / 347.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3986/0.3986, allocations: 61.87 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1605/0.5592, allocations: 88.14 MB / 497.1 MB, free: 2.383 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002768/0.5595, allocations: 71.97 kB / 497.1 MB, free: 2.312 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01889/0.5784, allocations: 4.339 MB / 0.4897 GB, free: 13.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.5785, allocations: 0 / 0.4897 GB, free: 13.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.736e-05/0.5785, allocations: 3.938 kB / 0.4897 GB, free: 13.96 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005439/0.5791, allocations: 394.1 kB / 0.4901 GB, free: 13.53 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.5791, allocations: 12.03 kB / 0.4901 GB, free: 13.52 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.819e-05/0.5792, allocations: 38.55 kB / 0.4902 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.679e-05/0.5792, allocations: 7.906 kB / 0.4902 GB, free: 13.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.5795, allocations: 196.5 kB / 0.4903 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.5795, allocations: 4 kB / 0.4904 GB, free: 13.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.018e-05/0.5796, allocations: 7.953 kB / 0.4904 GB, free: 13.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.5798, allocations: 57.69 kB / 0.4904 GB, free: 13.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.5798, allocations: 4 kB / 0.4904 GB, free: 13.15 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.5798, allocations: 7.984 kB / 0.4904 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.5798, allocations: 4 kB / 0.4904 GB, free: 13.14 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.5799, allocations: 27.94 kB / 0.4905 GB, free: 13.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005235/0.5805, allocations: 324.6 kB / 0.4908 GB, free: 12.75 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.5806, allocations: 54.56 kB / 0.4908 GB, free: 12.68 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.5807, allocations: 16.86 kB / 0.4908 GB, free: 12.66 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.04e-05/0.5807, allocations: 12.14 kB / 0.4908 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.737e-05/0.5808, allocations: 30.56 kB / 0.4909 GB, free: 12.61 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 4.097e-06/0.5808, allocations: 3.984 kB / 0.4909 GB, free: 12.61 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008595/0.5816, allocations: 210.1 kB / 0.4911 GB, free: 12.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.5817, allocations: 59.36 kB / 0.4911 GB, free: 12.33 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001937/0.5819, allocations: 147.9 kB / 0.4913 GB, free: 12.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.582, allocations: 29.7 kB / 0.4913 GB, free: 12.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.371e-05/0.582, allocations: 162.5 kB / 0.4915 GB, free: 11.98 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.91e-05/0.5821, allocations: 51.34 kB / 0.4915 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.5821, allocations: 0 / 0.4915 GB, free: 11.93 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000118/0.5823, allocations: 314.8 kB / 0.4918 GB, free: 11.61 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.731e-05/0.5823, allocations: 24 kB / 0.4918 GB, free: 11.59 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.852e-05/0.5824, allocations: 28.12 kB / 0.4919 GB, free: 11.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.528e-05/0.5825, allocations: 31.98 kB / 0.4919 GB, free: 11.53 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.5826, allocations: 4 kB / 0.4919 GB, free: 11.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.00026/0.5828, allocations: 109.7 kB / 0.492 GB, free: 11.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.5829, allocations: 4 kB / 0.492 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.328e-06/0.5829, allocations: 4 kB / 0.492 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.499e-05/0.5829, allocations: 0 / 0.492 GB, free: 11.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002361/0.5832, allocations: 27.92 kB / 0.492 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.5832, allocations: 4 kB / 0.492 GB, free: 11.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.852e-05/0.5833, allocations: 7.953 kB / 0.492 GB, free: 11.37 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.166e-05/0.5833, allocations: 4.109 kB / 0.492 GB, free: 11.36 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 (13): * Single equations (assignments): 13 * 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.148e-05/0.5834, allocations: 112.9 kB / 0.4922 GB, free: 11.25 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.902e-05/0.5835, allocations: 11.89 kB / 0.4922 GB, free: 11.23 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003817/0.5839, allocations: 138.2 kB / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.5839, allocations: 4 kB / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.5839, allocations: 3.938 kB / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.5839, allocations: 0 / 0.4923 GB, free: 11.09 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007465/0.5847, allocations: 451.2 kB / 0.4927 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5847, allocations: 0 / 0.4927 GB, free: 10.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.5849, allocations: 27.98 kB / 0.4928 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.5849, allocations: 0 / 0.4928 GB, free: 10.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.32e-05/0.5849, allocations: 11.95 kB / 0.4928 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.585, allocations: 0 / 0.4928 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.585, allocations: 0 / 0.4928 GB, free: 10.55 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003209/0.5853, allocations: 233.9 kB / 0.493 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.085e-05/0.5854, allocations: 92.97 kB / 0.4931 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.069e-05/0.5854, allocations: 7.984 kB / 0.4931 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.5856, allocations: 8 kB / 0.4931 GB, free: 10.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.159e-05/0.5856, allocations: 11.98 kB / 0.4931 GB, free: 10.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.5857, allocations: 4 kB / 0.4931 GB, free: 10.15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001393/0.5858, allocations: 115.3 kB / 0.4932 GB, free: 10.04 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5858, allocations: 0 / 0.4932 GB, free: 10.04 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003824/0.5862, allocations: 28 kB / 0.4933 GB, free: 10.01 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 (13): * Single equations (assignments): 13 * 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.001878/0.5881, allocations: 1.186 MB / 0.4944 GB, free: 8.945 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002764/0.5884, allocations: 79.86 kB / 0.4945 GB, free: 8.867 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.5884, allocations: 0 / 0.4945 GB, free: 8.867 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001119/0.5886, allocations: 40 kB / 0.4945 GB, free: 8.828 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003239/0.5889, allocations: 15.98 kB / 0.4945 GB, free: 8.812 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008025/0.5897, allocations: 265.5 kB / 0.4948 GB, free: 8.508 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.59, allocations: 0.712 MB / 0.4955 GB, free: 7.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.5902, allocations: 31.44 kB / 0.4955 GB, free: 7.738 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.5902, allocations: 0 / 0.4955 GB, free: 7.738 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_Test29CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29Functions.cpp:231:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp9.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_Test29CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29FMU.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_Test29CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Ds_Test29CalcHelperMain.o] Error 1