Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.294/2.294, allocations: 269 MB / 284.1 MB, free: 3.633 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.912e-05/2.903e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1294, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002287/0.1318, allocations: 1.28 MB / 412.2 MB, free: 11.56 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009251/0.1327, allocations: 355.7 kB / 412.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.232e-05/0.1328, allocations: 0 / 412.6 MB, free: 11.21 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002801/0.1331, allocations: 91.78 kB / 412.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001713/0.1333, allocations: 63.84 kB / 412.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.1336, allocations: 67.78 kB / 412.8 MB, free: 11 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.1338, allocations: 47.83 kB / 412.8 MB, free: 10.95 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.499e-05/0.1339, allocations: 15.98 kB / 412.8 MB, free: 10.93 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.753e-05/0.1339, allocations: 27.97 kB / 412.9 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.1341, allocations: 43.89 kB / 412.9 MB, free: 10.86 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1342, allocations: 31.88 kB / 412.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.137e-05/0.1342, allocations: 4 kB / 412.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.549e-05/0.1343, allocations: 15.92 kB / 413 MB, free: 10.81 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.416e-05/0.1343, allocations: 4 kB / 413 MB, free: 10.81 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001745/0.1345, allocations: 79.88 kB / 413 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.1345, allocations: 4 kB / 413 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.1345, allocations: 0 / 413 MB, free: 10.73 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.927e-06/0.1345, allocations: 4 kB / 413 MB, free: 10.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004855/0.135, allocations: 387.3 kB / 413.4 MB, free: 10.3 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.1351, allocations: 8.031 kB / 413.4 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.1351, allocations: 11.84 kB / 413.4 MB, free: 10.28 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.1354, allocations: 202.8 kB / 413.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1354, allocations: 8 kB / 413.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.404e-05/0.1354, allocations: 0 / 413.6 MB, free: 10.03 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001803/0.1356, allocations: 65.56 kB / 413.7 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.534e-05/0.1357, allocations: 0 / 413.7 MB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.44e-05/0.1357, allocations: 4 kB / 413.7 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.1357, allocations: 0 / 413.7 MB, free: 9.957 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.1359, allocations: 31.97 kB / 413.7 MB, free: 9.926 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004588/0.1363, allocations: 288.8 kB / 414 MB, free: 9.594 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.1365, allocations: 54.5 kB / 414.1 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.279e-05/0.1365, allocations: 0 / 414.1 MB, free: 9.531 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1366, allocations: 30.56 kB / 414.1 MB, free: 9.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.863e-06/0.1366, allocations: 0 / 414.1 MB, free: 9.492 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.001288/0.1379, allocations: 265.1 kB / 414.4 MB, free: 9.227 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.1379, allocations: 51.41 kB / 414.4 MB, free: 9.164 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003/0.1382, allocations: 222.3 kB / 414.6 MB, free: 8.934 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.1383, allocations: 25.7 kB / 414.7 MB, free: 8.902 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.541e-05/0.1384, allocations: 170.5 kB / 414.8 MB, free: 8.734 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.1384, allocations: 23.64 kB / 414.9 MB, free: 8.711 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.546e-06/0.1384, allocations: 4 kB / 414.9 MB, free: 8.707 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1386, allocations: 322.8 kB / 415.2 MB, free: 8.383 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001281/0.1387, allocations: 23.98 kB / 415.2 MB, free: 8.359 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001291/0.1388, allocations: 31.92 kB / 415.2 MB, free: 8.328 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.139, allocations: 31.98 kB / 415.3 MB, free: 8.297 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.139, allocations: 0 / 415.3 MB, free: 8.297 MB / 346.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003587/0.1394, allocations: 105.6 kB / 415.4 MB, free: 8.188 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.269e-05/0.1394, allocations: 6.812 kB / 415.4 MB, free: 8.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1394, allocations: 3.938 kB / 415.4 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1395, allocations: 0 / 415.4 MB, free: 8.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001747/0.1396, allocations: 23.98 kB / 415.4 MB, free: 8.156 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1397, allocations: 3.938 kB / 415.4 MB, free: 8.152 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.296e-05/0.1397, allocations: 4 kB / 415.4 MB, free: 8.148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.1398, allocations: 8 kB / 415.4 MB, free: 8.141 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 (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.0001529/0.1399, allocations: 133.7 kB / 415.5 MB, free: 8 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/0.14, allocations: 12.33 kB / 415.6 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004379/0.1404, allocations: 135.2 kB / 415.7 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1405, allocations: 0 / 415.7 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.1405, allocations: 3.984 kB / 415.7 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1405, allocations: 0 / 415.7 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007228/0.1412, allocations: 423.3 kB / 416.1 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.1412, allocations: 0 / 416.1 MB, free: 7.371 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001367/0.1414, allocations: 27.92 kB / 416.1 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.1414, allocations: 0 / 416.1 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.026e-05/0.1414, allocations: 0 / 416.1 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.1414, allocations: 0 / 416.1 MB, free: 7.344 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.1414, allocations: 4 kB / 416.1 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003925/0.1418, allocations: 221.9 kB / 416.3 MB, free: 7.098 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/0.1419, allocations: 93 kB / 416.4 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.74e-05/0.142, allocations: 8 kB / 416.4 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.1421, allocations: 4 kB / 416.5 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.553e-05/0.1421, allocations: 11.94 kB / 416.5 MB, free: 6.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.1422, allocations: 8 kB / 416.5 MB, free: 6.957 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000225/0.1424, allocations: 184.3 kB / 416.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1424, allocations: 0 / 416.7 MB, free: 6.777 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00034/0.1428, allocations: 20 kB / 416.7 MB, free: 6.758 MB / 346.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.001283/0.144, allocations: 440.5 kB / 417.1 MB, free: 6.453 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000344/0.1444, allocations: 67.95 kB / 417.2 MB, free: 6.387 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.1444, allocations: 4 kB / 417.2 MB, free: 6.383 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.1446, allocations: 43.98 kB / 417.2 MB, free: 6.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.1449, allocations: 16.17 kB / 417.2 MB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000689/0.1456, allocations: 327.8 kB / 417.5 MB, free: 5.969 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/0.1459, allocations: 0.7121 MB / 418.3 MB, free: 5.23 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.557e-05/0.146, allocations: 19.44 kB / 418.3 MB, free: 5.211 MB / 346.7 MB Notification: Performance of SimCode: time 6.62e-07/0.146, allocations: 0 / 418.3 MB, free: 5.211 MB / 346.7 MB Notification: Performance of Templates: time 0.004956/0.151, allocations: 1.775 MB / 420.1 MB, free: 3.434 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.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.CombiTable1Ds.Test28CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28Functions.cpp:231:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp17.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.CombiTable1Ds.Test28CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28CalcHelperMain.o] Error 1