Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,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.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.547/2.547, allocations: 269 MB / 284.1 MB, free: 3.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.85e-05/2.865e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1289, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002306/0.1313, allocations: 1.268 MB / 412.2 MB, free: 11.59 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.1331, allocations: 0.9176 MB / 413.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.888e-05/0.1332, allocations: 4 kB / 413.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001731/0.1334, allocations: 15.91 kB / 413.1 MB, free: 10.64 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.1336, allocations: 27.84 kB / 413.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003057/0.1339, allocations: 63.83 kB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.134, allocations: 39.84 kB / 413.3 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.646e-05/0.1341, allocations: 3.984 kB / 413.3 MB, free: 10.51 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.787e-05/0.1342, allocations: 15.98 kB / 413.3 MB, free: 10.49 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.1343, allocations: 19.92 kB / 413.3 MB, free: 10.47 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00012/0.1344, allocations: 27.98 kB / 413.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.117e-05/0.1345, allocations: 4 kB / 413.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.5e-05/0.1345, allocations: 11.94 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 1.97e-05/0.1346, allocations: 4 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.1347, allocations: 63.83 kB / 413.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1348, allocations: 0 / 413.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.1348, allocations: 0 / 413.4 MB, free: 10.36 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.967e-06/0.1348, allocations: 0 / 413.4 MB, free: 10.36 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.0004743/0.1353, allocations: 363.5 kB / 413.8 MB, free: 9.961 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.1353, allocations: 16.03 kB / 413.8 MB, free: 9.945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.1354, allocations: 7.906 kB / 413.8 MB, free: 9.938 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.1356, allocations: 179 kB / 414 MB, free: 9.723 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.528e-05/0.1357, allocations: 8 kB / 414 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.1357, allocations: 0 / 414 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.1359, allocations: 71.34 kB / 414 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1359, allocations: 3.906 kB / 414 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.136, allocations: 4 kB / 414 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.136, allocations: 4 kB / 414 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.1361, allocations: 19.98 kB / 414.1 MB, free: 9.602 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004146/0.1366, allocations: 272.9 kB / 414.3 MB, free: 9.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.1368, allocations: 50.56 kB / 414.4 MB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1369, allocations: 0 / 414.4 MB, free: 9.227 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1369, allocations: 30.56 kB / 414.4 MB, free: 9.188 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 3.166e-06/0.1369, allocations: 4 kB / 414.4 MB, free: 9.184 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008024/0.1377, allocations: 157.3 kB / 414.6 MB, free: 9.023 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.1378, allocations: 81.09 kB / 414.6 MB, free: 8.926 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.138, allocations: 125 kB / 414.8 MB, free: 8.797 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.138, allocations: 25.7 kB / 414.8 MB, free: 8.766 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.574e-05/0.1381, allocations: 158.5 kB / 414.9 MB, free: 8.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.283e-05/0.1382, allocations: 23.72 kB / 415 MB, free: 8.586 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.093e-06/0.1382, allocations: 11.94 kB / 415 MB, free: 8.574 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.1383, allocations: 310.8 kB / 415.3 MB, free: 8.262 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1384, allocations: 23.98 kB / 415.3 MB, free: 8.238 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1386, allocations: 37.64 kB / 415.3 MB, free: 8.195 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.1387, allocations: 28.02 kB / 415.4 MB, free: 8.168 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.1387, allocations: 3.953 kB / 415.4 MB, free: 8.164 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003198/0.1391, allocations: 81.67 kB / 415.5 MB, free: 8.078 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1391, allocations: 6.5 kB / 415.5 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1391, allocations: 4 kB / 415.5 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.1392, allocations: 0 / 415.5 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.1393, allocations: 15.98 kB / 415.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.1393, allocations: 0 / 415.5 MB, free: 8.055 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.314e-05/0.1394, allocations: 4 kB / 415.5 MB, free: 8.051 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.27e-05/0.1394, allocations: 7.984 kB / 415.5 MB, free: 8.043 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.0001089/0.1395, allocations: 117.8 kB / 415.6 MB, free: 7.918 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.1396, allocations: 15.86 kB / 415.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003636/0.14, allocations: 93.61 kB / 415.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.14, allocations: 0 / 415.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.14, allocations: 0 / 415.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.14, allocations: 0 / 415.7 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006277/0.1406, allocations: 366.8 kB / 416.1 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1407, allocations: 0 / 416.1 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.1408, allocations: 12 kB / 416.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1408, allocations: 288 / 416.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.1408, allocations: 0 / 416.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1408, allocations: 0 / 416.1 MB, free: 7.375 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.1408, allocations: 7.984 kB / 416.1 MB, free: 7.367 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003843/0.1412, allocations: 191.3 kB / 416.3 MB, free: 7.164 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.1413, allocations: 89 kB / 416.4 MB, free: 7.059 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.1413, allocations: 7.938 kB / 416.4 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.1415, allocations: 8 kB / 416.4 MB, free: 7.043 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.1415, allocations: 7.984 kB / 416.4 MB, free: 7.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.174e-06/0.1415, allocations: 0 / 416.4 MB, free: 7.035 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001149/0.1417, allocations: 103.3 kB / 416.5 MB, free: 6.934 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.1417, allocations: 0 / 416.5 MB, free: 6.934 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003312/0.142, allocations: 20 kB / 416.5 MB, free: 6.914 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.001236/0.1433, allocations: 421.8 kB / 416.9 MB, free: 6.625 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003556/0.1436, allocations: 55.97 kB / 417 MB, free: 6.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1437, allocations: 0 / 417 MB, free: 6.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.1438, allocations: 35.91 kB / 417 MB, free: 6.535 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.1441, allocations: 11.95 kB / 417 MB, free: 6.523 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005017/0.1446, allocations: 198.5 kB / 417.2 MB, free: 6.297 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.145, allocations: 0.6887 MB / 417.9 MB, free: 5.582 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.371e-05/0.1451, allocations: 19.42 kB / 417.9 MB, free: 5.562 MB / 346.7 MB Notification: Performance of SimCode: time 8.12e-07/0.1451, allocations: 0 / 417.9 MB, free: 5.562 MB / 346.7 MB Notification: Performance of Templates: time 0.004631/0.1497, allocations: 1.564 MB / 419.5 MB, free: 3.992 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21Functions.cpp:208: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.Test21CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test21CalcHelperMain.o] Error 1