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 1.873/1.873, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.54e-05/2.553e-05, allocations: 0 / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08955/0.08959, allocations: 50.42 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4005/0.4901, allocations: 81.38 MB / 423.9 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.4904, allocations: 81.55 kB / 424 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02407/0.5145, allocations: 6.061 MB / 430.1 MB, free: 7.613 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.5e-06/0.5146, allocations: 0 / 430.1 MB, free: 7.613 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.5146, allocations: 4 kB / 430.1 MB, free: 7.609 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.0006842/0.5153, allocations: 0.4948 MB / 430.6 MB, free: 7.078 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.5154, allocations: 12.03 kB / 430.6 MB, free: 7.066 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.202e-05/0.5154, allocations: 23.72 kB / 430.6 MB, free: 7.043 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005129/0.516, allocations: 293.5 kB / 430.9 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.541e-05/0.516, allocations: 7.875 kB / 430.9 MB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.5161, allocations: 11.92 kB / 430.9 MB, free: 6.719 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003558/0.5164, allocations: 154.6 kB / 431.1 MB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.889e-06/0.5165, allocations: 0 / 431.1 MB, free: 6.566 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.155e-05/0.5165, allocations: 3.953 kB / 431.1 MB, free: 6.562 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.398e-06/0.5165, allocations: 4 kB / 431.1 MB, free: 6.559 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.5166, allocations: 35.3 kB / 431.1 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006531/0.5173, allocations: 396.5 kB / 431.5 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002272/0.5175, allocations: 110.9 kB / 431.6 MB, free: 6.023 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.826e-05/0.5176, allocations: 46.16 kB / 431.6 MB, free: 5.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.5177, allocations: 8 kB / 431.7 MB, free: 5.973 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001653/0.5179, allocations: 79.08 kB / 431.7 MB, free: 5.895 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.772e-06/0.5179, allocations: 0 / 431.7 MB, free: 5.895 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.000341/0.5182, allocations: 124.1 kB / 431.9 MB, free: 5.785 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.5184, allocations: 162.1 kB / 432 MB, free: 5.594 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000441/0.5188, allocations: 295.5 kB / 432.3 MB, free: 5.352 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.44e-05/0.5189, allocations: 33.14 kB / 432.3 MB, free: 5.316 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001164/0.519, allocations: 180.1 kB / 432.5 MB, free: 5.16 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.519, allocations: 18.73 kB / 432.5 MB, free: 5.145 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.982e-06/0.5191, allocations: 3.938 kB / 432.5 MB, free: 5.141 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5192, allocations: 314.7 kB / 432.8 MB, free: 4.828 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.688e-05/0.5193, allocations: 18.88 kB / 432.9 MB, free: 4.816 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001456/0.5195, allocations: 97.34 kB / 433 MB, free: 4.711 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.376e-05/0.5196, allocations: 26.98 kB / 433 MB, free: 4.691 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.152e-06/0.5196, allocations: 0 / 433 MB, free: 4.691 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002449/0.5198, allocations: 110.6 kB / 433.1 MB, free: 4.598 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.853e-05/0.5199, allocations: 8 kB / 433.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.035e-06/0.5199, allocations: 0 / 433.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.461e-05/0.5199, allocations: 4 kB / 433.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.5201, allocations: 19.92 kB / 433.1 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.5201, allocations: 4 kB / 433.1 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002391/0.5204, allocations: 11.09 kB / 433.1 MB, free: 4.555 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.5204, allocations: 4 kB / 433.1 MB, free: 4.551 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,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.0001697/0.5206, allocations: 120.9 kB / 433.3 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000221/0.5208, allocations: 65.22 kB / 433.3 MB, free: 4.363 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005219/0.5214, allocations: 119.5 kB / 433.4 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.63e-06/0.5214, allocations: 0 / 433.4 MB, free: 4.266 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.464e-06/0.5214, allocations: 4 kB / 433.4 MB, free: 4.262 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.331e-06/0.5215, allocations: 0 / 433.4 MB, free: 4.262 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004693/0.5219, allocations: 249.2 kB / 433.7 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.906e-06/0.522, allocations: 4 kB / 433.7 MB, free: 3.996 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.5222, allocations: 20.11 kB / 433.7 MB, free: 3.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.957e-06/0.5222, allocations: 7.938 kB / 433.7 MB, free: 3.969 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.954e-05/0.5223, allocations: 11.89 kB / 433.7 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.521e-06/0.5223, allocations: 0 / 433.7 MB, free: 3.957 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.989e-06/0.5223, allocations: 4 kB / 433.7 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005972/0.5229, allocations: 191.5 kB / 433.9 MB, free: 3.754 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.5233, allocations: 119.2 kB / 434 MB, free: 3.629 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.5234, allocations: 4 kB / 434 MB, free: 3.625 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002213/0.5236, allocations: 11.3 kB / 434 MB, free: 3.617 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.132e-05/0.5237, allocations: 4 kB / 434.1 MB, free: 3.613 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.449e-05/0.5238, allocations: 7.984 kB / 434.1 MB, free: 3.605 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006233/0.5244, allocations: 239 kB / 434.3 MB, free: 3.418 MB / 346.7 MB Notification: Performance of sort global known variables: time 1e-06/0.5244, allocations: 0 / 434.3 MB, free: 3.418 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007799/0.5252, allocations: 46.62 kB / 434.3 MB, free: 3.379 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,shiftSample1.y,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 (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.001676/0.5269, allocations: 431.3 kB / 434.8 MB, free: 3.066 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.5272, allocations: 86.95 kB / 434.8 MB, free: 3 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.138e-06/0.5272, allocations: 4 kB / 434.8 MB, free: 2.996 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.6e-05/0.5273, allocations: 26.44 kB / 434.9 MB, free: 2.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003755/0.5277, allocations: 52.05 kB / 434.9 MB, free: 2.941 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006549/0.5284, allocations: 320.6 kB / 435.2 MB, free: 2.629 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005118/0.5289, allocations: 0.7505 MB / 436 MB, free: 1.859 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001113/0.5291, allocations: 23.42 kB / 436 MB, free: 1.836 MB / 346.7 MB Notification: Performance of SimCode: time 1.584e-06/0.5291, allocations: 0 / 436 MB, free: 1.836 MB / 346.7 MB Notification: Performance of Templates: time 0.006456/0.5356, allocations: 2.939 MB / 439 MB, free: 14.93 MB / 362.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 -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.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:28: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSampleFunctions.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.ShiftSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.ShiftSampleCalcHelperMain.o] Error 1