Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7") Notification: Performance of loadModel(ModelicaTest): time 2.441/2.441, allocations: 269 MB / 284.1 MB, free: 3.621 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.598e-05/2.591e-05, allocations: 4 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1299/0.13, allocations: 61.9 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.002333/0.1324, allocations: 1.252 MB / 412.2 MB, free: 11.57 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009473/0.1334, allocations: 351.8 kB / 412.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.1335, allocations: 8 kB / 412.5 MB, free: 11.21 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.1336, allocations: 11.91 kB / 412.5 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001491/0.1338, allocations: 23.92 kB / 412.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.1342, allocations: 87.73 kB / 412.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001539/0.1344, allocations: 47.88 kB / 412.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.837e-05/0.1345, allocations: 4 kB / 412.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.194e-05/0.1346, allocations: 15.92 kB / 412.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.1346, allocations: 19.92 kB / 412.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.083e-05/0.1347, allocations: 19.94 kB / 412.8 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.1348, allocations: 4 kB / 412.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.561e-05/0.1348, allocations: 11.98 kB / 412.8 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.806e-05/0.1348, allocations: 0 / 412.8 MB, free: 10.97 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.135, allocations: 51.91 kB / 412.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.135, allocations: 0 / 412.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.135, allocations: 3.938 kB / 412.8 MB, free: 10.92 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.135, allocations: 0 / 412.8 MB, free: 10.92 MB / 346.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.000481/0.1355, allocations: 369.9 kB / 413.2 MB, free: 10.51 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.1356, allocations: 8.031 kB / 413.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.1356, allocations: 7.906 kB / 413.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.1359, allocations: 189.7 kB / 413.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.1359, allocations: 4 kB / 413.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.136, allocations: 4 kB / 413.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.1361, allocations: 49.64 kB / 413.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1362, allocations: 0 / 413.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1362, allocations: 7.938 kB / 413.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.1362, allocations: 3.938 kB / 413.5 MB, free: 10.2 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.1364, allocations: 31.91 kB / 413.5 MB, free: 10.17 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004752/0.1369, allocations: 280.9 kB / 413.8 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002738/0.1372, allocations: 50.56 kB / 413.8 MB, free: 9.785 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.1372, allocations: 0 / 413.8 MB, free: 9.785 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1372, allocations: 34.5 kB / 413.9 MB, free: 9.742 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.453e-06/0.1372, allocations: 0 / 413.9 MB, free: 9.742 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008729/0.1381, allocations: 169.4 kB / 414 MB, free: 9.57 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.1382, allocations: 55.34 kB / 414.1 MB, free: 9.504 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001893/0.1384, allocations: 137.2 kB / 414.2 MB, free: 9.363 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.1384, allocations: 25.7 kB / 414.2 MB, free: 9.332 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.646e-05/0.1385, allocations: 170.5 kB / 414.4 MB, free: 9.164 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.1386, allocations: 15.73 kB / 414.4 MB, free: 9.148 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.39e-06/0.1386, allocations: 0 / 414.4 MB, free: 9.148 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.1387, allocations: 318.8 kB / 414.7 MB, free: 8.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.1388, allocations: 23.98 kB / 414.7 MB, free: 8.805 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001191/0.139, allocations: 19.98 kB / 414.8 MB, free: 8.785 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001387/0.1391, allocations: 35.97 kB / 414.8 MB, free: 8.75 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.1392, allocations: 3.953 kB / 414.8 MB, free: 8.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000325/0.1395, allocations: 81.67 kB / 414.9 MB, free: 8.66 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.1395, allocations: 8 kB / 414.9 MB, free: 8.652 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1395, allocations: 4 kB / 414.9 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.1396, allocations: 0 / 414.9 MB, free: 8.648 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001276/0.1397, allocations: 19.92 kB / 414.9 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/0.1397, allocations: 0 / 414.9 MB, free: 8.629 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.116e-05/0.1398, allocations: 4 kB / 414.9 MB, free: 8.625 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.1398, allocations: 0 / 414.9 MB, free: 8.625 MB / 346.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 0.0001111/0.1399, allocations: 121.8 kB / 415 MB, free: 8.496 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.279e-05/0.14, allocations: 16.14 kB / 415.1 MB, free: 8.48 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000396/0.1404, allocations: 102 kB / 415.2 MB, free: 8.371 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.1404, allocations: 3.984 kB / 415.2 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.1404, allocations: 4 kB / 415.2 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1405, allocations: 0 / 415.2 MB, free: 8.363 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006572/0.1411, allocations: 362.5 kB / 415.5 MB, free: 7.953 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.1411, allocations: 3.938 kB / 415.5 MB, free: 7.949 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001128/0.1413, allocations: 15.98 kB / 415.5 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.1413, allocations: 0 / 415.5 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.1413, allocations: 4.375 kB / 415.5 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.1413, allocations: 0 / 415.5 MB, free: 7.93 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.1413, allocations: 4 kB / 415.5 MB, free: 7.926 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003802/0.1417, allocations: 199.3 kB / 415.7 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.226e-05/0.1418, allocations: 85 kB / 415.8 MB, free: 7.613 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.1418, allocations: 3.938 kB / 415.8 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001255/0.142, allocations: 16 kB / 415.8 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.818e-05/0.142, allocations: 3.984 kB / 415.8 MB, free: 7.59 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.142, allocations: 4 kB / 415.8 MB, free: 7.586 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1422, allocations: 114.9 kB / 416 MB, free: 7.477 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1422, allocations: 0 / 416 MB, free: 7.477 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003095/0.1425, allocations: 19.98 kB / 416 MB, free: 7.457 MB / 346.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.001096/0.1436, allocations: 379.7 kB / 416.4 MB, free: 7.195 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003614/0.144, allocations: 59.91 kB / 416.4 MB, free: 7.137 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.144, allocations: 4 kB / 416.4 MB, free: 7.133 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.1442, allocations: 31.92 kB / 416.4 MB, free: 7.102 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.1445, allocations: 23.88 kB / 416.5 MB, free: 7.078 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/0.145, allocations: 230.2 kB / 416.7 MB, free: 6.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.1454, allocations: 0.6965 MB / 417.4 MB, free: 6.098 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.333e-05/0.1454, allocations: 19.44 kB / 417.4 MB, free: 6.078 MB / 346.7 MB Notification: Performance of SimCode: time 7.61e-07/0.1454, allocations: 0 / 417.4 MB, free: 6.078 MB / 346.7 MB Notification: Performance of Templates: time 0.004255/0.1497, allocations: 1.423 MB / 418.8 MB, free: 4.648 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile clang++ -fopenmp=libomp -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -I. "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7Functions.cpp:194:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp15.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, ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Dv.Test7CalcHelperMain.o] Error 1