Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadModel(Modelica): time 2.316/2.316, allocations: 224.7 MB / 241.1 MB, free: 1.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.088e-05/3.083e-05, allocations: 4 kB / 294.6 MB, free: 11.4 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1083, allocations: 50.4 MB / 345 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.003977/0.1124, allocations: 2.271 MB / 347.2 MB, free: 6.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002609/0.115, allocations: 1.018 MB / 348.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002299/0.1153, allocations: 4 kB / 348.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004837/0.1158, allocations: 139.5 kB / 348.4 MB, free: 5.504 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006026/0.1164, allocations: 195.4 kB / 348.6 MB, free: 5.312 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/0.117, allocations: 119.7 kB / 348.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006209/0.1177, allocations: 247.4 kB / 348.9 MB, free: 4.953 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.1179, allocations: 57.81 kB / 349 MB, free: 4.887 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000239/0.1181, allocations: 131.7 kB / 349.1 MB, free: 4.758 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003234/0.1185, allocations: 151.5 kB / 349.3 MB, free: 4.609 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002211/0.1187, allocations: 43.92 kB / 349.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.637e-05/0.1188, allocations: 20 kB / 349.3 MB, free: 4.547 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.1189, allocations: 75.67 kB / 349.4 MB, free: 4.473 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001114/0.119, allocations: 40 kB / 349.4 MB, free: 4.434 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005334/0.1196, allocations: 331.4 kB / 349.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.1196, allocations: 0 / 349.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.1196, allocations: 0 / 349.8 MB, free: 4.109 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.311e-05/0.1196, allocations: 0 / 349.8 MB, free: 4.109 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001167/0.1208, allocations: 0.5678 MB / 350.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/0.1209, allocations: 12.03 kB / 350.4 MB, free: 3.484 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001242/0.121, allocations: 43.53 kB / 350.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.1216, allocations: 309.7 kB / 350.7 MB, free: 3.098 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.1217, allocations: 12.44 kB / 350.7 MB, free: 3.086 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.743e-05/0.1217, allocations: 31.81 kB / 350.7 MB, free: 3.055 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007674/0.1225, allocations: 297.4 kB / 351 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.1226, allocations: 0 / 351 MB, free: 2.727 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.376e-05/0.1226, allocations: 12 kB / 351 MB, free: 2.715 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.727e-05/0.1227, allocations: 4 kB / 351 MB, free: 2.711 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007337/0.1234, allocations: 141.7 kB / 351.2 MB, free: 2.574 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002869/0.1263, allocations: 0.8129 MB / 352 MB, free: 1.691 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000824/0.1272, allocations: 215.8 kB / 352.2 MB, free: 1.473 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.213e-05/0.1272, allocations: 4.188 kB / 352.2 MB, free: 1.469 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004175/0.1277, allocations: 131.5 kB / 352.3 MB, free: 1.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=23): time 3.437e-06/0.1277, allocations: 4 kB / 352.3 MB, free: 1.324 MB / 282.7 MB Notification: Performance of matching and sorting (n=23): time 0.001396/0.1291, allocations: 405.2 kB / 352.7 MB, free: 0.9023 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001849/0.1293, allocations: 316.4 kB / 353 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006805/0.13, allocations: 364.8 kB / 353.4 MB, free: 160 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.361e-05/0.1301, allocations: 33.7 kB / 353.4 MB, free: 120 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002463/0.1304, allocations: 238.7 kB / 353.7 MB, free: 15.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001263/0.1305, allocations: 82.92 kB / 353.8 MB, free: 15.8 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.763e-05/0.1305, allocations: 8 kB / 353.8 MB, free: 15.79 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1307, allocations: 322.8 kB / 354.1 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.131, allocations: 59.98 kB / 354.1 MB, free: 15.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003774/0.1313, allocations: 175.9 kB / 354.3 MB, free: 15.2 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.1316, allocations: 73.09 kB / 354.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.899e-06/0.1316, allocations: 0 / 354.4 MB, free: 15.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0008098/0.1325, allocations: 260.1 kB / 354.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.1325, allocations: 4 kB / 354.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.1325, allocations: 0 / 354.6 MB, free: 14.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001879/0.1327, allocations: 28.84 kB / 354.7 MB, free: 14.83 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.1332, allocations: 55.91 kB / 354.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/0.1354, allocations: 1.476 MB / 356.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004676/0.1359, allocations: 27.78 kB / 356.2 MB, free: 13.13 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.136, allocations: 4 kB / 356.2 MB, free: 13.13 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003514/0.1364, allocations: 169.8 kB / 356.4 MB, free: 12.95 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.1365, allocations: 47.48 kB / 356.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001224/0.1366, allocations: 43.58 kB / 356.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.1366, allocations: 0 / 356.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.1366, allocations: 0 / 356.5 MB, free: 12.87 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008201/0.1375, allocations: 0.5806 MB / 357.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.139, allocations: 0.6811 MB / 357.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.139, allocations: 0 / 357.7 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/0.1395, allocations: 51.91 kB / 357.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.1395, allocations: 4.094 kB / 357.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.548e-05/0.1395, allocations: 7.938 kB / 357.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.1395, allocations: 0 / 357.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.1395, allocations: 4 kB / 357.8 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001001/0.1406, allocations: 401.8 kB / 358.2 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/0.1408, allocations: 128.7 kB / 358.3 MB, free: 10.82 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.978e-05/0.1409, allocations: 12.05 kB / 358.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003976/0.1413, allocations: 15.91 kB / 358.4 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.74e-05/0.1414, allocations: 11.98 kB / 358.4 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.1415, allocations: 11.98 kB / 358.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005093/0.142, allocations: 291.2 kB / 358.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.142, allocations: 0 / 358.7 MB, free: 10.49 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005632/0.1426, allocations: 95.92 kB / 358.8 MB, free: 10.4 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,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.001229/0.1438, allocations: 405.5 kB / 359.2 MB, free: 10.11 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0011/0.1449, allocations: 302.3 kB / 359.4 MB, free: 9.801 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 8.166e-06/0.145, allocations: 4.188 kB / 359.4 MB, free: 9.797 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002836/0.1453, allocations: 91.84 kB / 359.5 MB, free: 9.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009057/0.1462, allocations: 81.41 kB / 359.6 MB, free: 9.629 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.1486, allocations: 0.9574 MB / 360.6 MB, free: 8.641 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004874/0.1492, allocations: 0.8034 MB / 361.4 MB, free: 7.812 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.1494, allocations: 31.42 kB / 361.4 MB, free: 7.781 MB / 298.7 MB Notification: Performance of SimCode: time 9.72e-07/0.1494, allocations: 3.938 kB / 361.4 MB, free: 7.777 MB / 298.7 MB Notification: Performance of Templates: time 0.01436/0.1637, allocations: 5.466 MB / 366.9 MB, free: 2.348 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.Thermal.FluidHeatFlow.Examples.TestOpenTankCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTankCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTankCalcHelperMain.cpp:29: ./OMCppModelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTankFunctions.cpp:205:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp42.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.Thermal.FluidHeatFlow.Examples.TestOpenTankCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTankCalcHelperMain.o] Error 1