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 2.052/2.052, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.104e-05/3.095e-05, allocations: 0 / 294.6 MB, free: 11.41 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1174, allocations: 50.42 MB / 345 MB, free: 8.949 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.Hold): time 0.003785/0.1213, allocations: 1.571 MB / 346.6 MB, free: 7.363 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003137/0.1245, allocations: 0.9826 MB / 347.5 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001895/0.1247, allocations: 4 kB / 347.5 MB, free: 6.371 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003549/0.1251, allocations: 47.8 kB / 347.6 MB, free: 6.324 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003113/0.1254, allocations: 63.83 kB / 347.6 MB, free: 6.262 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.1266, allocations: 203.4 kB / 347.8 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002734/0.1269, allocations: 83.8 kB / 347.9 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.127, allocations: 15.98 kB / 347.9 MB, free: 5.965 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.1272, allocations: 55.77 kB / 348 MB, free: 5.91 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.1274, allocations: 59.81 kB / 348.1 MB, free: 5.852 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000224/0.1277, allocations: 43.92 kB / 348.1 MB, free: 5.809 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 5.059e-05/0.1277, allocations: 4 kB / 348.1 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001102/0.1279, allocations: 43.83 kB / 348.1 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.501e-05/0.1279, allocations: 12 kB / 348.2 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004258/0.1284, allocations: 179.8 kB / 348.3 MB, free: 5.574 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.1284, allocations: 0 / 348.3 MB, free: 5.574 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.574e-06/0.1284, allocations: 0 / 348.3 MB, free: 5.574 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.095e-05/0.1284, allocations: 0 / 348.3 MB, free: 5.574 MB / 282.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.0009146/0.1294, allocations: 476.6 kB / 348.8 MB, free: 5.055 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1294, allocations: 8.031 kB / 348.8 MB, free: 5.047 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001053/0.1295, allocations: 27.67 kB / 348.8 MB, free: 5.02 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006095/0.1302, allocations: 274.4 kB / 349.1 MB, free: 4.715 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.1302, allocations: 19.88 kB / 349.1 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.1303, allocations: 8 kB / 349.1 MB, free: 4.688 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000591/0.1309, allocations: 171.2 kB / 349.3 MB, free: 4.492 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1309, allocations: 4 kB / 349.3 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.131, allocations: 0 / 349.3 MB, free: 4.488 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.131, allocations: 3.953 kB / 349.3 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002344/0.1312, allocations: 47.89 kB / 349.4 MB, free: 4.438 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009737/0.1322, allocations: 470.5 kB / 349.8 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005076/0.1328, allocations: 138.5 kB / 349.9 MB, free: 3.746 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.252e-05/0.1328, allocations: 4 kB / 350 MB, free: 3.742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003425/0.1332, allocations: 101.1 kB / 350.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 3.617e-06/0.1332, allocations: 0 / 350.1 MB, free: 3.625 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0008117/0.134, allocations: 173.5 kB / 350.2 MB, free: 3.449 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001348/0.1342, allocations: 188 kB / 350.4 MB, free: 3.223 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006764/0.1349, allocations: 297.8 kB / 350.7 MB, free: 2.926 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.835e-05/0.1349, allocations: 29.7 kB / 350.7 MB, free: 2.891 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.1351, allocations: 178.8 kB / 350.9 MB, free: 2.711 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.01e-05/0.1352, allocations: 27.8 kB / 350.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.1352, allocations: 0 / 350.9 MB, free: 2.684 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.1354, allocations: 314.8 kB / 351.2 MB, free: 2.367 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001767/0.1355, allocations: 31.98 kB / 351.3 MB, free: 2.336 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.1358, allocations: 95.64 kB / 351.4 MB, free: 2.215 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.136, allocations: 32 kB / 351.4 MB, free: 2.184 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.1361, allocations: 3.938 kB / 351.4 MB, free: 2.18 MB / 282.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005078/0.1366, allocations: 121.4 kB / 351.5 MB, free: 2.055 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/0.1366, allocations: 8 kB / 351.5 MB, free: 2.047 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.1366, allocations: 3.953 kB / 351.5 MB, free: 2.043 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.1367, allocations: 4 kB / 351.5 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002609/0.137, allocations: 28.08 kB / 351.6 MB, free: 2.012 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.258e-05/0.137, allocations: 4 kB / 351.6 MB, free: 2.008 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.1372, allocations: 11.91 kB / 351.6 MB, free: 1.996 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.125e-05/0.1372, allocations: 7.938 kB / 351.6 MB, free: 1.988 MB / 282.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.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,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.0002703/0.1375, allocations: 158.3 kB / 351.7 MB, free: 1.824 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001823/0.1377, allocations: 65.5 kB / 351.8 MB, free: 1.754 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.1378, allocations: 25.7 kB / 351.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/0.1379, allocations: 8.016 kB / 351.8 MB, free: 1.723 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1379, allocations: 4.312 kB / 351.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.1379, allocations: 4 kB / 351.8 MB, free: 1.715 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004201/0.1383, allocations: 249.4 kB / 352.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.1384, allocations: 0 / 352.1 MB, free: 1.422 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.1386, allocations: 19.92 kB / 352.1 MB, free: 1.402 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.1386, allocations: 4 kB / 352.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.1386, allocations: 0 / 352.1 MB, free: 1.398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.267e-06/0.1386, allocations: 7.984 kB / 352.1 MB, free: 1.391 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/0.1387, allocations: 3.953 kB / 352.1 MB, free: 1.387 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005977/0.1393, allocations: 220.4 kB / 352.3 MB, free: 1.125 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/0.1395, allocations: 120.8 kB / 352.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.701e-05/0.1396, allocations: 0 / 352.4 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.1398, allocations: 12 kB / 352.5 MB, free: 0.9766 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.13e-05/0.1399, allocations: 7.984 kB / 352.5 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.146e-05/0.1399, allocations: 4 kB / 352.5 MB, free: 0.9648 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004957/0.1404, allocations: 245.9 kB / 352.7 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1404, allocations: 0 / 352.7 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006032/0.1411, allocations: 36 kB / 352.7 MB, free: 0.6914 MB / 282.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.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,hold1.y,hold1.u,shiftSample1.y,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * 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.001714/0.1428, allocations: 412.5 kB / 353.2 MB, free: 404 kB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005004/0.1433, allocations: 87.83 kB / 353.2 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.1433, allocations: 0 / 353.2 MB, free: 316 kB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.1436, allocations: 32.3 kB / 353.3 MB, free: 284 kB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007026/0.1443, allocations: 80.05 kB / 353.3 MB, free: 208 kB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00122/0.1455, allocations: 443 kB / 353.8 MB, free: 15.73 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.146, allocations: 0.7518 MB / 354.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.1462, allocations: 23.44 kB / 354.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of SimCode: time 1.132e-06/0.1462, allocations: 0 / 354.6 MB, free: 14.93 MB / 298.7 MB Notification: Performance of Templates: time 0.01023/0.1564, allocations: 2.973 MB / 357.5 MB, free: 11.97 MB / 298.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 -DENABLE_OMSI -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/base" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsi/solver" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/omsicpp/" -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:29: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.HoldFunctions.cpp:210:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp24.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