Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.488/2.488, allocations: 270 MB / 282.6 MB, free: 1.934 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.399e-05/3.405e-05, allocations: 7.984 kB / 347.1 MB, free: 3.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4409, allocations: 61.86 MB / 408.9 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.6051, allocations: 88.04 MB / 497 MB, free: 2.641 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003012/0.6055, allocations: 79.95 kB / 497 MB, free: 2.562 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01661/0.6221, allocations: 3.687 MB / 0.489 GB, free: 14.86 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.033e-06/0.6222, allocations: 0 / 0.489 GB, free: 14.86 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.335e-05/0.6222, allocations: 0 / 0.489 GB, free: 14.86 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004558/0.6227, allocations: 366.3 kB / 0.4893 GB, free: 14.46 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.668e-05/0.6227, allocations: 12.03 kB / 0.4894 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.296e-05/0.6228, allocations: 30.56 kB / 0.4894 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.376e-05/0.6228, allocations: 11.91 kB / 0.4894 GB, free: 14.4 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.6231, allocations: 190.9 kB / 0.4896 GB, free: 14.17 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.6231, allocations: 8 kB / 0.4896 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.6232, allocations: 3.953 kB / 0.4896 GB, free: 14.16 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.6233, allocations: 49.56 kB / 0.4896 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.6233, allocations: 0 / 0.4896 GB, free: 14.11 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.002e-05/0.6233, allocations: 3.938 kB / 0.4896 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.6234, allocations: 4 kB / 0.4896 GB, free: 14.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.504e-05/0.6234, allocations: 15.98 kB / 0.4897 GB, free: 14.08 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004725/0.6239, allocations: 280.9 kB / 0.4899 GB, free: 13.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002183/0.6242, allocations: 38.56 kB / 0.49 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.2e-05/0.6242, allocations: 12.86 kB / 0.49 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.6242, allocations: 3.938 kB / 0.49 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.6243, allocations: 38.56 kB / 0.49 GB, free: 13.64 MB / 426.7 MB Notification: Performance of pre-optimization done (n=3): time 1.883e-06/0.6243, allocations: 0 / 0.49 GB, free: 13.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005134/0.6248, allocations: 109.5 kB / 0.4901 GB, free: 13.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.142e-05/0.6249, allocations: 51.41 kB / 0.4902 GB, free: 13.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001723/0.6251, allocations: 137.1 kB / 0.4903 GB, free: 13.32 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.6251, allocations: 25.7 kB / 0.4903 GB, free: 13.29 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.325e-05/0.6252, allocations: 158.6 kB / 0.4905 GB, free: 13.14 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/0.6252, allocations: 11.81 kB / 0.4905 GB, free: 13.12 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.771e-06/0.6252, allocations: 4 kB / 0.4905 GB, free: 13.12 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.6254, allocations: 318.8 kB / 0.4908 GB, free: 12.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.496e-05/0.6254, allocations: 11.98 kB / 0.4908 GB, free: 12.79 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.097e-05/0.6255, allocations: 12 kB / 0.4908 GB, free: 12.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.804e-05/0.6255, allocations: 12 kB / 0.4908 GB, free: 12.77 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.6255, allocations: 0 / 0.4908 GB, free: 12.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001551/0.6257, allocations: 65.59 kB / 0.4909 GB, free: 12.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.6257, allocations: 8 kB / 0.4909 GB, free: 12.69 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/0.6258, allocations: 3.984 kB / 0.4909 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.6258, allocations: 4 kB / 0.4909 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001233/0.6259, allocations: 12 kB / 0.4909 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.6259, allocations: 0 / 0.4909 GB, free: 12.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.292e-05/0.626, allocations: 8.234 kB / 0.4909 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.103e-05/0.6261, allocations: 8 kB / 0.4909 GB, free: 12.65 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 (5): * Single equations (assignments): 5 * 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.412e-05/0.6262, allocations: 116 kB / 0.491 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.812e-05/0.6262, allocations: 4 kB / 0.491 GB, free: 12.53 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002297/0.6265, allocations: 81.67 kB / 0.4911 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.6265, allocations: 0 / 0.4911 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.6265, allocations: 0 / 0.4911 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.6265, allocations: 0 / 0.4911 GB, free: 12.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005003/0.627, allocations: 342.4 kB / 0.4915 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.627, allocations: 0 / 0.4915 GB, free: 12.05 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.6272, allocations: 15.98 kB / 0.4915 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.6272, allocations: 0 / 0.4915 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.6272, allocations: 4 kB / 0.4915 GB, free: 12.04 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.6272, allocations: 3.938 kB / 0.4915 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.6272, allocations: 4 kB / 0.4915 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.6274, allocations: 167.4 kB / 0.4916 GB, free: 11.85 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.225e-05/0.6275, allocations: 85.02 kB / 0.4917 GB, free: 11.75 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.346e-05/0.6276, allocations: 4 kB / 0.4917 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001138/0.6277, allocations: 7.984 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.623e-05/0.6277, allocations: 4 kB / 0.4917 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.6278, allocations: 7.938 kB / 0.4917 GB, free: 11.72 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001192/0.6279, allocations: 110.2 kB / 0.4918 GB, free: 11.62 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6279, allocations: 0 / 0.4918 GB, free: 11.62 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003485/0.6283, allocations: 23.94 kB / 0.4919 GB, free: 11.59 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001567/0.6298, allocations: 0.9922 MB / 0.4928 GB, free: 10.71 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001611/0.63, allocations: 35.92 kB / 0.4929 GB, free: 10.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.63, allocations: 0 / 0.4929 GB, free: 10.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.282e-05/0.6301, allocations: 23.94 kB / 0.4929 GB, free: 10.65 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003001/0.6304, allocations: 15.08 kB / 0.4929 GB, free: 10.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006362/0.6311, allocations: 196 kB / 0.4931 GB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003176/0.6314, allocations: 0.6926 MB / 0.4938 GB, free: 9.688 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.493e-05/0.6315, allocations: 23.44 kB / 0.4938 GB, free: 9.664 MB / 426.7 MB Notification: Performance of SimCode: time 9.42e-07/0.6315, allocations: 3.938 kB / 0.4938 GB, free: 9.66 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_Test2CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test2CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test2CalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test2Functions.cpp:194:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp5.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_Test2CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test2FMU.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_Test2CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest_Tables_CombiTable1Dv_Test2CalcHelperMain.o] Error 1