Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test1,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.Test1") Notification: Performance of loadModel(ModelicaTest): time 2.494/2.494, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.066e-05/3.075e-05, allocations: 4 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1301, allocations: 61.9 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test1): time 0.002329/0.1325, allocations: 1.26 MB / 412.2 MB, free: 11.58 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009168/0.1334, allocations: 343.8 kB / 412.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.405e-05/0.1335, allocations: 0 / 412.5 MB, free: 11.24 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.1337, allocations: 15.92 kB / 412.5 MB, free: 11.22 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001499/0.1339, allocations: 23.91 kB / 412.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.1342, allocations: 79.7 kB / 412.6 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.1344, allocations: 31.91 kB / 412.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.952e-05/0.1345, allocations: 11.98 kB / 412.7 MB, free: 11.08 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.711e-05/0.1345, allocations: 15.92 kB / 412.7 MB, free: 11.06 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.474e-05/0.1346, allocations: 11.92 kB / 412.7 MB, free: 11.05 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.447e-05/0.1347, allocations: 23.94 kB / 412.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.65e-05/0.1347, allocations: 0 / 412.7 MB, free: 11.03 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 3.787e-05/0.1348, allocations: 7.984 kB / 412.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.017e-05/0.1348, allocations: 8 kB / 412.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.135, allocations: 47.92 kB / 412.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.135, allocations: 0 / 412.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.135, allocations: 0 / 412.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.135, allocations: 0 / 412.8 MB, free: 10.96 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.0004719/0.1355, allocations: 359.5 kB / 413.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.1356, allocations: 12.03 kB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.1356, allocations: 3.906 kB / 413.2 MB, free: 10.55 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002439/0.1359, allocations: 190.9 kB / 413.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.1359, allocations: 8 kB / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.1359, allocations: 0 / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.1361, allocations: 53.64 kB / 413.4 MB, free: 10.26 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.1361, allocations: 4 kB / 413.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.1362, allocations: 0 / 413.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.1362, allocations: 3.938 kB / 413.4 MB, free: 10.25 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.1364, allocations: 31.97 kB / 413.4 MB, free: 10.22 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004046/0.1368, allocations: 272.9 kB / 413.7 MB, free: 9.902 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002536/0.1371, allocations: 42.56 kB / 413.8 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.476e-05/0.1371, allocations: 8.016 kB / 413.8 MB, free: 9.844 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.806e-05/0.1371, allocations: 34.56 kB / 413.8 MB, free: 9.801 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.933e-06/0.1371, allocations: 0 / 413.8 MB, free: 9.801 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008002/0.138, allocations: 153.3 kB / 413.9 MB, free: 9.645 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.249e-05/0.138, allocations: 51.41 kB / 414 MB, free: 9.582 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001749/0.1382, allocations: 133.2 kB / 414.1 MB, free: 9.441 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.55e-05/0.1382, allocations: 25.7 kB / 414.1 MB, free: 9.41 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.381e-05/0.1383, allocations: 154.6 kB / 414.3 MB, free: 9.258 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.1384, allocations: 19.75 kB / 414.3 MB, free: 9.238 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.94e-06/0.1384, allocations: 3.938 kB / 414.3 MB, free: 9.234 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.1385, allocations: 310.8 kB / 414.6 MB, free: 8.922 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.1386, allocations: 27.98 kB / 414.7 MB, free: 8.895 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.1388, allocations: 19.98 kB / 414.7 MB, free: 8.875 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001259/0.1389, allocations: 27.94 kB / 414.7 MB, free: 8.848 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1389, allocations: 0 / 414.7 MB, free: 8.848 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003178/0.1392, allocations: 85.67 kB / 414.8 MB, free: 8.758 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.1393, allocations: 7.984 kB / 414.8 MB, free: 8.75 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.1393, allocations: 3.984 kB / 414.8 MB, free: 8.746 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.1393, allocations: 4 kB / 414.8 MB, free: 8.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1395, allocations: 8 kB / 414.8 MB, free: 8.734 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.1395, allocations: 4 kB / 414.8 MB, free: 8.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.568e-05/0.1396, allocations: 11.98 kB / 414.8 MB, free: 8.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.145e-05/0.1396, allocations: 0 / 414.8 MB, free: 8.719 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.0001061/0.1397, allocations: 121.7 kB / 414.9 MB, free: 8.59 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.427e-05/0.1398, allocations: 7.906 kB / 414.9 MB, free: 8.582 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003775/0.1401, allocations: 102.2 kB / 415 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.1402, allocations: 0 / 415 MB, free: 8.473 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.1402, allocations: 3.984 kB / 415.1 MB, free: 8.469 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.092e-06/0.1402, allocations: 3.984 kB / 415.1 MB, free: 8.465 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000614/0.1409, allocations: 350.7 kB / 415.4 MB, free: 8.066 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.1409, allocations: 8.062 kB / 415.4 MB, free: 8.059 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.141, allocations: 15.94 kB / 415.4 MB, free: 8.043 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.141, allocations: 4 kB / 415.4 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.939e-06/0.141, allocations: 0 / 415.4 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.876e-06/0.141, allocations: 0 / 415.4 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/0.1411, allocations: 3.984 kB / 415.4 MB, free: 8.035 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003593/0.1414, allocations: 191.3 kB / 415.6 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.1415, allocations: 81.11 kB / 415.7 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.1415, allocations: 3.984 kB / 415.7 MB, free: 7.73 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00011/0.1416, allocations: 8 kB / 415.7 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.3e-05/0.1417, allocations: 0 / 415.7 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.561e-05/0.1417, allocations: 4 kB / 415.7 MB, free: 7.719 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001196/0.1419, allocations: 123.7 kB / 415.8 MB, free: 7.598 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1419, allocations: 0 / 415.8 MB, free: 7.598 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000305/0.1422, allocations: 12 kB / 415.8 MB, free: 7.586 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.1433, allocations: 376.1 kB / 416.2 MB, free: 7.328 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003338/0.1437, allocations: 55.97 kB / 416.3 MB, free: 7.273 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.1437, allocations: 0 / 416.3 MB, free: 7.273 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.1438, allocations: 31.92 kB / 416.3 MB, free: 7.242 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.1441, allocations: 23.81 kB / 416.3 MB, free: 7.219 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005222/0.1447, allocations: 214.1 kB / 416.5 MB, free: 6.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002859/0.145, allocations: 0.6926 MB / 417.2 MB, free: 6.262 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.062e-05/0.1451, allocations: 11.44 kB / 417.2 MB, free: 6.25 MB / 346.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1451, allocations: 0 / 417.2 MB, free: 6.25 MB / 346.7 MB Notification: Performance of Templates: time 0.004248/0.1494, allocations: 1.363 MB / 418.6 MB, free: 4.883 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1.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.Test1CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1Functions.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.CombiTable1Ds.Test1CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test1CalcHelperMain.o] Error 1