Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample") Notification: Performance of loadModel(Modelica): time 2.059/2.059, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.915e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1168, allocations: 50.41 MB / 345 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample): time 0.003067/0.1199, allocations: 1.551 MB / 346.5 MB, free: 7.387 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.1224, allocations: 0.9671 MB / 347.5 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/0.1227, allocations: 7.938 kB / 347.5 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003037/0.123, allocations: 51.8 kB / 347.6 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00026/0.1233, allocations: 63.83 kB / 347.6 MB, free: 6.293 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009637/0.1243, allocations: 199.3 kB / 347.8 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00023/0.1245, allocations: 75.84 kB / 347.9 MB, free: 6.023 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.1246, allocations: 19.98 kB / 347.9 MB, free: 6.004 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.1248, allocations: 47.84 kB / 348 MB, free: 5.957 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001479/0.1249, allocations: 67.69 kB / 348 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.1251, allocations: 43.97 kB / 348.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.925e-05/0.1252, allocations: 4 kB / 348.1 MB, free: 5.844 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.1253, allocations: 39.84 kB / 348.1 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.62e-05/0.1253, allocations: 11.94 kB / 348.1 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003395/0.1257, allocations: 167.9 kB / 348.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.1257, allocations: 0 / 348.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.1257, allocations: 4 kB / 348.3 MB, free: 5.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.318e-05/0.1258, allocations: 4 kB / 348.3 MB, free: 5.621 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008059/0.1266, allocations: 468.5 kB / 348.7 MB, free: 5.109 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.1266, allocations: 12.02 kB / 348.8 MB, free: 5.098 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.473e-05/0.1267, allocations: 27.67 kB / 348.8 MB, free: 5.07 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005068/0.1273, allocations: 270.5 kB / 349 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.1273, allocations: 4 kB / 349.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.162e-05/0.1273, allocations: 8 kB / 349.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004619/0.1278, allocations: 155.6 kB / 349.2 MB, free: 4.578 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1278, allocations: 3.938 kB / 349.2 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.1279, allocations: 3.984 kB / 349.2 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.897e-06/0.1279, allocations: 4 kB / 349.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.1281, allocations: 39.88 kB / 349.3 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007367/0.1288, allocations: 386.4 kB / 349.6 MB, free: 4.094 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003742/0.1292, allocations: 119.8 kB / 349.8 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.1293, allocations: 3.984 kB / 349.8 MB, free: 3.945 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002471/0.1295, allocations: 75.47 kB / 349.8 MB, free: 3.859 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 3.327e-06/0.1295, allocations: 0 / 349.8 MB, free: 3.859 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006323/0.1302, allocations: 161.2 kB / 350 MB, free: 3.695 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/0.1303, allocations: 158.2 kB / 350.1 MB, free: 3.504 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005233/0.1309, allocations: 297.8 kB / 350.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.913e-05/0.1309, allocations: 25.7 kB / 350.5 MB, free: 3.176 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.131, allocations: 182.5 kB / 350.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.1311, allocations: 15.8 kB / 350.7 MB, free: 2.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.189e-05/0.1311, allocations: 4 kB / 350.7 MB, free: 2.977 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1313, allocations: 319.1 kB / 351 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.1314, allocations: 23.98 kB / 351 MB, free: 2.633 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000177/0.1316, allocations: 82.84 kB / 351.1 MB, free: 2.527 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.1318, allocations: 35.94 kB / 351.1 MB, free: 2.492 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1318, allocations: 0 / 351.1 MB, free: 2.492 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003583/0.1321, allocations: 109.5 kB / 351.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1322, allocations: 4 kB / 351.2 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.1322, allocations: 0 / 351.2 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.1322, allocations: 7.953 kB / 351.2 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001968/0.1324, allocations: 19.98 kB / 351.2 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.1325, allocations: 8.062 kB / 351.3 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.1326, allocations: 15.84 kB / 351.3 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.563e-05/0.1326, allocations: 4 kB / 351.3 MB, free: 2.32 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.00022/0.1329, allocations: 149.8 kB / 351.4 MB, free: 2.164 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.133, allocations: 65.44 kB / 351.5 MB, free: 2.094 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.021e-05/0.1331, allocations: 25.75 kB / 351.5 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/0.1331, allocations: 11.94 kB / 351.5 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.1331, allocations: 4.062 kB / 351.5 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.1332, allocations: 0 / 351.5 MB, free: 2.055 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.1335, allocations: 241.9 kB / 351.8 MB, free: 1.77 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.069e-06/0.1335, allocations: 4 kB / 351.8 MB, free: 1.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001276/0.1336, allocations: 19.92 kB / 351.8 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.1336, allocations: 0 / 351.8 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.1337, allocations: 8 kB / 351.8 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.1337, allocations: 0 / 351.8 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.1337, allocations: 3.953 kB / 351.8 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004534/0.1342, allocations: 182 kB / 352 MB, free: 1.52 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.1343, allocations: 116.8 kB / 352.1 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.533e-05/0.1344, allocations: 7.953 kB / 352.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001164/0.1345, allocations: 7.984 kB / 352.1 MB, free: 1.371 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.259e-05/0.1346, allocations: 4 kB / 352.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.1346, allocations: 11.98 kB / 352.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003897/0.135, allocations: 241.9 kB / 352.4 MB, free: 1.121 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1351, allocations: 0 / 352.4 MB, free: 1.121 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003652/0.1354, allocations: 35.98 kB / 352.4 MB, free: 1.086 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.00128/0.1367, allocations: 405.9 kB / 352.8 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004123/0.1372, allocations: 75.83 kB / 352.9 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.1372, allocations: 0 / 352.9 MB, free: 0.7227 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001353/0.1373, allocations: 27.98 kB / 352.9 MB, free: 0.6953 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006191/0.138, allocations: 64.3 kB / 353 MB, free: 0.6328 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009545/0.1389, allocations: 422.4 kB / 353.4 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004417/0.1394, allocations: 0.74 MB / 354.1 MB, free: 15.42 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.626e-05/0.1395, allocations: 27.42 kB / 354.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of SimCode: time 9.42e-07/0.1395, allocations: 0 / 354.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of Templates: time 0.008523/0.1481, allocations: 2.89 MB / 357 MB, free: 12.52 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSample.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 OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSampleCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSampleCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSampleCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSampleFunctions.cpp:210:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp24.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 'OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSampleCalcHelperMain.o] Error 1