Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold") Notification: Performance of loadModel(Modelica): time 1.983/1.983, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.097e-05/3.108e-05, allocations: 4 kB / 292.1 MB, free: 8.805 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08884/0.08889, allocations: 50.43 MB / 342.6 MB, free: 6.355 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3584/0.4473, allocations: 81.62 MB / 424.2 MB, free: 12.51 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/0.4476, allocations: 78.38 kB / 424.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02515/0.4728, allocations: 6.175 MB / 430.4 MB, free: 7.273 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.408e-06/0.4728, allocations: 4 kB / 430.4 MB, free: 7.27 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.448e-05/0.4729, allocations: 4 kB / 430.4 MB, free: 7.266 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.000748/0.4736, allocations: 0.4902 MB / 430.9 MB, free: 6.738 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4737, allocations: 8.031 kB / 430.9 MB, free: 6.73 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.068e-05/0.4738, allocations: 23.72 kB / 431 MB, free: 6.707 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.4743, allocations: 293.6 kB / 431.2 MB, free: 6.402 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.4744, allocations: 4 kB / 431.3 MB, free: 6.398 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.4744, allocations: 7.125 kB / 431.3 MB, free: 6.395 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003856/0.4748, allocations: 169.1 kB / 431.4 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.251e-06/0.4748, allocations: 0 / 431.4 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.4749, allocations: 0 / 431.4 MB, free: 6.227 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.189e-06/0.4749, allocations: 11.95 kB / 431.4 MB, free: 6.215 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001218/0.475, allocations: 38.17 kB / 431.5 MB, free: 6.188 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007681/0.4758, allocations: 488.8 kB / 432 MB, free: 5.703 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.4761, allocations: 144.3 kB / 432.1 MB, free: 5.547 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/0.4762, allocations: 52.69 kB / 432.1 MB, free: 5.496 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.262e-05/0.4763, allocations: 11.94 kB / 432.2 MB, free: 5.484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000204/0.4765, allocations: 98.91 kB / 432.3 MB, free: 5.383 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 3.123e-06/0.4765, allocations: 0 / 432.3 MB, free: 5.383 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003746/0.4769, allocations: 133.2 kB / 432.4 MB, free: 5.27 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.477, allocations: 188 kB / 432.6 MB, free: 5.043 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004632/0.4775, allocations: 301.7 kB / 432.9 MB, free: 4.797 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.4776, allocations: 33.27 kB / 432.9 MB, free: 4.762 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.4777, allocations: 174 kB / 433.1 MB, free: 4.609 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/0.4778, allocations: 22.61 kB / 433.1 MB, free: 4.59 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.099e-05/0.4778, allocations: 7.188 kB / 433.1 MB, free: 4.586 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.478, allocations: 310.8 kB / 433.4 MB, free: 4.273 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.492e-05/0.4781, allocations: 29.19 kB / 433.4 MB, free: 4.254 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.4782, allocations: 100.1 kB / 433.5 MB, free: 4.145 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.966e-05/0.4783, allocations: 37.23 kB / 433.6 MB, free: 4.117 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.078e-06/0.4784, allocations: 0 / 433.6 MB, free: 4.117 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002853/0.4787, allocations: 116.1 kB / 433.7 MB, free: 4.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.4787, allocations: 15.89 kB / 433.7 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.855e-06/0.4787, allocations: 0 / 433.7 MB, free: 4.004 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4787, allocations: 4 kB / 433.7 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.4789, allocations: 19.98 kB / 433.7 MB, free: 3.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.699e-06/0.4789, allocations: 8.156 kB / 433.7 MB, free: 3.973 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.4791, allocations: 7.984 kB / 433.7 MB, free: 3.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.4791, allocations: 7.938 kB / 433.7 MB, free: 3.957 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sample1.u,shiftSample1.y,hold1.u,hold1.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.0001225/0.4792, allocations: 119.6 kB / 433.9 MB, free: 3.84 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001405/0.4794, allocations: 73.12 kB / 433.9 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003071/0.4797, allocations: 125.8 kB / 434 MB, free: 3.664 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.39e-06/0.4797, allocations: 4 kB / 434 MB, free: 3.66 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.414e-06/0.4798, allocations: 4.062 kB / 434.1 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.967e-06/0.4798, allocations: 0 / 434.1 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003372/0.4801, allocations: 255.8 kB / 434.3 MB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.548e-06/0.4801, allocations: 4 kB / 434.3 MB, free: 3.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001213/0.4803, allocations: 23.61 kB / 434.3 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.325e-06/0.4803, allocations: 0 / 434.3 MB, free: 3.363 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.4803, allocations: 4 kB / 434.3 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.905e-06/0.4803, allocations: 7.891 kB / 434.3 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-06/0.4804, allocations: 7.984 kB / 434.3 MB, free: 3.344 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003901/0.4808, allocations: 219.2 kB / 434.6 MB, free: 3.113 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001722/0.4809, allocations: 123.2 kB / 434.7 MB, free: 2.984 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.481, allocations: 4 kB / 434.7 MB, free: 2.98 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.4812, allocations: 11.5 kB / 434.7 MB, free: 2.973 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.973e-05/0.4812, allocations: 7.984 kB / 434.7 MB, free: 2.965 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.4813, allocations: 4 kB / 434.7 MB, free: 2.961 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003568/0.4816, allocations: 243.5 kB / 434.9 MB, free: 2.77 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.78e-07/0.4816, allocations: 3.938 kB / 435 MB, free: 2.766 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004388/0.4821, allocations: 54.81 kB / 435 MB, free: 2.719 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,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,sample1.u,hold1.y,hold1.u,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 (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.001489/0.4836, allocations: 432.8 kB / 435.4 MB, free: 2.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003093/0.4839, allocations: 85.16 kB / 435.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.54e-06/0.484, allocations: 320 / 435.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.936e-05/0.4841, allocations: 42.86 kB / 435.6 MB, free: 2.312 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004322/0.4845, allocations: 61.69 kB / 435.6 MB, free: 2.266 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007428/0.4853, allocations: 323.8 kB / 435.9 MB, free: 1.953 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004664/0.4858, allocations: 0.7589 MB / 436.7 MB, free: 1.176 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.533e-05/0.4859, allocations: 23.42 kB / 436.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of SimCode: time 1.369e-06/0.4859, allocations: 0 / 436.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of Templates: time 0.006682/0.4926, allocations: 3.037 MB / 439.7 MB, free: 14.16 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold.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.HoldCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.HoldCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.HoldCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.HoldFunctions.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.HoldCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.HoldCalcHelperMain.o] Error 1