Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|integerTable.index|integerTable.nextTime|integerTable.y|integerTable2.index|integerTable2.nextTime|integerTable2.y|integerTable3.index|integerTable3.nextTime|integerTable3.y|integerTable4.index|integerTable4.nextTime|integerTable4.y",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadModel(ModelicaTest): time 2.338/2.338, allocations: 269 MB / 284.1 MB, free: 3.637 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.659e-05/3.646e-05, allocations: 0 / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1572, allocations: 61.89 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegerTable): time 0.003376/0.1606, allocations: 1.847 MB / 412.8 MB, free: 11 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003447/0.1641, allocations: 1.279 MB / 414 MB, free: 9.711 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003327/0.1645, allocations: 7.938 kB / 414 MB, free: 9.703 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004342/0.165, allocations: 103.6 kB / 414.2 MB, free: 9.602 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005716/0.1656, allocations: 179.4 kB / 414.3 MB, free: 9.426 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002285/0.1679, allocations: 0.5222 MB / 414.8 MB, free: 8.902 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007424/0.1686, allocations: 259.4 kB / 415.1 MB, free: 8.648 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001433/0.1688, allocations: 28.16 kB / 415.1 MB, free: 8.621 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000365/0.1692, allocations: 167.4 kB / 415.3 MB, free: 8.457 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003431/0.1695, allocations: 147.5 kB / 415.4 MB, free: 8.312 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004147/0.17, allocations: 103.9 kB / 415.5 MB, free: 8.211 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.1701, allocations: 16 kB / 415.6 MB, free: 8.195 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.1703, allocations: 111.6 kB / 415.7 MB, free: 8.086 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.52e-05/0.1704, allocations: 20 kB / 415.7 MB, free: 8.066 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007565/0.1712, allocations: 431.3 kB / 416.1 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.1712, allocations: 0 / 416.1 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1712, allocations: 4 kB / 416.1 MB, free: 7.641 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.1712, allocations: 0 / 416.1 MB, free: 7.641 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: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001513/0.1728, allocations: 0.72 MB / 416.8 MB, free: 6.848 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.1728, allocations: 12.03 kB / 416.8 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.173, allocations: 51.44 kB / 416.9 MB, free: 6.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.174, allocations: 435.3 kB / 417.3 MB, free: 6.316 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.325e-05/0.1741, allocations: 12.23 kB / 417.3 MB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.965e-05/0.1742, allocations: 19.95 kB / 417.3 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007267/0.1749, allocations: 257.4 kB / 417.6 MB, free: 5.992 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1749, allocations: 3.938 kB / 417.6 MB, free: 5.988 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.018e-05/0.175, allocations: 4 kB / 417.6 MB, free: 5.984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.175, allocations: 4 kB / 417.6 MB, free: 5.98 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005068/0.1755, allocations: 111.8 kB / 417.7 MB, free: 5.871 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.1773, allocations: 0.8757 MB / 418.6 MB, free: 4.934 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.1784, allocations: 298.9 kB / 418.9 MB, free: 4.605 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.955e-05/0.1785, allocations: 12.27 kB / 418.9 MB, free: 4.594 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000656/0.1792, allocations: 220.9 kB / 419.1 MB, free: 4.355 MB / 346.7 MB Notification: Performance of pre-optimization done (n=24): time 3.487e-06/0.1792, allocations: 0 / 419.1 MB, free: 4.355 MB / 346.7 MB Notification: Performance of matching and sorting (n=24): time 0.001659/0.1809, allocations: 400.7 kB / 419.5 MB, free: 3.957 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001969/0.1811, allocations: 338.1 kB / 419.8 MB, free: 3.547 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.1822, allocations: 0.5684 MB / 420.4 MB, free: 2.969 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.041e-05/0.1823, allocations: 37.64 kB / 420.4 MB, free: 2.926 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00023/0.1826, allocations: 255 kB / 420.7 MB, free: 2.676 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000107/0.1827, allocations: 67.14 kB / 420.8 MB, free: 2.609 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.568e-05/0.1827, allocations: 8 kB / 420.8 MB, free: 2.602 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1829, allocations: 322.8 kB / 421.1 MB, free: 2.277 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000389/0.1833, allocations: 79.95 kB / 421.2 MB, free: 2.199 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005789/0.1839, allocations: 245 kB / 421.4 MB, free: 1.898 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004262/0.1843, allocations: 99.91 kB / 421.5 MB, free: 1.801 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.873e-06/0.1843, allocations: 4 kB / 421.5 MB, free: 1.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.001027/0.1854, allocations: 270.5 kB / 421.8 MB, free: 1.527 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.1854, allocations: 14.88 kB / 421.8 MB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.1854, allocations: 4 kB / 421.8 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.1855, allocations: 0 / 421.8 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004615/0.1859, allocations: 55.91 kB / 421.8 MB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.535e-05/0.186, allocations: 7.922 kB / 421.8 MB, free: 1.449 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004293/0.1864, allocations: 39.73 kB / 421.9 MB, free: 1.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.1865, allocations: 11.98 kB / 421.9 MB, free: 1.398 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0004091/0.1869, allocations: 225.7 kB / 422.1 MB, free: 1.168 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.187, allocations: 51.34 kB / 422.2 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001539/0.1872, allocations: 55.91 kB / 422.2 MB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/0.1872, allocations: 0 / 422.2 MB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.1872, allocations: 4 kB / 422.2 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.1873, allocations: 0 / 422.2 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006235/0.1879, allocations: 409.2 kB / 422.6 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.1879, allocations: 0 / 422.6 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002406/0.1882, allocations: 23.98 kB / 422.6 MB, free: 0.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.458e-05/0.1882, allocations: 7.984 kB / 422.7 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.307e-05/0.1882, allocations: 8 kB / 422.7 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.1882, allocations: 4 kB / 422.7 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.1883, allocations: 8.062 kB / 422.7 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.1894, allocations: 396 kB / 423.1 MB, free: 124 kB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.3152/0.5046, allocations: 134.7 kB / 423.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002215/0.5049, allocations: 14.73 kB / 423.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003491/0.5053, allocations: 18.05 kB / 423.2 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.5055, allocations: 36.06 kB / 423.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.974e-05/0.5055, allocations: 15 kB / 423.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00104/0.5066, allocations: 464.7 kB / 423.7 MB, free: 13 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.5066, allocations: 0 / 423.7 MB, free: 13 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007286/0.5074, allocations: 98.2 kB / 423.8 MB, free: 13 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001414/0.5088, allocations: 455.4 kB / 424.3 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.5099, allocations: 230.1 kB / 424.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.242e-06/0.51, allocations: 0 / 424.5 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005378/0.5105, allocations: 128.3 kB / 424.6 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.5117, allocations: 119.8 kB / 424.7 MB, free: 12.84 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002117/0.5138, allocations: 0.8753 MB / 425.6 MB, free: 12.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004646/0.5144, allocations: 0.848 MB / 426.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002786/0.5147, allocations: 50.03 kB / 426.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of SimCode: time 2.515e-06/0.5147, allocations: 0 / 426.5 MB, free: 11.7 MB / 346.7 MB Notification: Performance of Templates: time 0.02073/0.5354, allocations: 6.955 MB / 433.5 MB, free: 11.04 MB / 346.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegerTable.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.Blocks.IntegerTableCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegerTableCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegerTableCalcHelperMain.cpp:29: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegerTableFunctions.cpp:210:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp77.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.Blocks.IntegerTableCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegerTableCalcHelperMain.o] Error 1