Running command: translateModel(ModelicaTest.Blocks.IntegerTable,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegerTable") Notification: Performance of loadModel(ModelicaTest): time 2.431/2.431, allocations: 270 MB / 282.7 MB, free: 1.746 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.415e-05/3.425e-05, allocations: 4 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3255, allocations: 61.88 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1383/0.4638, allocations: 90.01 MB / 498.8 MB, free: 0.6172 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001936/0.4641, allocations: 67.97 kB / 498.9 MB, free: 0.5508 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05624/0.5203, allocations: 13.24 MB / 0.5001 GB, free: 3.289 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5204, allocations: 0 / 0.5001 GB, free: 3.289 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.232e-05/0.5205, allocations: 8 kB / 0.5002 GB, free: 3.281 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001378/0.5218, allocations: 0.7474 MB / 0.5009 GB, free: 2.453 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.5219, allocations: 12.02 kB / 0.5009 GB, free: 2.441 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.5221, allocations: 55.38 kB / 0.5009 GB, free: 2.387 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.5232, allocations: 487.2 kB / 0.5014 GB, free: 1.871 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/0.5233, allocations: 12.22 kB / 0.5014 GB, free: 1.859 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.5233, allocations: 12 kB / 0.5014 GB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005231/0.5239, allocations: 255.3 kB / 0.5017 GB, free: 1.559 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.5239, allocations: 0 / 0.5017 GB, free: 1.559 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.804e-05/0.5239, allocations: 15.94 kB / 0.5017 GB, free: 1.543 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.028e-05/0.524, allocations: 4 kB / 0.5017 GB, free: 1.539 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003013/0.5243, allocations: 111.9 kB / 0.5018 GB, free: 1.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.526, allocations: 0.9265 MB / 0.5027 GB, free: 452 kB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006048/0.5266, allocations: 275 kB / 0.503 GB, free: 140 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002342/0.5269, allocations: 107.5 kB / 0.5031 GB, free: 20 kB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.183e-05/0.5269, allocations: 0 / 0.5031 GB, free: 20 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004758/0.5274, allocations: 214.7 kB / 0.5033 GB, free: 15.79 MB / 442.7 MB Notification: Performance of pre-optimization done (n=24): time 2.941e-06/0.5274, allocations: 0 / 0.5033 GB, free: 15.79 MB / 442.7 MB Notification: Performance of matching and sorting (n=24): time 0.0008657/0.5283, allocations: 316.8 kB / 0.5036 GB, free: 15.47 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002183/0.5285, allocations: 338.1 kB / 0.5039 GB, free: 15.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/0.5297, allocations: 0.5787 MB / 0.5045 GB, free: 14.47 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 7.388e-05/0.5298, allocations: 37.7 kB / 0.5045 GB, free: 14.43 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.53, allocations: 243 kB / 0.5047 GB, free: 14.19 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.5301, allocations: 75.16 kB / 0.5048 GB, free: 14.11 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.176e-05/0.5301, allocations: 4 kB / 0.5048 GB, free: 14.11 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.5303, allocations: 322.8 kB / 0.5051 GB, free: 13.79 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.5306, allocations: 79.98 kB / 0.5052 GB, free: 13.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.531, allocations: 245.1 kB / 0.5054 GB, free: 13.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.5313, allocations: 100.1 kB / 0.5055 GB, free: 13.31 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.411e-06/0.5313, allocations: 0 / 0.5055 GB, free: 13.31 MB / 442.7 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006741/0.532, allocations: 257.4 kB / 0.5058 GB, free: 13.05 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.532, allocations: 8 kB / 0.5058 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.532, allocations: 0 / 0.5058 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.5321, allocations: 11.89 kB / 0.5058 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003686/0.5325, allocations: 56.09 kB / 0.5058 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.358e-05/0.5325, allocations: 11.92 kB / 0.5059 GB, free: 12.96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.5329, allocations: 31.78 kB / 0.5059 GB, free: 12.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.801e-05/0.5329, allocations: 11.98 kB / 0.5059 GB, free: 12.92 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 24 ($whenCondition4,$PRE.integerTable.combiTimeTable.nextTimeEvent,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,$PRE.integerTable.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,$PRE.integerTable2.combiTimeTable.nextTimeEvent,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,$PRE.integerTable2.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,$PRE.integerTable3.combiTimeTable.nextTimeEvent,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,$PRE.integerTable3.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,$PRE.integerTable4.combiTimeTable.nextTimeEvent,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,$PRE.integerTable4.combiTimeTable.nextTimeEventScaled,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002047/0.5332, allocations: 145.1 kB / 0.506 GB, free: 12.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001575/0.5333, allocations: 59.33 kB / 0.5061 GB, free: 12.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009464/0.5343, allocations: 353.6 kB / 0.5064 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.958e-06/0.5343, allocations: 4 kB / 0.5064 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.312e-06/0.5343, allocations: 3.953 kB / 0.5064 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.511e-06/0.5343, allocations: 0 / 0.5064 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006924/0.535, allocations: 445.1 kB / 0.5069 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.298e-06/0.5351, allocations: 4 kB / 0.5069 GB, free: 11.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002139/0.5353, allocations: 31.92 kB / 0.5069 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.894e-06/0.5353, allocations: 0 / 0.5069 GB, free: 11.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.5354, allocations: 15.98 kB / 0.5069 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.697e-06/0.5354, allocations: 4 kB / 0.5069 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.742e-06/0.5354, allocations: 0 / 0.5069 GB, free: 11.82 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008613/0.5363, allocations: 417.5 kB / 0.5073 GB, free: 11.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002402/0.5365, allocations: 160.4 kB / 0.5075 GB, free: 11.19 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.5366, allocations: 8 kB / 0.5075 GB, free: 11.18 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002694/0.5369, allocations: 23.97 kB / 0.5075 GB, free: 11.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.5371, allocations: 35.95 kB / 0.5075 GB, free: 11.12 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.221e-05/0.5371, allocations: 15.98 kB / 0.5075 GB, free: 11.11 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008403/0.538, allocations: 461.5 kB / 0.508 GB, free: 10.66 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.15e-07/0.538, allocations: 4 kB / 0.508 GB, free: 10.65 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.000689/0.5387, allocations: 123.9 kB / 0.5081 GB, free: 10.53 MB / 442.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: 16 ($whenCondition4,integerTable.y,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled,$whenCondition3,integerTable2.y,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,$whenCondition2,integerTable3.y,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,$whenCondition1,integerTable4.y,integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 8 (integerTable4.combiTimeTable.nextTimeEvent,integerTable4.combiTimeTable.nextTimeEventScaled,integerTable3.combiTimeTable.nextTimeEvent,integerTable3.combiTimeTable.nextTimeEventScaled,integerTable2.combiTimeTable.nextTimeEvent,integerTable2.combiTimeTable.nextTimeEventScaled,integerTable.combiTimeTable.nextTimeEvent,integerTable.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001622/0.5403, allocations: 459 kB / 0.5085 GB, free: 10.21 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000712/0.5411, allocations: 251.8 kB / 0.5088 GB, free: 9.961 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.079e-06/0.5411, allocations: 0 / 0.5088 GB, free: 9.961 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.5414, allocations: 128.3 kB / 0.5089 GB, free: 9.836 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007982/0.5423, allocations: 147.8 kB / 0.509 GB, free: 9.699 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001568/0.5438, allocations: 0.6681 MB / 0.5097 GB, free: 8.992 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006226/0.5445, allocations: 0.8509 MB / 0.5105 GB, free: 8.109 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002062/0.5447, allocations: 59.34 kB / 0.5106 GB, free: 8.051 MB / 442.7 MB Notification: Performance of SimCode: time 1.71e-06/0.5447, allocations: 0 / 0.5106 GB, free: 8.051 MB / 442.7 MB Notification: Performance of Templates: time 0.01439/0.5591, allocations: 7.139 MB / 0.5176 GB, free: 0.9375 MB / 442.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegerTable.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 OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegerTableCalcHelperMain.o OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegerTableCalcHelperMain.cpp In file included from OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegerTableCalcHelperMain.cpp:28: ./OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegerTableFunctions.cpp:503:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp80.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 'OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegerTableCalcHelperMain.o' failed make: *** [OMCppModelicaTest_trunk_cpp_ModelicaTest.Blocks.IntegerTableCalcHelperMain.o] Error 1