Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSample") Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.052e-05/3.066e-05, allocations: 0.9844 kB / 292.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0903/0.09036, allocations: 50.41 MB / 342.6 MB, free: 6.406 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3592/0.4496, allocations: 81.37 MB / 423.9 MB, free: 12.82 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.4499, allocations: 78.33 kB / 424 MB, free: 12.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02373/0.4737, allocations: 5.916 MB / 429.9 MB, free: 7.812 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.847e-06/0.4737, allocations: 8 kB / 429.9 MB, free: 7.805 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.131e-05/0.4737, allocations: 0 / 429.9 MB, free: 7.805 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.0006882/0.4744, allocations: 473.7 kB / 430.4 MB, free: 7.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.4745, allocations: 8.031 kB / 430.4 MB, free: 7.293 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.804e-05/0.4746, allocations: 19.81 kB / 430.4 MB, free: 7.273 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004745/0.4751, allocations: 263.8 kB / 430.7 MB, free: 6.996 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.4751, allocations: 11.56 kB / 430.7 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.4751, allocations: 4 kB / 430.7 MB, free: 6.984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003489/0.4755, allocations: 150.3 kB / 430.8 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.976e-06/0.4755, allocations: 0 / 430.8 MB, free: 6.836 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.4756, allocations: 7.484 kB / 430.8 MB, free: 6.832 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.151e-06/0.4756, allocations: 3.953 kB / 430.8 MB, free: 6.828 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.4757, allocations: 28.44 kB / 430.9 MB, free: 6.809 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005896/0.4763, allocations: 367 kB / 431.2 MB, free: 6.438 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000204/0.4765, allocations: 108.7 kB / 431.3 MB, free: 6.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.321e-05/0.4766, allocations: 44.19 kB / 431.4 MB, free: 6.277 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.359e-05/0.4767, allocations: 7.953 kB / 431.4 MB, free: 6.27 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001565/0.4768, allocations: 68.89 kB / 431.5 MB, free: 6.199 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.859e-06/0.4769, allocations: 7.938 kB / 431.5 MB, free: 6.191 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003118/0.4772, allocations: 110.6 kB / 431.6 MB, free: 6.098 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.853e-05/0.4773, allocations: 136.5 kB / 431.7 MB, free: 5.934 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003504/0.4777, allocations: 236.9 kB / 431.9 MB, free: 5.738 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.4777, allocations: 29.08 kB / 432 MB, free: 5.707 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.4778, allocations: 171.6 kB / 432.1 MB, free: 5.555 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.494e-05/0.4779, allocations: 23.17 kB / 432.2 MB, free: 5.535 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.495e-06/0.4779, allocations: 3.5 kB / 432.2 MB, free: 5.535 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.4781, allocations: 314.8 kB / 432.5 MB, free: 5.219 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.017e-05/0.4781, allocations: 23.11 kB / 432.5 MB, free: 5.203 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001048/0.4783, allocations: 64.64 kB / 432.5 MB, free: 5.129 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.768e-05/0.4784, allocations: 26.83 kB / 432.6 MB, free: 5.109 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.858e-06/0.4784, allocations: 3.938 kB / 432.6 MB, free: 5.105 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002211/0.4786, allocations: 96.23 kB / 432.7 MB, free: 5.023 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.4786, allocations: 7.953 kB / 432.7 MB, free: 5.016 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.621e-06/0.4787, allocations: 4 kB / 432.7 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.4787, allocations: 0 / 432.7 MB, free: 5.012 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.94e-05/0.4788, allocations: 16.12 kB / 432.7 MB, free: 4.996 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.4788, allocations: 3.984 kB / 432.7 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.4789, allocations: 19.03 kB / 432.7 MB, free: 4.977 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.214e-05/0.479, allocations: 3.938 kB / 432.7 MB, free: 4.973 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.0001072/0.4791, allocations: 115.2 kB / 432.8 MB, free: 4.859 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.4792, allocations: 61.31 kB / 432.9 MB, free: 4.797 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.4795, allocations: 121.3 kB / 433 MB, free: 4.699 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.793e-06/0.4795, allocations: 4.062 kB / 433 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.4795, allocations: 0 / 433 MB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.272e-06/0.4795, allocations: 4 kB / 433 MB, free: 4.691 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002666/0.4798, allocations: 222.5 kB / 433.2 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.641e-06/0.4798, allocations: 0 / 433.2 MB, free: 4.449 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.73e-05/0.4799, allocations: 11.94 kB / 433.3 MB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.427e-06/0.4799, allocations: 0 / 433.3 MB, free: 4.441 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.4799, allocations: 4 kB / 433.3 MB, free: 4.438 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.639e-06/0.48, allocations: 7.938 kB / 433.3 MB, free: 4.43 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.447e-06/0.48, allocations: 3.938 kB / 433.3 MB, free: 4.426 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.4803, allocations: 181.1 kB / 433.4 MB, free: 4.234 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.4804, allocations: 115.5 kB / 433.6 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.91e-05/0.4805, allocations: 3.812 kB / 433.6 MB, free: 4.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.4806, allocations: 4 kB / 433.6 MB, free: 4.105 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.4807, allocations: 15.92 kB / 433.6 MB, free: 4.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.4807, allocations: 11.69 kB / 433.6 MB, free: 4.082 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002595/0.481, allocations: 191.7 kB / 433.8 MB, free: 3.926 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.06e-07/0.481, allocations: 0 / 433.8 MB, free: 3.926 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003559/0.4813, allocations: 35.44 kB / 433.8 MB, free: 3.895 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.001435/0.4828, allocations: 422.8 kB / 434.2 MB, free: 3.59 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002171/0.483, allocations: 63.98 kB / 434.3 MB, free: 3.543 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.4831, allocations: 0 / 434.3 MB, free: 3.543 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.791e-05/0.4831, allocations: 27.62 kB / 434.3 MB, free: 3.523 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003812/0.4835, allocations: 58.44 kB / 434.4 MB, free: 3.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005894/0.4841, allocations: 258 kB / 434.6 MB, free: 3.215 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.4846, allocations: 0.7316 MB / 435.4 MB, free: 2.461 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.4847, allocations: 19.61 kB / 435.4 MB, free: 2.441 MB / 346.7 MB Notification: Performance of SimCode: time 1.479e-06/0.4847, allocations: 7.938 kB / 435.4 MB, free: 2.434 MB / 346.7 MB Notification: Performance of Templates: time 0.005825/0.4905, allocations: 2.62 MB / 438 MB, free: 15.86 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.ShiftSampleCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSampleCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSampleCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSampleFunctions.cpp:248:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp13.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.BooleanSignals.ShiftSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.ShiftSampleCalcHelperMain.o] Error 1