Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31") Notification: Performance of loadModel(ModelicaTest): time 2.436/2.436, allocations: 269 MB / 284.1 MB, free: 3.547 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.545e-05/3.556e-05, allocations: 8 kB / 349 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1356/0.1357, allocations: 61.89 MB / 410.9 MB, free: 12.84 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test31): time 0.002563/0.1383, allocations: 1.388 MB / 412.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001665/0.14, allocations: 0.718 MB / 413 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.987e-05/0.1401, allocations: 7.938 kB / 413.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.1404, allocations: 23.84 kB / 413.1 MB, free: 10.69 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.1406, allocations: 39.88 kB / 413.1 MB, free: 10.65 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003752/0.1409, allocations: 79.75 kB / 413.2 MB, free: 10.57 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001551/0.1411, allocations: 55.86 kB / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.389e-05/0.1412, allocations: 4 kB / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.925e-05/0.1413, allocations: 31.86 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.034e-05/0.1414, allocations: 27.91 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001092/0.1415, allocations: 23.98 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.463e-05/0.1416, allocations: 4 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.813e-05/0.1416, allocations: 19.92 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.777e-05/0.1417, allocations: 8 kB / 413.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.1419, allocations: 88.03 kB / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1419, allocations: 0 / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.1419, allocations: 0 / 413.4 MB, free: 10.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.1419, allocations: 4 kB / 413.5 MB, free: 10.31 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005648/0.1425, allocations: 375.1 kB / 413.8 MB, free: 9.898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.1425, allocations: 8.031 kB / 413.8 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.781e-05/0.1426, allocations: 11.89 kB / 413.8 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.1429, allocations: 202.8 kB / 414 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.1429, allocations: 8 kB / 414 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.524e-05/0.143, allocations: 0 / 414 MB, free: 9.633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.1432, allocations: 61.62 kB / 414.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1432, allocations: 0 / 414.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.841e-05/0.1432, allocations: 3.984 kB / 414.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1432, allocations: 4 kB / 414.1 MB, free: 9.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.1433, allocations: 19.92 kB / 414.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.1438, allocations: 296.8 kB / 414.4 MB, free: 9.199 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002294/0.144, allocations: 54.62 kB / 414.5 MB, free: 9.137 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.1441, allocations: 7.984 kB / 414.5 MB, free: 9.129 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001934/0.1443, allocations: 67.45 kB / 414.5 MB, free: 9.051 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.954e-06/0.1443, allocations: 0 / 414.5 MB, free: 9.051 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007397/0.145, allocations: 169.3 kB / 414.7 MB, free: 8.879 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.1451, allocations: 55.34 kB / 414.8 MB, free: 8.812 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002303/0.1453, allocations: 173.9 kB / 414.9 MB, free: 8.641 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1454, allocations: 29.7 kB / 415 MB, free: 8.605 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.09e-05/0.1455, allocations: 166.5 kB / 415.1 MB, free: 8.441 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.822e-05/0.1455, allocations: 19.72 kB / 415.1 MB, free: 8.422 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.082e-06/0.1455, allocations: 0 / 415.1 MB, free: 8.422 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.1457, allocations: 314.8 kB / 415.5 MB, free: 8.105 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.704e-05/0.1458, allocations: 23.98 kB / 415.5 MB, free: 8.082 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001042/0.1459, allocations: 33.7 kB / 415.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.75e-05/0.146, allocations: 28.06 kB / 415.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.146, allocations: 3.953 kB / 415.5 MB, free: 8.012 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002733/0.1463, allocations: 97.59 kB / 415.6 MB, free: 7.91 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.1463, allocations: 4 kB / 415.6 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1463, allocations: 0 / 415.6 MB, free: 7.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.1464, allocations: 8.031 kB / 415.6 MB, free: 7.898 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001411/0.1465, allocations: 15.98 kB / 415.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1465, allocations: 0 / 415.7 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.911e-05/0.1466, allocations: 8 kB / 415.7 MB, free: 7.875 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.041e-05/0.1466, allocations: 0 / 415.7 MB, free: 7.875 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001259/0.1468, allocations: 129.8 kB / 415.8 MB, free: 7.738 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.95e-05/0.1468, allocations: 15.77 kB / 415.8 MB, free: 7.723 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.301e-05/0.1469, allocations: 16.72 kB / 415.8 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.1469, allocations: 4 kB / 415.8 MB, free: 7.699 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.044e-06/0.1469, allocations: 7.984 kB / 415.8 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1469, allocations: 0 / 415.8 MB, free: 7.691 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/0.1475, allocations: 387.3 kB / 416.2 MB, free: 7.254 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.1476, allocations: 3.984 kB / 416.2 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.1476, allocations: 8.375 kB / 416.2 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.903e-06/0.1477, allocations: 0 / 416.2 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.686e-05/0.1477, allocations: 15.94 kB / 416.2 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.1477, allocations: 0 / 416.2 MB, free: 7.227 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.1477, allocations: 4.219 kB / 416.3 MB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003437/0.1481, allocations: 213.9 kB / 416.5 MB, free: 6.988 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.1481, allocations: 96.84 kB / 416.6 MB, free: 6.875 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.1482, allocations: 4 kB / 416.6 MB, free: 6.871 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.1483, allocations: 4 kB / 416.6 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.396e-05/0.1484, allocations: 11.98 kB / 416.6 MB, free: 6.855 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.1484, allocations: 4 kB / 416.6 MB, free: 6.852 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001753/0.1486, allocations: 139.2 kB / 416.7 MB, free: 6.715 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.1486, allocations: 0 / 416.7 MB, free: 6.715 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003865/0.149, allocations: 20 kB / 416.7 MB, free: 6.695 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001309/0.1503, allocations: 450.1 kB / 417.2 MB, free: 6.383 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.1506, allocations: 55.91 kB / 417.2 MB, free: 6.328 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.1506, allocations: 4.062 kB / 417.2 MB, free: 6.324 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001164/0.1507, allocations: 35.86 kB / 417.3 MB, free: 6.289 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.1511, allocations: 19.98 kB / 417.3 MB, free: 6.27 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006059/0.1517, allocations: 260.2 kB / 417.5 MB, free: 5.969 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.1521, allocations: 0.7043 MB / 418.2 MB, free: 5.238 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.702e-05/0.1521, allocations: 19.44 kB / 418.3 MB, free: 5.219 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.1521, allocations: 0 / 418.3 MB, free: 5.219 MB / 346.7 MB Notification: Performance of Templates: time 0.00533/0.1575, allocations: 1.899 MB / 420.2 MB, free: 3.32 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31.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.CombiTimeTable.Test31CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31Functions.cpp:244:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp18.getData(), table_.getDim(1), table_.getDim(2), startTime__ext, ConstArray(columns_).getData(), columns_.getDim(1), smoothness__ext, extrapolation__ext, shiftTime__ext, timeEvents__ext, verboseRead__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources/ModelicaStandardTables.h:142:23: note: candidate function not viable: 7th argument ('const int *') would lose const qualifier MODELICA_EXPORT void* ModelicaStandardTables_CombiTimeTable_init2(_In_z_ const char* fileName, ^ 1 error generated. : recipe for target 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test31CalcHelperMain.o] Error 1