Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.33/2.33, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.837e-05/2.816e-05, allocations: 0 / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1277, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.00238/0.1301, allocations: 1.315 MB / 412.2 MB, free: 11.53 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009154/0.1311, allocations: 355.8 kB / 412.6 MB, free: 11.18 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.527e-05/0.1312, allocations: 4 kB / 412.6 MB, free: 11.17 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002858/0.1315, allocations: 83.73 kB / 412.7 MB, free: 11.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000165/0.1317, allocations: 47.92 kB / 412.7 MB, free: 11.04 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003301/0.132, allocations: 83.69 kB / 412.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001573/0.1322, allocations: 51.89 kB / 412.8 MB, free: 10.91 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.1323, allocations: 19.97 kB / 412.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.872e-05/0.1323, allocations: 23.92 kB / 412.9 MB, free: 10.87 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.1325, allocations: 39.91 kB / 412.9 MB, free: 10.83 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.1326, allocations: 31.88 kB / 413 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.1326, allocations: 0 / 413 MB, free: 10.8 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.856e-05/0.1327, allocations: 23.92 kB / 413 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.255e-05/0.1327, allocations: 8 kB / 413 MB, free: 10.77 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.1329, allocations: 83.86 kB / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.133, allocations: 0 / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.288e-06/0.133, allocations: 3.984 kB / 413.1 MB, free: 10.68 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.127e-06/0.133, allocations: 0 / 413.1 MB, free: 10.68 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005183/0.1335, allocations: 387.4 kB / 413.5 MB, free: 10.25 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.1336, allocations: 15.97 kB / 413.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.962e-05/0.1336, allocations: 11.81 kB / 413.5 MB, free: 10.23 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.1339, allocations: 206.3 kB / 413.7 MB, free: 9.988 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.1339, allocations: 12 kB / 413.7 MB, free: 9.977 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.1339, allocations: 4 kB / 413.7 MB, free: 9.973 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002429/0.1342, allocations: 77.55 kB / 413.8 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1342, allocations: 0 / 413.8 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.1343, allocations: 0 / 413.8 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.1343, allocations: 4 kB / 413.8 MB, free: 9.887 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.1345, allocations: 39.97 kB / 413.8 MB, free: 9.848 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005305/0.135, allocations: 332.7 kB / 414.1 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002074/0.1352, allocations: 62.55 kB / 414.2 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.865e-05/0.1353, allocations: 0 / 414.2 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.1353, allocations: 38.56 kB / 414.2 MB, free: 9.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.1353, allocations: 0 / 414.2 MB, free: 9.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=13): time 0.001582/0.1369, allocations: 341.5 kB / 414.6 MB, free: 9.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.137, allocations: 55.41 kB / 414.6 MB, free: 8.949 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.1373, allocations: 213.4 kB / 414.8 MB, free: 8.73 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.1373, allocations: 29.69 kB / 414.9 MB, free: 8.695 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.167e-05/0.1374, allocations: 170.5 kB / 415 MB, free: 8.527 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.386e-05/0.1375, allocations: 47.34 kB / 415.1 MB, free: 8.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.995e-06/0.1375, allocations: 0 / 415.1 MB, free: 8.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1376, allocations: 318.8 kB / 415.4 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001627/0.1378, allocations: 39.97 kB / 415.4 MB, free: 8.121 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.138, allocations: 39.98 kB / 415.5 MB, free: 8.082 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001842/0.1382, allocations: 43.98 kB / 415.5 MB, free: 8.039 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1382, allocations: 0 / 415.5 MB, free: 8.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0004255/0.1386, allocations: 133.7 kB / 415.6 MB, free: 7.902 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.346e-05/0.1387, allocations: 10.66 kB / 415.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1387, allocations: 0 / 415.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.1387, allocations: 3.938 kB / 415.7 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002166/0.1389, allocations: 27.98 kB / 415.7 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.832e-06/0.139, allocations: 240 / 415.7 MB, free: 7.863 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.37e-05/0.1391, allocations: 15.89 kB / 415.7 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.1391, allocations: 4 kB / 415.7 MB, free: 7.844 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 (13): * Single equations (assignments): 13 * 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.0001452/0.1392, allocations: 141.8 kB / 415.8 MB, free: 7.695 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.1393, allocations: 11.91 kB / 415.9 MB, free: 7.684 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005496/0.1399, allocations: 171 kB / 416 MB, free: 7.508 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1399, allocations: 8 kB / 416 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.1399, allocations: 0 / 416 MB, free: 7.5 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.295e-06/0.1399, allocations: 3.984 kB / 416 MB, free: 7.496 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008948/0.1408, allocations: 487 kB / 416.5 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.1408, allocations: 0 / 416.5 MB, free: 6.961 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.141, allocations: 31.92 kB / 416.5 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.1411, allocations: 3.938 kB / 416.5 MB, free: 6.926 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.1411, allocations: 8 kB / 416.6 MB, free: 6.918 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.1411, allocations: 7.938 kB / 416.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.1411, allocations: 0 / 416.6 MB, free: 6.91 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004679/0.1416, allocations: 250.7 kB / 416.8 MB, free: 6.641 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.1417, allocations: 88.92 kB / 416.9 MB, free: 6.535 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.1417, allocations: 15.94 kB / 416.9 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.1418, allocations: 8 kB / 416.9 MB, free: 6.512 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.1419, allocations: 11.98 kB / 416.9 MB, free: 6.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1419, allocations: 7.938 kB / 416.9 MB, free: 6.492 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002317/0.1422, allocations: 177 kB / 417.1 MB, free: 6.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.1422, allocations: 0 / 417.1 MB, free: 6.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000327/0.1425, allocations: 20 kB / 417.1 MB, free: 6.301 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 (13): * Single equations (assignments): 13 * 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.00121/0.1437, allocations: 435.5 kB / 417.6 MB, free: 6 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004169/0.1442, allocations: 107.9 kB / 417.7 MB, free: 5.895 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.1442, allocations: 0 / 417.7 MB, free: 5.895 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000195/0.1444, allocations: 59.91 kB / 417.7 MB, free: 5.836 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.1447, allocations: 15.98 kB / 417.7 MB, free: 5.82 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007607/0.1455, allocations: 360.6 kB / 418.1 MB, free: 5.434 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003254/0.1458, allocations: 0.7199 MB / 418.8 MB, free: 4.688 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.322e-05/0.1459, allocations: 23.44 kB / 418.8 MB, free: 4.664 MB / 346.7 MB Notification: Performance of SimCode: time 6.31e-07/0.1459, allocations: 0 / 418.8 MB, free: 4.664 MB / 346.7 MB Notification: Performance of Templates: time 0.005436/0.1514, allocations: 1.995 MB / 420.8 MB, free: 2.664 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4Functions.cpp:231:31: error: no matching function for call to 'ModelicaStandardTables_CombiTable1D_init2' externalCombiTable1D__ext = ModelicaStandardTables_CombiTable1D_init2(fileName_.c_str(), tableName_.c_str(), tmp23.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.Test4CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTable1Ds.Test4CalcHelperMain.o] Error 1