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.031/2.031, allocations: 225.8 MB / 239.3 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.015e-05/3.025e-05, allocations: 4 kB / 292.1 MB, free: 8.852 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09134/0.09139, allocations: 50.42 MB / 342.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3562/0.4477, allocations: 81.43 MB / 424 MB, free: 12.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/0.448, allocations: 86.02 kB / 424.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02662/0.4746, allocations: 6.648 MB / 430.7 MB, free: 6.773 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.4747, allocations: 4 kB / 430.7 MB, free: 6.77 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.438e-05/0.4747, allocations: 4 kB / 430.7 MB, free: 6.766 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007295/0.4754, allocations: 0.493 MB / 431.2 MB, free: 6.234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.4755, allocations: 8.031 kB / 431.2 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.805e-05/0.4756, allocations: 23.72 kB / 431.2 MB, free: 6.203 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000534/0.4761, allocations: 283.5 kB / 431.5 MB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.464e-05/0.4762, allocations: 7.5 kB / 431.5 MB, free: 5.902 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.4762, allocations: 4 kB / 431.5 MB, free: 5.898 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003606/0.4766, allocations: 154.7 kB / 431.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.223e-06/0.4766, allocations: 0 / 431.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.133e-05/0.4766, allocations: 7.953 kB / 431.7 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.032e-06/0.4766, allocations: 0 / 431.7 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001185/0.4768, allocations: 42.23 kB / 431.7 MB, free: 5.707 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006744/0.4775, allocations: 386.2 kB / 432.1 MB, free: 5.324 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002258/0.4777, allocations: 117.5 kB / 432.2 MB, free: 5.203 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.674e-05/0.4778, allocations: 45.66 kB / 432.3 MB, free: 5.156 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.4779, allocations: 7.812 kB / 432.3 MB, free: 5.152 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001811/0.4781, allocations: 80.69 kB / 432.4 MB, free: 5.07 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.038e-06/0.4781, allocations: 0 / 432.4 MB, free: 5.07 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003502/0.4784, allocations: 129.5 kB / 432.5 MB, free: 4.957 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.4786, allocations: 158.2 kB / 432.6 MB, free: 4.766 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004617/0.4791, allocations: 298.1 kB / 432.9 MB, free: 4.523 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.4791, allocations: 28.83 kB / 433 MB, free: 4.492 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001419/0.4793, allocations: 184 kB / 433.1 MB, free: 4.332 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.6e-05/0.4793, allocations: 23.06 kB / 433.2 MB, free: 4.312 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.217e-06/0.4793, allocations: 3.938 kB / 433.2 MB, free: 4.309 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001577/0.4795, allocations: 318.1 kB / 433.5 MB, free: 3.992 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.033e-05/0.4796, allocations: 22.48 kB / 433.5 MB, free: 3.977 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.4797, allocations: 84.98 kB / 433.6 MB, free: 3.883 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.97e-05/0.4798, allocations: 38.73 kB / 433.6 MB, free: 3.855 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.4798, allocations: 0 / 433.6 MB, free: 3.855 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002525/0.4801, allocations: 105 kB / 433.7 MB, free: 3.766 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4801, allocations: 4 kB / 433.7 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.247e-06/0.4802, allocations: 0 / 433.7 MB, free: 3.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.579e-05/0.4802, allocations: 8.172 kB / 433.7 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001531/0.4803, allocations: 27.91 kB / 433.8 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.061e-06/0.4804, allocations: 0 / 433.8 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.4805, allocations: 11.89 kB / 433.8 MB, free: 3.715 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.669e-05/0.4805, allocations: 4 kB / 433.8 MB, free: 3.711 MB / 346.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,sample1.u,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.0001209/0.4807, allocations: 115.5 kB / 433.9 MB, free: 3.598 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001467/0.4808, allocations: 64.78 kB / 433.9 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003133/0.4812, allocations: 117.7 kB / 434.1 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.454e-06/0.4812, allocations: 4 kB / 434.1 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.931e-06/0.4812, allocations: 0 / 434.1 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.763e-06/0.4812, allocations: 0 / 434.1 MB, free: 3.43 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003235/0.4816, allocations: 262.8 kB / 434.3 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.137e-06/0.4816, allocations: 0 / 434.3 MB, free: 3.156 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001133/0.4817, allocations: 19.88 kB / 434.3 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.4817, allocations: 0 / 434.3 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.111e-05/0.4817, allocations: 11.94 kB / 434.3 MB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.973e-06/0.4818, allocations: 80 / 434.3 MB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.254e-06/0.4818, allocations: 3.984 kB / 434.4 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003528/0.4821, allocations: 192.1 kB / 434.5 MB, free: 2.922 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001669/0.4823, allocations: 119.5 kB / 434.7 MB, free: 2.797 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.892e-05/0.4824, allocations: 7.984 kB / 434.7 MB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.4825, allocations: 11.88 kB / 434.7 MB, free: 2.781 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.404e-05/0.4826, allocations: 7.984 kB / 434.7 MB, free: 2.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.815e-05/0.4826, allocations: 4 kB / 434.7 MB, free: 2.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00035/0.483, allocations: 237.7 kB / 434.9 MB, free: 2.582 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.65e-07/0.483, allocations: 0 / 434.9 MB, free: 2.582 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004365/0.4834, allocations: 58.92 kB / 435 MB, free: 2.531 MB / 346.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,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,subSample1.y,sample1.y,subSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001526/0.485, allocations: 419.6 kB / 435.4 MB, free: 2.23 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002953/0.4853, allocations: 87.7 kB / 435.5 MB, free: 2.164 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.4853, allocations: 0 / 435.5 MB, free: 2.164 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.4854, allocations: 26.88 kB / 435.5 MB, free: 2.145 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.4858, allocations: 62.86 kB / 435.6 MB, free: 2.098 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007068/0.4866, allocations: 309.3 kB / 435.9 MB, free: 1.793 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/0.487, allocations: 0.7422 MB / 436.6 MB, free: 1.031 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.011e-05/0.4871, allocations: 23.61 kB / 436.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of SimCode: time 1.59e-06/0.4872, allocations: 4 kB / 436.6 MB, free: 1.004 MB / 346.7 MB Notification: Performance of Templates: time 0.006745/0.4939, allocations: 2.919 MB / 439.6 MB, free: 14.12 MB / 362.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 -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -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:28: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SubSampleFunctions.cpp:281:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp20.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