Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadModel(Modelica): time 2.147/2.147, allocations: 224.7 MB / 241.1 MB, free: 1.688 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.179e-05/3.149e-05, allocations: 4 kB / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.1119, allocations: 50.42 MB / 345 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.002943/0.1149, allocations: 1.571 MB / 346.5 MB, free: 7.355 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002495/0.1175, allocations: 0.9904 MB / 347.5 MB, free: 6.359 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001909/0.1178, allocations: 7.938 kB / 347.5 MB, free: 6.352 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.1181, allocations: 55.8 kB / 347.6 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002625/0.1184, allocations: 67.83 kB / 347.7 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.1194, allocations: 203.3 kB / 347.9 MB, free: 6.031 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002718/0.1197, allocations: 87.78 kB / 348 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.1198, allocations: 19.98 kB / 348 MB, free: 5.926 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.12, allocations: 55.77 kB / 348 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001489/0.1201, allocations: 55.83 kB / 348.1 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002002/0.1203, allocations: 43.92 kB / 348.1 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.014e-05/0.1204, allocations: 4 kB / 348.1 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.792e-05/0.1205, allocations: 47.81 kB / 348.2 MB, free: 5.723 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.644e-05/0.1206, allocations: 8 kB / 348.2 MB, free: 5.715 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000379/0.121, allocations: 179.8 kB / 348.4 MB, free: 5.539 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.121, allocations: 4 kB / 348.4 MB, free: 5.535 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.121, allocations: 4 kB / 348.4 MB, free: 5.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.255e-05/0.121, allocations: 0 / 348.4 MB, free: 5.531 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007918/0.1218, allocations: 468.6 kB / 348.8 MB, free: 5.02 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.859e-05/0.1219, allocations: 19.91 kB / 348.8 MB, free: 5 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.976e-05/0.122, allocations: 27.67 kB / 348.9 MB, free: 4.973 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005265/0.1225, allocations: 278.4 kB / 349.1 MB, free: 4.664 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.248e-05/0.1225, allocations: 11.92 kB / 349.2 MB, free: 4.652 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.1226, allocations: 8 kB / 349.2 MB, free: 4.645 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.1231, allocations: 175.8 kB / 349.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.1231, allocations: 0 / 349.3 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.1232, allocations: 7.984 kB / 349.3 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.423e-05/0.1232, allocations: 4 kB / 349.3 MB, free: 4.434 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.1234, allocations: 47.88 kB / 349.4 MB, free: 4.387 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007391/0.1242, allocations: 395.2 kB / 349.8 MB, free: 3.941 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003971/0.1246, allocations: 134.5 kB / 349.9 MB, free: 3.773 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.896e-05/0.1246, allocations: 8.109 kB / 349.9 MB, free: 3.766 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000254/0.1249, allocations: 83.28 kB / 350 MB, free: 3.672 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 2.876e-06/0.1249, allocations: 0 / 350 MB, free: 3.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006627/0.1256, allocations: 173.2 kB / 350.2 MB, free: 3.496 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.1257, allocations: 188.3 kB / 350.3 MB, free: 3.27 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005446/0.1263, allocations: 309.8 kB / 350.7 MB, free: 2.961 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.1263, allocations: 25.7 kB / 350.7 MB, free: 2.93 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.1265, allocations: 186.7 kB / 350.9 MB, free: 2.742 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.684e-05/0.1266, allocations: 23.73 kB / 350.9 MB, free: 2.719 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.576e-06/0.1266, allocations: 0 / 350.9 MB, free: 2.719 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1267, allocations: 318.8 kB / 351.2 MB, free: 2.398 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.1269, allocations: 27.92 kB / 351.2 MB, free: 2.371 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001912/0.1271, allocations: 96.56 kB / 351.3 MB, free: 2.246 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001631/0.1273, allocations: 32 kB / 351.3 MB, free: 2.215 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1273, allocations: 4 kB / 351.4 MB, free: 2.211 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003985/0.1277, allocations: 125.5 kB / 351.5 MB, free: 2.082 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.1277, allocations: 4 kB / 351.5 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.1277, allocations: 0 / 351.5 MB, free: 2.078 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.794e-05/0.1278, allocations: 8 kB / 351.5 MB, free: 2.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.128, allocations: 23.97 kB / 351.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.383e-05/0.128, allocations: 7.938 kB / 351.5 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.1282, allocations: 16.09 kB / 351.5 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.772e-05/0.1282, allocations: 4 kB / 351.5 MB, free: 2.02 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * 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.0002341/0.1285, allocations: 157.8 kB / 351.7 MB, free: 1.855 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.1286, allocations: 73.34 kB / 351.8 MB, free: 1.777 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.661e-05/0.1287, allocations: 29.7 kB / 351.8 MB, free: 1.75 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.1288, allocations: 3.953 kB / 351.8 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.1288, allocations: 4 kB / 351.8 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.1288, allocations: 4.094 kB / 351.8 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003048/0.1291, allocations: 249.4 kB / 352 MB, free: 1.445 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.1291, allocations: 4 kB / 352 MB, free: 1.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001461/0.1293, allocations: 15.94 kB / 352.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.192e-06/0.1293, allocations: 0 / 352.1 MB, free: 1.426 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.015e-05/0.1293, allocations: 7.984 kB / 352.1 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.1293, allocations: 320 / 352.1 MB, free: 1.418 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.1293, allocations: 3.953 kB / 352.1 MB, free: 1.414 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004879/0.1298, allocations: 224.4 kB / 352.3 MB, free: 1.148 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.13, allocations: 120.7 kB / 352.4 MB, free: 1.012 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.639e-05/0.1301, allocations: 8 kB / 352.4 MB, free: 1.004 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.1302, allocations: 7.984 kB / 352.4 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.65e-05/0.1303, allocations: 8 kB / 352.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.268e-05/0.1304, allocations: 11.98 kB / 352.4 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003762/0.1307, allocations: 237.9 kB / 352.7 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of sort global known variables: time 4e-07/0.1308, allocations: 0 / 352.7 MB, free: 0.7461 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004131/0.1312, allocations: 43.98 kB / 352.7 MB, free: 0.7031 MB / 282.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: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,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 (11): * Single equations (assignments): 9 * 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.001213/0.1324, allocations: 405.8 kB / 353.1 MB, free: 424 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004258/0.1329, allocations: 83.84 kB / 353.2 MB, free: 340 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1329, allocations: 0 / 353.2 MB, free: 340 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.133, allocations: 27.98 kB / 353.2 MB, free: 312 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006056/0.1337, allocations: 73.48 kB / 353.3 MB, free: 236 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.1347, allocations: 447.1 kB / 353.7 MB, free: 15.76 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.1351, allocations: 0.7595 MB / 354.5 MB, free: 14.97 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001185/0.1352, allocations: 19.44 kB / 354.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of SimCode: time 5.33e-06/0.1353, allocations: 0 / 354.5 MB, free: 14.95 MB / 298.7 MB Notification: Performance of Templates: time 0.008467/0.1437, allocations: 3.08 MB / 357.6 MB, free: 11.89 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.BackSampleCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSampleCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSampleCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSampleFunctions.cpp:210:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp26.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.BackSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSampleCalcHelperMain.o] Error 1