Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.Hold") Notification: Performance of loadModel(Modelica): time 1.889/1.889, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.753e-05/2.763e-05, allocations: 1.562 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.123/0.1231, allocations: 50.42 MB / 342.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3566/0.4797, allocations: 81.54 MB / 424.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/0.48, allocations: 82.19 kB / 424.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0244/0.5044, allocations: 5.996 MB / 430.2 MB, free: 7.535 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.092e-06/0.5045, allocations: 0 / 430.2 MB, free: 7.535 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.329e-05/0.5045, allocations: 8 kB / 430.2 MB, free: 7.527 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.0006923/0.5052, allocations: 473.8 kB / 430.6 MB, free: 7.023 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.5053, allocations: 8.031 kB / 430.6 MB, free: 7.016 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.5053, allocations: 27.7 kB / 430.7 MB, free: 6.988 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004881/0.5058, allocations: 262 kB / 430.9 MB, free: 6.715 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.5059, allocations: 4 kB / 430.9 MB, free: 6.711 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.5059, allocations: 7.062 kB / 430.9 MB, free: 6.707 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003675/0.5063, allocations: 156.8 kB / 431.1 MB, free: 6.551 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.984e-06/0.5063, allocations: 7.938 kB / 431.1 MB, free: 6.543 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.5064, allocations: 7.25 kB / 431.1 MB, free: 6.539 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.482e-06/0.5064, allocations: 3.953 kB / 431.1 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.5065, allocations: 33.73 kB / 431.1 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006856/0.5072, allocations: 457.6 kB / 431.6 MB, free: 6.051 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002429/0.5075, allocations: 125.6 kB / 431.7 MB, free: 5.91 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.5076, allocations: 54.67 kB / 431.8 MB, free: 5.855 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.5076, allocations: 3.938 kB / 431.8 MB, free: 5.855 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001932/0.5078, allocations: 99.61 kB / 431.9 MB, free: 5.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=11): time 2.725e-06/0.5079, allocations: 0 / 431.9 MB, free: 5.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003522/0.5082, allocations: 129.5 kB / 432 MB, free: 5.637 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.5084, allocations: 166.2 kB / 432.2 MB, free: 5.438 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003588/0.5087, allocations: 238.9 kB / 432.4 MB, free: 5.246 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.312e-05/0.5088, allocations: 29.7 kB / 432.4 MB, free: 5.211 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001143/0.5089, allocations: 172.1 kB / 432.6 MB, free: 5.055 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.816e-05/0.509, allocations: 31.05 kB / 432.6 MB, free: 5.027 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.929e-06/0.509, allocations: 11.19 kB / 432.6 MB, free: 5.02 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.5092, allocations: 310.8 kB / 432.9 MB, free: 4.707 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.613e-05/0.5092, allocations: 22.12 kB / 432.9 MB, free: 4.695 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001201/0.5094, allocations: 76.73 kB / 433 MB, free: 4.605 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.804e-05/0.5095, allocations: 32.58 kB / 433.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.386e-06/0.5095, allocations: 0 / 433.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002583/0.5098, allocations: 108.9 kB / 433.2 MB, free: 4.488 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.5098, allocations: 7.953 kB / 433.2 MB, free: 4.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.249e-06/0.5098, allocations: 4 kB / 433.2 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.5098, allocations: 0 / 433.2 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001169/0.51, allocations: 23.67 kB / 433.2 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.282e-06/0.51, allocations: 0 / 433.2 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.5101, allocations: 12.16 kB / 433.2 MB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.5101, allocations: 4 kB / 433.2 MB, free: 4.441 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.0001119/0.5103, allocations: 115.6 kB / 433.3 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001392/0.5104, allocations: 73.03 kB / 433.4 MB, free: 4.254 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002708/0.5107, allocations: 109.8 kB / 433.5 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.277e-06/0.5107, allocations: 4 kB / 433.5 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.53e-06/0.5107, allocations: 0 / 433.5 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.357e-06/0.5107, allocations: 4.062 kB / 433.5 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.5111, allocations: 239.2 kB / 433.7 MB, free: 3.902 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.741e-06/0.5111, allocations: 8 kB / 433.8 MB, free: 3.895 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.992e-05/0.5111, allocations: 7.938 kB / 433.8 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.047e-06/0.5112, allocations: 4 kB / 433.8 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/0.5112, allocations: 0 / 433.8 MB, free: 3.883 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/0.5112, allocations: 11.94 kB / 433.8 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.143e-06/0.5112, allocations: 0 / 433.8 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003592/0.5116, allocations: 219.4 kB / 434 MB, free: 3.641 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001525/0.5118, allocations: 115.4 kB / 434.1 MB, free: 3.516 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.5118, allocations: 7.438 kB / 434.1 MB, free: 3.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.5119, allocations: 7.984 kB / 434.1 MB, free: 3.504 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.173e-05/0.512, allocations: 8 kB / 434.1 MB, free: 3.496 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/0.512, allocations: 11.67 kB / 434.1 MB, free: 3.488 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002704/0.5123, allocations: 190.4 kB / 434.3 MB, free: 3.332 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.5123, allocations: 0 / 434.3 MB, free: 3.332 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003748/0.5127, allocations: 38.06 kB / 434.4 MB, free: 3.301 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.001466/0.5142, allocations: 418.8 kB / 434.8 MB, free: 3.008 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002544/0.5145, allocations: 72.42 kB / 434.8 MB, free: 2.953 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.109e-06/0.5145, allocations: 0 / 434.8 MB, free: 2.953 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.24e-05/0.5146, allocations: 33.3 kB / 434.9 MB, free: 2.93 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000404/0.515, allocations: 62.83 kB / 434.9 MB, free: 2.879 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006358/0.5157, allocations: 273.6 kB / 435.2 MB, free: 2.605 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004551/0.5161, allocations: 0.7355 MB / 435.9 MB, free: 1.848 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.386e-05/0.5162, allocations: 26.23 kB / 436 MB, free: 1.824 MB / 346.7 MB Notification: Performance of SimCode: time 1.92e-06/0.5162, allocations: 0 / 436 MB, free: 1.824 MB / 346.7 MB Notification: Performance of Templates: time 0.006171/0.5224, allocations: 2.699 MB / 438.7 MB, free: 15.16 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.HoldCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.HoldCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.HoldCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.HoldFunctions.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.HoldCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.HoldCalcHelperMain.o] Error 1