Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSample") Notification: Performance of loadModel(Modelica): time 1.955/1.955, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.765e-05/2.776e-05, allocations: 4 kB / 292.1 MB, free: 8.867 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08901/0.08906, allocations: 50.42 MB / 342.6 MB, free: 6.426 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3567/0.4458, allocations: 81.92 MB / 424.5 MB, free: 12.26 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.4461, allocations: 78.7 kB / 424.5 MB, free: 12.21 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03686/0.483, allocations: 8.818 MB / 433.4 MB, free: 4.895 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.167e-06/0.4831, allocations: 0 / 433.4 MB, free: 4.895 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.308e-05/0.4831, allocations: 4 kB / 433.4 MB, free: 4.891 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.0007462/0.4839, allocations: 498.8 kB / 433.9 MB, free: 4.367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.4839, allocations: 12.03 kB / 433.9 MB, free: 4.355 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.565e-05/0.484, allocations: 39.5 kB / 433.9 MB, free: 4.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.4845, allocations: 269 kB / 434.2 MB, free: 4.039 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.4846, allocations: 15.94 kB / 434.2 MB, free: 4.027 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.4846, allocations: 11.81 kB / 434.2 MB, free: 4.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006113/0.4853, allocations: 288.3 kB / 434.5 MB, free: 3.773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4853, allocations: 0 / 434.5 MB, free: 3.773 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.216e-05/0.4853, allocations: 11.7 kB / 434.5 MB, free: 3.766 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.206e-05/0.4854, allocations: 4 kB / 434.5 MB, free: 3.762 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.4855, allocations: 52.8 kB / 434.5 MB, free: 3.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006511/0.4862, allocations: 382.8 kB / 434.9 MB, free: 3.344 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003522/0.4866, allocations: 172.1 kB / 435.1 MB, free: 3.188 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001727/0.4868, allocations: 86.02 kB / 435.2 MB, free: 3.117 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.756e-05/0.4868, allocations: 4 kB / 435.2 MB, free: 3.113 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001633/0.487, allocations: 78.02 kB / 435.3 MB, free: 3.035 MB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.634e-06/0.487, allocations: 0 / 435.3 MB, free: 3.035 MB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004569/0.4875, allocations: 182.1 kB / 435.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.4876, allocations: 138.5 kB / 435.6 MB, free: 2.723 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003666/0.488, allocations: 248.2 kB / 435.8 MB, free: 2.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.488, allocations: 32.7 kB / 435.8 MB, free: 2.484 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001145/0.4881, allocations: 176.6 kB / 436 MB, free: 2.324 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.81e-05/0.4882, allocations: 34.31 kB / 436 MB, free: 2.297 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.589e-05/0.4883, allocations: 3.688 kB / 436 MB, free: 2.297 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.4884, allocations: 318.5 kB / 436.4 MB, free: 1.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.902e-05/0.4885, allocations: 35.41 kB / 436.4 MB, free: 1.953 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.4888, allocations: 163.8 kB / 436.6 MB, free: 1.754 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.4889, allocations: 62.02 kB / 436.6 MB, free: 1.707 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.055e-06/0.4889, allocations: 0 / 436.6 MB, free: 1.707 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004395/0.4894, allocations: 202.2 kB / 436.8 MB, free: 1.535 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.816e-05/0.4894, allocations: 4 kB / 436.8 MB, free: 1.531 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.055e-05/0.4894, allocations: 4 kB / 436.8 MB, free: 1.527 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/0.4895, allocations: 8 kB / 436.8 MB, free: 1.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.4896, allocations: 23.92 kB / 436.9 MB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.4896, allocations: 11.92 kB / 436.9 MB, free: 1.484 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001674/0.4898, allocations: 19.09 kB / 436.9 MB, free: 1.469 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.717e-05/0.4899, allocations: 15.94 kB / 436.9 MB, free: 1.457 MB / 346.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.table1.combiTimeTable.nextTimeEvent,sample1.u,table1.combiTimeTable.nextTimeEvent,$PRE.table1.combiTimeTable.nextTimeEventScaled,table1.combiTimeTable.nextTimeEventScaled,and1.y,and1.u2,and1.u1,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.0001343/0.49, allocations: 135.1 kB / 437 MB, free: 1.328 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000256/0.4903, allocations: 131.4 kB / 437.2 MB, free: 1.211 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002748/0.4906, allocations: 110.6 kB / 437.3 MB, free: 1.121 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/0.4906, allocations: 4 kB / 437.3 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.194e-06/0.4906, allocations: 0 / 437.3 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.643e-06/0.4906, allocations: 0 / 437.3 MB, free: 1.117 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003026/0.4909, allocations: 256.6 kB / 437.5 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.274e-06/0.491, allocations: 0 / 437.5 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.525e-05/0.491, allocations: 11.94 kB / 437.5 MB, free: 0.8398 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.4911, allocations: 7.953 kB / 437.5 MB, free: 0.832 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.814e-05/0.4911, allocations: 7.875 kB / 437.5 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.177e-05/0.4911, allocations: 8.219 kB / 437.6 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.719e-06/0.4911, allocations: 192 / 437.6 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004487/0.4916, allocations: 255.8 kB / 437.8 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001621/0.4918, allocations: 127.3 kB / 437.9 MB, free: 452 kB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.148e-05/0.4918, allocations: 7.938 kB / 437.9 MB, free: 448 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.492, allocations: 7.5 kB / 437.9 MB, free: 444 kB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.492, allocations: 7.984 kB / 438 MB, free: 436 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.492, allocations: 11.06 kB / 438 MB, free: 428 kB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002681/0.4923, allocations: 190.5 kB / 438.1 MB, free: 268 kB / 346.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.4923, allocations: 0 / 438.1 MB, free: 268 kB / 346.7 MB Notification: Performance of remove unused functions: time 0.00045/0.4928, allocations: 57.98 kB / 438.2 MB, free: 220 kB / 346.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,sample1.u,table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled,upSample1.y,upSample1.b_super,upSample1.u_super,upSample2.y,upSample2.b_super,upSample2.u_super,and1.u1,and1.u2,and1.y,sample1.y,upSample1.u,upSample1.dummy,upSample1.b,upSample2.u,upSample2.dummy,upSample2.b) * Number of discrete states: 2 (table1.combiTimeTable.nextTimeEvent,table1.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * 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.001473/0.4943, allocations: 424.8 kB / 438.6 MB, free: 15.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003619/0.4947, allocations: 142.8 kB / 438.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.543e-06/0.4947, allocations: 0 / 438.8 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.628e-05/0.4948, allocations: 30.86 kB / 438.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004847/0.4953, allocations: 98.5 kB / 438.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007362/0.496, allocations: 315.5 kB / 439.2 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.4965, allocations: 0.7624 MB / 440 MB, free: 14.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.179e-05/0.4966, allocations: 27.42 kB / 440 MB, free: 14.6 MB / 362.7 MB Notification: Performance of SimCode: time 1.529e-06/0.4967, allocations: 0 / 440 MB, free: 14.6 MB / 362.7 MB Notification: Performance of Templates: time 0.007008/0.5037, allocations: 3.203 MB / 443.2 MB, free: 11.43 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.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 -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.UpSampleCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSampleCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSampleCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSampleFunctions.cpp:248:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp15.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.UpSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.UpSampleCalcHelperMain.o] Error 1