Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample") Notification: Performance of loadModel(Modelica): time 2.103/2.103, allocations: 224.7 MB / 241.1 MB, free: 1.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.615e-05/2.613e-05, allocations: 0 / 294.6 MB, free: 11.38 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1144, allocations: 50.41 MB / 345 MB, free: 8.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample): time 0.002896/0.1174, allocations: 1.551 MB / 346.5 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.1198, allocations: 0.9476 MB / 347.5 MB, free: 6.406 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001674/0.12, allocations: 4 kB / 347.5 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003032/0.1203, allocations: 55.8 kB / 347.5 MB, free: 6.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002582/0.1206, allocations: 67.81 kB / 347.6 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009495/0.1216, allocations: 191.4 kB / 347.8 MB, free: 6.094 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.1218, allocations: 79.84 kB / 347.9 MB, free: 6.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1219, allocations: 19.98 kB / 347.9 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.1221, allocations: 51.78 kB / 347.9 MB, free: 5.945 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001387/0.1222, allocations: 55.81 kB / 348 MB, free: 5.891 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.1224, allocations: 39.92 kB / 348 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.811e-05/0.1225, allocations: 11.94 kB / 348 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.367e-05/0.1226, allocations: 47.83 kB / 348.1 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.6e-05/0.1226, allocations: 8 kB / 348.1 MB, free: 5.785 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000323/0.1229, allocations: 167.9 kB / 348.3 MB, free: 5.621 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.123, allocations: 0 / 348.3 MB, free: 5.621 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.123, allocations: 0 / 348.3 MB, free: 5.621 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.123, allocations: 4 kB / 348.3 MB, free: 5.617 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.0007701/0.1238, allocations: 472.5 kB / 348.7 MB, free: 5.102 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/0.1239, allocations: 8.031 kB / 348.7 MB, free: 5.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.929e-05/0.1239, allocations: 31.61 kB / 348.8 MB, free: 5.062 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004859/0.1244, allocations: 266.5 kB / 349 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.61e-05/0.1245, allocations: 8 kB / 349 MB, free: 4.758 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.685e-05/0.1245, allocations: 4 kB / 349 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004467/0.125, allocations: 155.6 kB / 349.2 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.125, allocations: 0 / 349.2 MB, free: 4.574 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.309e-05/0.125, allocations: 4 kB / 349.2 MB, free: 4.57 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.125, allocations: 3.938 kB / 349.2 MB, free: 4.566 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000169/0.1252, allocations: 39.92 kB / 349.2 MB, free: 4.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006893/0.1259, allocations: 382.4 kB / 349.6 MB, free: 4.098 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000363/0.1263, allocations: 119.9 kB / 349.7 MB, free: 3.953 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.491e-05/0.1264, allocations: 4 kB / 349.7 MB, free: 3.949 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/0.1266, allocations: 79.45 kB / 349.8 MB, free: 3.859 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 4.99e-06/0.1267, allocations: 3.938 kB / 349.8 MB, free: 3.855 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005909/0.1273, allocations: 153.4 kB / 350 MB, free: 3.699 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.1274, allocations: 162.2 kB / 350.1 MB, free: 3.504 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005003/0.1279, allocations: 297.8 kB / 350.4 MB, free: 3.207 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.137e-05/0.1279, allocations: 29.7 kB / 350.4 MB, free: 3.172 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001177/0.1281, allocations: 178.5 kB / 350.6 MB, free: 2.996 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.54e-05/0.1281, allocations: 15.81 kB / 350.6 MB, free: 2.98 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.705e-06/0.1281, allocations: 0 / 350.6 MB, free: 2.98 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.1283, allocations: 323.1 kB / 350.9 MB, free: 2.656 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001144/0.1284, allocations: 20 kB / 351 MB, free: 2.637 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001703/0.1286, allocations: 90.78 kB / 351.1 MB, free: 2.523 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001341/0.1287, allocations: 36.05 kB / 351.1 MB, free: 2.488 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.1287, allocations: 0 / 351.1 MB, free: 2.488 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000346/0.1291, allocations: 105.5 kB / 351.2 MB, free: 2.379 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.1291, allocations: 8 kB / 351.2 MB, free: 2.371 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.1291, allocations: 3.984 kB / 351.2 MB, free: 2.367 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.1292, allocations: 7.953 kB / 351.2 MB, free: 2.359 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001753/0.1294, allocations: 15.98 kB / 351.2 MB, free: 2.344 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.1294, allocations: 8.125 kB / 351.2 MB, free: 2.336 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001533/0.1295, allocations: 11.89 kB / 351.2 MB, free: 2.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1296, allocations: 11.92 kB / 351.3 MB, free: 2.312 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,subSample1.y,subSample1.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.0001992/0.1298, allocations: 157.8 kB / 351.4 MB, free: 2.148 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.1299, allocations: 61.45 kB / 351.5 MB, free: 2.082 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.676e-05/0.13, allocations: 25.7 kB / 351.5 MB, free: 2.059 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/0.13, allocations: 7.953 kB / 351.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.13, allocations: 0 / 351.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.503e-06/0.1301, allocations: 11.98 kB / 351.5 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002882/0.1304, allocations: 241.5 kB / 351.8 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.1304, allocations: 0 / 351.8 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1305, allocations: 12 kB / 351.8 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1305, allocations: 0 / 351.8 MB, free: 1.742 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.1305, allocations: 3.984 kB / 351.8 MB, free: 1.738 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.091e-06/0.1306, allocations: 4 kB / 351.8 MB, free: 1.734 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.1306, allocations: 3.953 kB / 351.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004029/0.131, allocations: 182 kB / 352 MB, free: 1.516 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001735/0.1312, allocations: 120.8 kB / 352.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.987e-05/0.1312, allocations: 3.953 kB / 352.1 MB, free: 1.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.1314, allocations: 8.062 kB / 352.1 MB, free: 1.367 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.1314, allocations: 11.98 kB / 352.1 MB, free: 1.355 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/0.1315, allocations: 8 kB / 352.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003676/0.1319, allocations: 241.9 kB / 352.3 MB, free: 1.113 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1319, allocations: 0 / 352.3 MB, free: 1.113 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003654/0.1322, allocations: 36 kB / 352.4 MB, free: 1.078 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,subSample1.y,sample1.y,subSample1.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.001239/0.1335, allocations: 413 kB / 352.8 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004111/0.1339, allocations: 67.91 kB / 352.8 MB, free: 0.7188 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.562e-06/0.134, allocations: 7.938 kB / 352.9 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001252/0.1341, allocations: 27.98 kB / 352.9 MB, free: 0.6836 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.1346, allocations: 56.36 kB / 352.9 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009614/0.1356, allocations: 418.4 kB / 353.3 MB, free: 188 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004277/0.1361, allocations: 0.7478 MB / 354.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.562e-05/0.1362, allocations: 23.42 kB / 354.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of SimCode: time 9.71e-07/0.1362, allocations: 0 / 354.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of Templates: time 0.007732/0.1439, allocations: 2.874 MB / 357 MB, free: 12.53 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSample.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.SubSampleCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSampleCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSampleCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSampleFunctions.cpp:210:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp23.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.SubSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSampleCalcHelperMain.o] Error 1