Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadModel(Modelica): time 2.074/2.074, allocations: 224.7 MB / 241.1 MB, free: 1.684 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.086e-05/4.08e-05, allocations: 8 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1294, allocations: 50.41 MB / 345 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.00296/0.1324, allocations: 1.555 MB / 346.5 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002464/0.1349, allocations: 0.967 MB / 347.5 MB, free: 6.395 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001618/0.1351, allocations: 4 kB / 347.5 MB, free: 6.391 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003088/0.1355, allocations: 51.8 kB / 347.6 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002555/0.1357, allocations: 71.81 kB / 347.6 MB, free: 6.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009642/0.1367, allocations: 195.4 kB / 347.8 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002232/0.1369, allocations: 83.78 kB / 347.9 MB, free: 5.996 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.1371, allocations: 15.98 kB / 347.9 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001258/0.1372, allocations: 63.7 kB / 348 MB, free: 5.918 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.1374, allocations: 47.84 kB / 348 MB, free: 5.871 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001783/0.1375, allocations: 43.95 kB / 348.1 MB, free: 5.828 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.061e-05/0.1376, allocations: 8 kB / 348.1 MB, free: 5.82 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.281e-05/0.1377, allocations: 43.84 kB / 348.1 MB, free: 5.777 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.508e-05/0.1378, allocations: 8 kB / 348.1 MB, free: 5.77 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003239/0.1381, allocations: 171.9 kB / 348.3 MB, free: 5.602 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1381, allocations: 0 / 348.3 MB, free: 5.602 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1382, allocations: 0 / 348.3 MB, free: 5.602 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.146e-05/0.1382, allocations: 4 kB / 348.3 MB, free: 5.598 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.000774/0.139, allocations: 480.5 kB / 348.8 MB, free: 5.074 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.139, allocations: 8.031 kB / 348.8 MB, free: 5.066 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.92e-05/0.1391, allocations: 27.67 kB / 348.8 MB, free: 5.039 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005025/0.1396, allocations: 266.5 kB / 349.1 MB, free: 4.742 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.1397, allocations: 8 kB / 349.1 MB, free: 4.734 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.096e-05/0.1397, allocations: 4 kB / 349.1 MB, free: 4.73 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004485/0.1402, allocations: 159.5 kB / 349.2 MB, free: 4.547 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.1402, allocations: 3.938 kB / 349.2 MB, free: 4.543 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.1402, allocations: 4 kB / 349.2 MB, free: 4.539 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.1402, allocations: 4 kB / 349.2 MB, free: 4.535 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.1404, allocations: 31.94 kB / 349.3 MB, free: 4.504 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006888/0.1411, allocations: 386.4 kB / 349.6 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003691/0.1415, allocations: 119.9 kB / 349.8 MB, free: 3.926 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.346e-05/0.1416, allocations: 4 kB / 349.8 MB, free: 3.922 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002496/0.1418, allocations: 83.39 kB / 349.9 MB, free: 3.828 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 2.965e-06/0.1419, allocations: 0 / 349.9 MB, free: 3.828 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005747/0.1425, allocations: 149.5 kB / 350 MB, free: 3.676 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.1426, allocations: 158.2 kB / 350.2 MB, free: 3.484 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004912/0.1431, allocations: 297.8 kB / 350.4 MB, free: 3.188 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.074e-05/0.1431, allocations: 29.7 kB / 350.5 MB, free: 3.152 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001197/0.1433, allocations: 178.5 kB / 350.6 MB, free: 2.977 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.1433, allocations: 19.8 kB / 350.7 MB, free: 2.957 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.196e-06/0.1433, allocations: 0 / 350.7 MB, free: 2.957 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001307/0.1435, allocations: 318.8 kB / 351 MB, free: 2.637 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.1436, allocations: 23.98 kB / 351 MB, free: 2.613 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000191/0.1438, allocations: 94.72 kB / 351.1 MB, free: 2.496 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.1439, allocations: 28 kB / 351.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.144, allocations: 0 / 351.1 MB, free: 2.469 MB / 282.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003506/0.1443, allocations: 113.5 kB / 351.2 MB, free: 2.352 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.1444, allocations: 4 kB / 351.2 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.1444, allocations: 0 / 351.2 MB, free: 2.348 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.708e-05/0.1444, allocations: 7.953 kB / 351.2 MB, free: 2.34 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.1446, allocations: 23.91 kB / 351.3 MB, free: 2.316 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.289e-05/0.1446, allocations: 4.312 kB / 351.3 MB, free: 2.312 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001463/0.1448, allocations: 19.95 kB / 351.3 MB, free: 2.293 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.9e-05/0.1448, allocations: 15.92 kB / 351.3 MB, free: 2.277 MB / 282.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,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.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.0001994/0.145, allocations: 153.8 kB / 351.5 MB, free: 2.117 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001205/0.1452, allocations: 61.45 kB / 351.5 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.854e-05/0.1452, allocations: 25.7 kB / 351.5 MB, free: 2.027 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/0.1453, allocations: 7.953 kB / 351.5 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.1453, allocations: 0 / 351.5 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1453, allocations: 0 / 351.5 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003277/0.1456, allocations: 245.5 kB / 351.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1456, allocations: 0 / 351.8 MB, free: 1.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/0.1458, allocations: 12 kB / 351.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.598e-06/0.1458, allocations: 0 / 351.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.1458, allocations: 0 / 351.8 MB, free: 1.719 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.1458, allocations: 7.984 kB / 351.8 MB, free: 1.711 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.1458, allocations: 3.953 kB / 351.8 MB, free: 1.707 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000412/0.1463, allocations: 182 kB / 352 MB, free: 1.492 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001533/0.1464, allocations: 116.8 kB / 352.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.198e-05/0.1465, allocations: 7.938 kB / 352.1 MB, free: 1.352 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.1466, allocations: 4 kB / 352.1 MB, free: 1.348 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/0.1467, allocations: 11.98 kB / 352.1 MB, free: 1.336 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.1467, allocations: 4 kB / 352.1 MB, free: 1.332 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003633/0.1471, allocations: 241.9 kB / 352.4 MB, free: 1.098 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.1471, allocations: 0 / 352.4 MB, free: 1.098 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003667/0.1475, allocations: 39.98 kB / 352.4 MB, free: 1.059 MB / 282.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,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.00123/0.1487, allocations: 408.6 kB / 352.8 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003874/0.1491, allocations: 75.84 kB / 352.9 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.1492, allocations: 4 kB / 352.9 MB, free: 0.6875 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001287/0.1493, allocations: 27.98 kB / 352.9 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.1499, allocations: 60.36 kB / 353 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009426/0.1508, allocations: 417.5 kB / 353.4 MB, free: 164 kB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004175/0.1513, allocations: 0.7478 MB / 354.1 MB, free: 15.39 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.333e-05/0.1514, allocations: 23.42 kB / 354.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1514, allocations: 0 / 354.1 MB, free: 15.36 MB / 298.7 MB Notification: Performance of Templates: time 0.008017/0.1594, allocations: 2.877 MB / 357 MB, free: 12.5 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.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.SuperSampleCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSampleCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSampleCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSampleFunctions.cpp:210:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp23.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.SuperSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSampleCalcHelperMain.o] Error 1