Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,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.Test30") Notification: Performance of loadModel(ModelicaTest): time 2.623/2.623, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.258e-05/3.27e-05, allocations: 8 kB / 349 MB, free: 10.75 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.132/0.132, allocations: 61.9 MB / 410.9 MB, free: 12.85 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.002518/0.1346, allocations: 1.392 MB / 412.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001687/0.1363, allocations: 0.7218 MB / 413.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.862e-05/0.1365, allocations: 3.938 kB / 413.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002432/0.1367, allocations: 23.84 kB / 413.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002091/0.1369, allocations: 39.86 kB / 413.1 MB, free: 10.66 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.1373, allocations: 75.77 kB / 413.2 MB, free: 10.58 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001607/0.1375, allocations: 59.88 kB / 413.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.399e-05/0.1376, allocations: 3.984 kB / 413.3 MB, free: 10.52 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1377, allocations: 39.84 kB / 413.3 MB, free: 10.48 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.662e-05/0.1378, allocations: 19.92 kB / 413.3 MB, free: 10.46 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.1379, allocations: 24 kB / 413.3 MB, free: 10.44 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.234e-05/0.1379, allocations: 4 kB / 413.3 MB, free: 10.43 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.138, allocations: 15.91 kB / 413.4 MB, free: 10.42 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 2.543e-05/0.138, allocations: 7.938 kB / 413.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001999/0.1382, allocations: 92.09 kB / 413.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1383, allocations: 0 / 413.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1383, allocations: 0 / 413.5 MB, free: 10.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.1383, allocations: 0 / 413.5 MB, free: 10.32 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.0005473/0.1388, allocations: 379.1 kB / 413.8 MB, free: 9.902 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.1389, allocations: 12.03 kB / 413.8 MB, free: 9.891 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.139, allocations: 7.906 kB / 413.8 MB, free: 9.883 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002889/0.1393, allocations: 206.8 kB / 414 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.1393, allocations: 0 / 414 MB, free: 9.641 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.1393, allocations: 12 kB / 414.1 MB, free: 9.629 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.1395, allocations: 53.62 kB / 414.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.1396, allocations: 0 / 414.1 MB, free: 9.57 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.1396, allocations: 4 kB / 414.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1396, allocations: 3.938 kB / 414.1 MB, free: 9.562 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001066/0.1397, allocations: 23.98 kB / 414.1 MB, free: 9.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004226/0.1402, allocations: 288.8 kB / 414.4 MB, free: 9.207 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002329/0.1404, allocations: 58.67 kB / 414.5 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1404, allocations: 0 / 414.5 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.1407, allocations: 71.39 kB / 414.5 MB, free: 9.059 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.1407, allocations: 0 / 414.5 MB, free: 9.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007555/0.1414, allocations: 173.2 kB / 414.7 MB, free: 8.883 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.355e-05/0.1415, allocations: 59.34 kB / 414.8 MB, free: 8.812 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.1417, allocations: 177.9 kB / 414.9 MB, free: 8.637 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.057e-05/0.1418, allocations: 25.7 kB / 415 MB, free: 8.605 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.1419, allocations: 158.6 kB / 415.1 MB, free: 8.449 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.75e-05/0.1419, allocations: 19.72 kB / 415.1 MB, free: 8.43 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.687e-06/0.1419, allocations: 4 kB / 415.2 MB, free: 8.426 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.1421, allocations: 318.8 kB / 415.5 MB, free: 8.105 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.552e-05/0.1422, allocations: 16 kB / 415.5 MB, free: 8.09 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1423, allocations: 41.7 kB / 415.5 MB, free: 8.043 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.631e-05/0.1424, allocations: 23.98 kB / 415.5 MB, free: 8.02 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.1424, allocations: 3.953 kB / 415.5 MB, free: 8.016 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002662/0.1427, allocations: 89.62 kB / 415.6 MB, free: 7.922 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.1427, allocations: 10.81 kB / 415.6 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.1427, allocations: 0 / 415.6 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.522e-05/0.1428, allocations: 0 / 415.6 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.1429, allocations: 20.02 kB / 415.7 MB, free: 7.895 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.1429, allocations: 4 kB / 415.7 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.651e-05/0.143, allocations: 0 / 415.7 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.452e-05/0.1431, allocations: 4 kB / 415.7 MB, free: 7.887 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.0001274/0.1432, allocations: 129.8 kB / 415.8 MB, free: 7.75 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.1432, allocations: 15.77 kB / 415.8 MB, free: 7.734 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.126e-05/0.1433, allocations: 16.72 kB / 415.8 MB, free: 7.715 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.1433, allocations: 3.984 kB / 415.8 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1433, allocations: 0 / 415.8 MB, free: 7.711 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.1434, allocations: 7.984 kB / 415.8 MB, free: 7.703 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006214/0.144, allocations: 395.4 kB / 416.2 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.144, allocations: 0 / 416.2 MB, free: 7.258 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.235e-05/0.1441, allocations: 8 kB / 416.2 MB, free: 7.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1441, allocations: 3.938 kB / 416.2 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.1441, allocations: 0 / 416.2 MB, free: 7.246 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.23e-06/0.1441, allocations: 4.078 kB / 416.2 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/0.1441, allocations: 8.344 kB / 416.3 MB, free: 7.234 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003319/0.1445, allocations: 221.9 kB / 416.5 MB, free: 6.992 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.099e-05/0.1446, allocations: 85.11 kB / 416.6 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.1446, allocations: 12 kB / 416.6 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.1447, allocations: 11.92 kB / 416.6 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.1448, allocations: 0 / 416.6 MB, free: 6.867 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.479e-05/0.1448, allocations: 8 kB / 416.6 MB, free: 6.859 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001815/0.145, allocations: 143.2 kB / 416.7 MB, free: 6.719 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.145, allocations: 0 / 416.7 MB, free: 6.719 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003401/0.1454, allocations: 20 kB / 416.7 MB, free: 6.699 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.001287/0.1467, allocations: 443.7 kB / 417.2 MB, free: 6.391 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002806/0.147, allocations: 55.91 kB / 417.2 MB, free: 6.336 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/0.147, allocations: 3.938 kB / 417.2 MB, free: 6.332 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.1471, allocations: 39.98 kB / 417.3 MB, free: 6.293 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.1475, allocations: 19.98 kB / 417.3 MB, free: 6.273 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/0.1482, allocations: 264.2 kB / 417.6 MB, free: 5.969 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.1485, allocations: 0.7004 MB / 418.3 MB, free: 5.242 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.1486, allocations: 19.42 kB / 418.3 MB, free: 5.223 MB / 346.7 MB Notification: Performance of SimCode: time 1.202e-06/0.1486, allocations: 0 / 418.3 MB, free: 5.223 MB / 346.7 MB Notification: Performance of Templates: time 0.005605/0.1542, allocations: 1.895 MB / 420.2 MB, free: 3.328 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30CalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30CalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30CalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30Functions.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.Test30CalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Tables.CombiTimeTable.Test30CalcHelperMain.o] Error 1