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 1.95/1.95, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.435e-05/2.441e-05, allocations: 4 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0898/0.08985, allocations: 50.42 MB / 342.6 MB, free: 6.379 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3877/0.4776, allocations: 81.55 MB / 424.1 MB, free: 12.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.4779, allocations: 78.45 kB / 424.2 MB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02553/0.5035, allocations: 6.185 MB / 430.4 MB, free: 7.352 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.663e-06/0.5035, allocations: 0 / 430.4 MB, free: 7.352 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.081e-05/0.5036, allocations: 15.94 kB / 430.4 MB, free: 7.34 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007271/0.5043, allocations: 494 kB / 430.9 MB, free: 6.816 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.5044, allocations: 12.03 kB / 430.9 MB, free: 6.805 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.938e-05/0.5045, allocations: 23.72 kB / 430.9 MB, free: 6.781 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005543/0.505, allocations: 297.5 kB / 431.2 MB, free: 6.473 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.5051, allocations: 7.547 kB / 431.2 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.663e-05/0.5051, allocations: 15.44 kB / 431.2 MB, free: 6.457 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003889/0.5055, allocations: 167.6 kB / 431.4 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.5055, allocations: 0 / 431.4 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.954e-05/0.5056, allocations: 4 kB / 431.4 MB, free: 6.285 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.5056, allocations: 3.953 kB / 431.4 MB, free: 6.281 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.5057, allocations: 38.05 kB / 431.4 MB, free: 6.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006997/0.5064, allocations: 413.9 kB / 431.8 MB, free: 5.844 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002662/0.5067, allocations: 134.5 kB / 432 MB, free: 5.699 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/0.5068, allocations: 62.41 kB / 432 MB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.972e-05/0.5069, allocations: 7.953 kB / 432 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.5071, allocations: 81.2 kB / 432.1 MB, free: 5.551 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 3.062e-06/0.5071, allocations: 0 / 432.1 MB, free: 5.551 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003743/0.5075, allocations: 138.5 kB / 432.2 MB, free: 5.43 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.5076, allocations: 187.5 kB / 432.4 MB, free: 5.207 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004705/0.5081, allocations: 300.9 kB / 432.7 MB, free: 4.961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.5082, allocations: 33.45 kB / 432.8 MB, free: 4.926 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.5083, allocations: 194.4 kB / 432.9 MB, free: 4.754 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.516e-05/0.5084, allocations: 19.31 kB / 433 MB, free: 4.738 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.5084, allocations: 0 / 433 MB, free: 4.738 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5086, allocations: 321 kB / 433.3 MB, free: 4.418 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.155e-05/0.5086, allocations: 24.06 kB / 433.3 MB, free: 4.402 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.5088, allocations: 106.7 kB / 433.4 MB, free: 4.281 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.31e-05/0.5089, allocations: 34.55 kB / 433.4 MB, free: 4.258 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.808e-06/0.5089, allocations: 0 / 433.4 MB, free: 4.258 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002776/0.5092, allocations: 114.3 kB / 433.5 MB, free: 4.16 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/0.5093, allocations: 11.95 kB / 433.6 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.166e-06/0.5093, allocations: 0 / 433.6 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.5093, allocations: 4 kB / 433.6 MB, free: 4.145 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.5095, allocations: 23.92 kB / 433.6 MB, free: 4.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.5095, allocations: 4.188 kB / 433.6 MB, free: 4.117 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001293/0.5097, allocations: 15.28 kB / 433.6 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.982e-05/0.5097, allocations: 8 kB / 433.6 MB, free: 4.098 MB / 346.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,sample1.u,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.0001216/0.5098, allocations: 116.9 kB / 433.7 MB, free: 3.984 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.51, allocations: 76.97 kB / 433.8 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.5103, allocations: 121.2 kB / 433.9 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.187e-06/0.5103, allocations: 3.938 kB / 433.9 MB, free: 3.805 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.498e-06/0.5104, allocations: 8.094 kB / 433.9 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.922e-06/0.5104, allocations: 0 / 433.9 MB, free: 3.797 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.5107, allocations: 252.7 kB / 434.2 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.912e-06/0.5107, allocations: 0 / 434.2 MB, free: 3.531 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001165/0.5108, allocations: 23.8 kB / 434.2 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.728e-06/0.5109, allocations: 0 / 434.2 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.5109, allocations: 8.125 kB / 434.2 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.437e-06/0.5109, allocations: 7.891 kB / 434.2 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.448e-06/0.5109, allocations: 0 / 434.2 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.5113, allocations: 227.9 kB / 434.4 MB, free: 3.258 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001864/0.5115, allocations: 125.1 kB / 434.6 MB, free: 3.125 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.79e-05/0.5116, allocations: 4 kB / 434.6 MB, free: 3.121 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000111/0.5117, allocations: 7.375 kB / 434.6 MB, free: 3.117 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.5118, allocations: 11.98 kB / 434.6 MB, free: 3.105 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.5118, allocations: 7.438 kB / 434.6 MB, free: 3.102 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003447/0.5122, allocations: 239.2 kB / 434.8 MB, free: 2.91 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.36e-07/0.5122, allocations: 0 / 434.8 MB, free: 2.91 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004241/0.5126, allocations: 54.69 kB / 434.9 MB, free: 2.863 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: 9 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 10 * 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.001493/0.5141, allocations: 431.3 kB / 435.3 MB, free: 2.559 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002934/0.5144, allocations: 87.66 kB / 435.4 MB, free: 2.492 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.204e-06/0.5145, allocations: 3.875 kB / 435.4 MB, free: 2.492 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.103e-05/0.5146, allocations: 35.23 kB / 435.4 MB, free: 2.465 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004791/0.5151, allocations: 74.45 kB / 435.5 MB, free: 2.402 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007619/0.5158, allocations: 335.2 kB / 435.8 MB, free: 2.078 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000475/0.5163, allocations: 0.7553 MB / 436.6 MB, free: 1.301 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.221e-05/0.5164, allocations: 22.81 kB / 436.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of SimCode: time 1.825e-06/0.5164, allocations: 0 / 436.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of Templates: time 0.006962/0.5234, allocations: 3.116 MB / 439.7 MB, free: 14.21 MB / 362.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 -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.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:28: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSampleFunctions.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.BackSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSampleCalcHelperMain.o] Error 1