Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample") Notification: Performance of loadModel(Modelica): time 2.361/2.361, allocations: 224.7 MB / 241.1 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.263e-05/3.254e-05, allocations: 4 kB / 294.6 MB, free: 11.42 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 50.41 MB / 345 MB, free: 8.965 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample): time 0.003085/0.1193, allocations: 1.625 MB / 346.6 MB, free: 7.324 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002461/0.1218, allocations: 1.018 MB / 347.6 MB, free: 6.301 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001624/0.1221, allocations: 11.94 kB / 347.6 MB, free: 6.289 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.1224, allocations: 47.8 kB / 347.7 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.1227, allocations: 71.77 kB / 347.7 MB, free: 6.172 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.1238, allocations: 239.3 kB / 348 MB, free: 5.938 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002444/0.1241, allocations: 103.8 kB / 348.1 MB, free: 5.836 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001126/0.1242, allocations: 19.98 kB / 348.1 MB, free: 5.816 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.1243, allocations: 67.77 kB / 348.2 MB, free: 5.75 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001669/0.1245, allocations: 75.73 kB / 348.2 MB, free: 5.676 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001904/0.1247, allocations: 47.91 kB / 348.3 MB, free: 5.629 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.811e-05/0.1248, allocations: 8 kB / 348.3 MB, free: 5.621 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 9.138e-05/0.1249, allocations: 51.83 kB / 348.3 MB, free: 5.57 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.657e-05/0.125, allocations: 12 kB / 348.4 MB, free: 5.559 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003645/0.1253, allocations: 207.8 kB / 348.6 MB, free: 5.355 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1253, allocations: 0 / 348.6 MB, free: 5.355 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1254, allocations: 4 kB / 348.6 MB, free: 5.352 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.1254, allocations: 0 / 348.6 MB, free: 5.352 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0008645/0.1263, allocations: 0.4964 MB / 349.1 MB, free: 4.801 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.1263, allocations: 11.97 kB / 349.1 MB, free: 4.789 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.306e-05/0.1264, allocations: 35.58 kB / 349.1 MB, free: 4.754 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.1269, allocations: 298.4 kB / 349.4 MB, free: 4.426 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.605e-05/0.127, allocations: 12 kB / 349.4 MB, free: 4.414 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.127, allocations: 12 kB / 349.4 MB, free: 4.402 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008025/0.1279, allocations: 311.8 kB / 349.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.382e-05/0.1279, allocations: 0 / 349.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.1279, allocations: 15.89 kB / 349.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1279, allocations: 0 / 349.7 MB, free: 4.055 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002715/0.1282, allocations: 75.88 kB / 349.8 MB, free: 3.98 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007478/0.129, allocations: 410.3 kB / 350.2 MB, free: 3.523 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005569/0.1296, allocations: 192 kB / 350.4 MB, free: 3.309 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.633e-05/0.1296, allocations: 11.94 kB / 350.4 MB, free: 3.297 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002356/0.1299, allocations: 83.73 kB / 350.5 MB, free: 3.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=22): time 3.166e-06/0.1299, allocations: 3.938 kB / 350.5 MB, free: 3.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=22): time 0.000841/0.1307, allocations: 257.1 kB / 350.8 MB, free: 2.941 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000135/0.1309, allocations: 174.2 kB / 350.9 MB, free: 2.734 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005152/0.1314, allocations: 310 kB / 351.2 MB, free: 2.426 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.243e-05/0.1315, allocations: 33.7 kB / 351.3 MB, free: 2.387 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.1316, allocations: 183.1 kB / 351.4 MB, free: 2.207 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.536e-05/0.1317, allocations: 23.7 kB / 351.5 MB, free: 2.184 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.572e-05/0.1317, allocations: 8 kB / 351.5 MB, free: 2.176 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1318, allocations: 318.8 kB / 351.8 MB, free: 1.855 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001554/0.132, allocations: 44.45 kB / 351.8 MB, free: 1.809 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.1323, allocations: 188.1 kB / 352 MB, free: 1.562 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.1325, allocations: 63.92 kB / 352.1 MB, free: 1.5 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.1325, allocations: 4 kB / 352.1 MB, free: 1.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005934/0.1331, allocations: 217.2 kB / 352.3 MB, free: 1.277 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.1332, allocations: 12.33 kB / 352.3 MB, free: 1.266 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.1332, allocations: 4 kB / 352.3 MB, free: 1.262 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.425e-05/0.1332, allocations: 8 kB / 352.3 MB, free: 1.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.1335, allocations: 36.45 kB / 352.3 MB, free: 1.219 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/0.1335, allocations: 11.92 kB / 352.4 MB, free: 1.207 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001919/0.1337, allocations: 23.84 kB / 352.4 MB, free: 1.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.67e-05/0.1338, allocations: 12 kB / 352.4 MB, free: 1.172 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,sum.y,sum.u[2],sum.u[1],upSample2.u_super,upSample2.b_super,$CLKPRE.upSample2.b_super,upSample2.y,upSample1.u_super,upSample1.b_super,$CLKPRE.upSample1.b_super,upSample1.y,upSample2.b,$CLKPRE.upSample2.b,upSample2.dummy,upSample2.u,upSample1.b,$CLKPRE.upSample1.b,upSample1.dummy,upSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 28 * 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.0002497/0.134, allocations: 179.9 kB / 352.6 MB, free: 0.9883 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003211/0.1344, allocations: 137.2 kB / 352.7 MB, free: 0.8477 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.1345, allocations: 37.69 kB / 352.7 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.053e-05/0.1345, allocations: 4 kB / 352.7 MB, free: 0.8047 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.1345, allocations: 3.938 kB / 352.7 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.1345, allocations: 4 kB / 352.7 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003114/0.1349, allocations: 265.4 kB / 353 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1349, allocations: 0 / 353 MB, free: 500 kB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002278/0.1351, allocations: 23.98 kB / 353 MB, free: 476 kB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.1351, allocations: 4 kB / 353 MB, free: 472 kB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.463e-05/0.1352, allocations: 12.3 kB / 353 MB, free: 460 kB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-06/0.1352, allocations: 3.953 kB / 353.1 MB, free: 456 kB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.1352, allocations: 7.938 kB / 353.1 MB, free: 448 kB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005965/0.1358, allocations: 267.1 kB / 353.3 MB, free: 148 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.136, allocations: 132.6 kB / 353.4 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.382e-05/0.1361, allocations: 4 kB / 353.5 MB, free: 15.99 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001479/0.1362, allocations: 11.94 kB / 353.5 MB, free: 15.98 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.557e-05/0.1363, allocations: 7.984 kB / 353.5 MB, free: 15.97 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.1364, allocations: 16 kB / 353.5 MB, free: 15.96 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003967/0.1368, allocations: 245.9 kB / 353.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1368, allocations: 0 / 353.7 MB, free: 15.71 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000442/0.1373, allocations: 52 kB / 353.8 MB, free: 15.66 MB / 298.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: 20 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,sum.u[1],sum.u[2],sum.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * 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.001224/0.1385, allocations: 427 kB / 354.2 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0005406/0.139, allocations: 143.8 kB / 354.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1391, allocations: 0 / 354.3 MB, free: 15.21 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001274/0.1392, allocations: 32.98 kB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000674/0.1399, allocations: 122 kB / 354.5 MB, free: 15.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001141/0.141, allocations: 0.511 MB / 355 MB, free: 14.52 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.1415, allocations: 0.7794 MB / 355.8 MB, free: 13.71 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001018/0.1416, allocations: 27.42 kB / 355.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of SimCode: time 6.51e-07/0.1416, allocations: 0 / 355.8 MB, free: 13.68 MB / 298.7 MB Notification: Performance of Templates: time 0.008887/0.1505, allocations: 3.569 MB / 359.4 MB, free: 10.12 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSample.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.UpSampleCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSampleCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSampleCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSampleFunctions.cpp:210:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp27.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.UpSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.IntegerSignals.UpSampleCalcHelperMain.o] Error 1