Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.606/2.606, allocations: 270 MB / 282.6 MB, free: 1.812 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.642e-05/4.649e-05, allocations: 4 kB / 347.1 MB, free: 3.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4347, allocations: 61.87 MB / 408.9 MB, free: 10.61 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1596/0.5944, allocations: 88.27 MB / 497.2 MB, free: 2.23 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.5947, allocations: 67.97 kB / 497.3 MB, free: 2.164 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01977/0.6145, allocations: 4.71 MB / 0.4902 GB, free: 13.44 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.6145, allocations: 0 / 0.4902 GB, free: 13.44 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.611e-05/0.6146, allocations: 0 / 0.4902 GB, free: 13.44 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005556/0.6151, allocations: 414.1 kB / 0.4906 GB, free: 12.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.6152, allocations: 12.03 kB / 0.4906 GB, free: 12.98 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.047e-05/0.6152, allocations: 38.5 kB / 0.4906 GB, free: 12.93 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.724e-05/0.6153, allocations: 15.81 kB / 0.4907 GB, free: 12.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.6156, allocations: 216.1 kB / 0.4909 GB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.219e-05/0.6157, allocations: 0 / 0.4909 GB, free: 12.67 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.6157, allocations: 15.95 kB / 0.4909 GB, free: 12.65 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.6159, allocations: 65.62 kB / 0.4909 GB, free: 12.58 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/0.6159, allocations: 7.906 kB / 0.491 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.286e-05/0.6159, allocations: 0 / 0.491 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.616, allocations: 3.984 kB / 0.491 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001115/0.6161, allocations: 31.94 kB / 0.491 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006392/0.6167, allocations: 356.7 kB / 0.4913 GB, free: 12.14 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001505/0.6169, allocations: 62.52 kB / 0.4914 GB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.641e-05/0.617, allocations: 20.84 kB / 0.4914 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.617, allocations: 0 / 0.4914 GB, free: 12.05 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/0.6171, allocations: 38.56 kB / 0.4914 GB, free: 12 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.543e-06/0.6171, allocations: 4 kB / 0.4914 GB, free: 12 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009284/0.618, allocations: 242.6 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.6181, allocations: 59.36 kB / 0.4917 GB, free: 11.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003169/0.6184, allocations: 205.4 kB / 0.4919 GB, free: 11.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.6185, allocations: 33.7 kB / 0.492 GB, free: 11.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.656e-05/0.6186, allocations: 170.4 kB / 0.4921 GB, free: 11.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.709e-05/0.6186, allocations: 47.36 kB / 0.4922 GB, free: 11.22 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.6187, allocations: 4 kB / 0.4922 GB, free: 11.21 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6188, allocations: 310.8 kB / 0.4925 GB, free: 10.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.6189, allocations: 35.98 kB / 0.4925 GB, free: 10.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.576e-05/0.619, allocations: 35.98 kB / 0.4925 GB, free: 10.83 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001128/0.6191, allocations: 39.98 kB / 0.4926 GB, free: 10.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6192, allocations: 4 kB / 0.4926 GB, free: 10.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003004/0.6195, allocations: 121.6 kB / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.6195, allocations: 4 kB / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.6195, allocations: 0 / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6195, allocations: 4 kB / 0.4927 GB, free: 10.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.6198, allocations: 31.98 kB / 0.4927 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.6198, allocations: 0 / 0.4927 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.6199, allocations: 7.953 kB / 0.4927 GB, free: 10.62 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.834e-05/0.6199, allocations: 8.062 kB / 0.4928 GB, free: 10.61 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 9.182e-05/0.62, allocations: 112.9 kB / 0.4929 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.6201, allocations: 11.81 kB / 0.4929 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004434/0.6206, allocations: 171.2 kB / 0.493 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.6206, allocations: 4 kB / 0.493 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.6206, allocations: 7.969 kB / 0.493 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.6206, allocations: 3.953 kB / 0.493 GB, free: 10.29 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008773/0.6215, allocations: 495.1 kB / 0.4935 GB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.53e-06/0.6215, allocations: 8.031 kB / 0.4935 GB, free: 9.742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.6218, allocations: 27.92 kB / 0.4936 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.6218, allocations: 3.953 kB / 0.4936 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.6218, allocations: 8 kB / 0.4936 GB, free: 9.703 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.6218, allocations: 3.938 kB / 0.4936 GB, free: 9.699 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.903e-06/0.6218, allocations: 3.984 kB / 0.4936 GB, free: 9.695 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.6222, allocations: 250.5 kB / 0.4938 GB, free: 9.426 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.424e-05/0.6223, allocations: 100.9 kB / 0.4939 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.6224, allocations: 4 kB / 0.4939 GB, free: 9.305 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001565/0.6225, allocations: 11.98 kB / 0.4939 GB, free: 9.293 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.312e-05/0.6226, allocations: 8 kB / 0.4939 GB, free: 9.285 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.6226, allocations: 7.984 kB / 0.4939 GB, free: 9.277 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002449/0.6229, allocations: 168.2 kB / 0.4941 GB, free: 9.113 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6229, allocations: 4 kB / 0.4941 GB, free: 9.109 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0004006/0.6233, allocations: 36 kB / 0.4941 GB, free: 9.074 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.001882/0.6252, allocations: 1.19 MB / 0.4953 GB, free: 8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000296/0.6255, allocations: 91.97 kB / 0.4954 GB, free: 7.91 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.6255, allocations: 0 / 0.4954 GB, free: 7.91 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001296/0.6257, allocations: 51.92 kB / 0.4954 GB, free: 7.859 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.626, allocations: 12 kB / 0.4954 GB, free: 7.848 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009636/0.627, allocations: 353.7 kB / 0.4958 GB, free: 7.457 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.6273, allocations: 0.7238 MB / 0.4965 GB, free: 6.707 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001375/0.6275, allocations: 51.41 kB / 0.4965 GB, free: 6.656 MB / 426.7 MB Notification: Performance of SimCode: time 8.91e-07/0.6275, allocations: 0 / 0.4965 GB, free: 6.656 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_Test6CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test6CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test6CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test6Functions.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_CombiTable1Dv_Test6CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test6FMU.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_Test6CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test6CalcHelperMain.o] Error 1