Running command: translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Blocks.Examples.ShowLogicalSources") Notification: Performance of loadModel(Modelica): time 1.948/1.948, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.946e-05, allocations: 4 kB / 292.1 MB, free: 8.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08848/0.08854, allocations: 50.41 MB / 342.5 MB, free: 6.41 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3588/0.4474, allocations: 80.93 MB / 423.5 MB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001999/0.4477, allocations: 70.09 kB / 423.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02354/0.4712, allocations: 5.808 MB / 429.3 MB, free: 8.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.629e-06/0.4713, allocations: 0 / 429.3 MB, free: 8.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.73e-05/0.4713, allocations: 4 kB / 429.3 MB, free: 8.281 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007409/0.472, allocations: 497.6 kB / 429.8 MB, free: 7.754 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.4721, allocations: 8.031 kB / 429.8 MB, free: 7.746 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.721e-05/0.4722, allocations: 27.75 kB / 429.9 MB, free: 7.719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004558/0.4727, allocations: 256 kB / 430.1 MB, free: 7.449 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.356e-05/0.4727, allocations: 4 kB / 430.1 MB, free: 7.445 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.436e-05/0.4727, allocations: 11 kB / 430.1 MB, free: 7.438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002465/0.473, allocations: 110.6 kB / 430.2 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.919e-06/0.473, allocations: 0 / 430.2 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.473, allocations: 3.562 kB / 430.2 MB, free: 7.324 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.142e-06/0.4731, allocations: 4 kB / 430.2 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.4732, allocations: 51.55 kB / 430.3 MB, free: 7.281 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008525/0.4741, allocations: 0.6147 MB / 430.9 MB, free: 6.656 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002501/0.4743, allocations: 119.4 kB / 431 MB, free: 6.535 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000106/0.4745, allocations: 52.31 kB / 431.1 MB, free: 6.484 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.4745, allocations: 3.25 kB / 431.1 MB, free: 6.484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002329/0.4747, allocations: 119.5 kB / 431.2 MB, free: 6.363 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 2.764e-06/0.4748, allocations: 0 / 431.2 MB, free: 6.363 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003828/0.4752, allocations: 128.7 kB / 431.3 MB, free: 6.254 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.4753, allocations: 136.5 kB / 431.5 MB, free: 6.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000396/0.4757, allocations: 259.3 kB / 431.7 MB, free: 5.875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.283e-05/0.4757, allocations: 28.89 kB / 431.7 MB, free: 5.844 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.4759, allocations: 184.7 kB / 431.9 MB, free: 5.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.4759, allocations: 30.88 kB / 432 MB, free: 5.656 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.444e-06/0.4759, allocations: 0 / 432 MB, free: 5.656 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000163/0.4761, allocations: 322.6 kB / 432.3 MB, free: 5.336 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.1e-05/0.4762, allocations: 26.44 kB / 432.3 MB, free: 5.32 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001349/0.4764, allocations: 80.05 kB / 432.4 MB, free: 5.234 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.717e-05/0.4765, allocations: 30.95 kB / 432.4 MB, free: 5.211 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.994e-06/0.4765, allocations: 0 / 432.4 MB, free: 5.211 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002818/0.4768, allocations: 126 kB / 432.5 MB, free: 5.105 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.705e-05/0.4768, allocations: 4 kB / 432.5 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.146e-05/0.4768, allocations: 11.95 kB / 432.5 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.4768, allocations: 0 / 432.5 MB, free: 5.09 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.477, allocations: 12 kB / 432.6 MB, free: 5.078 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.477, allocations: 8.078 kB / 432.6 MB, free: 5.07 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.4772, allocations: 19.67 kB / 432.6 MB, free: 5.055 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.778e-05/0.4772, allocations: 4 kB / 432.6 MB, free: 5.051 MB / 346.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: 13 ($whenCondition2,$PRE.table.combiTimeTable.nextTimeEvent,table.y,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,$PRE.pulse.pulseStart,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001183/0.4773, allocations: 123.6 kB / 432.7 MB, free: 4.93 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.147e-05/0.4774, allocations: 19.72 kB / 432.7 MB, free: 4.91 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002696/0.4777, allocations: 110.4 kB / 432.8 MB, free: 4.82 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.319e-06/0.4777, allocations: 7.953 kB / 432.8 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.416e-06/0.4777, allocations: 0 / 432.8 MB, free: 4.812 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.4777, allocations: 4 kB / 432.8 MB, free: 4.809 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003292/0.4781, allocations: 255.3 kB / 433.1 MB, free: 4.543 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.062e-06/0.4781, allocations: 3.938 kB / 433.1 MB, free: 4.539 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.978e-05/0.4781, allocations: 4 kB / 433.1 MB, free: 4.535 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.227e-06/0.4782, allocations: 4 kB / 433.1 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.4782, allocations: 0 / 433.1 MB, free: 4.531 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.096e-06/0.4782, allocations: 4 kB / 433.1 MB, free: 4.527 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.161e-06/0.4782, allocations: 3.953 kB / 433.1 MB, free: 4.523 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003616/0.4786, allocations: 201.3 kB / 433.3 MB, free: 4.316 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.4787, allocations: 111.5 kB / 433.4 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.508e-05/0.4788, allocations: 0 / 433.4 MB, free: 4.195 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000153/0.4789, allocations: 23.23 kB / 433.4 MB, free: 4.176 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.918e-05/0.479, allocations: 19.22 kB / 433.5 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.4791, allocations: 4 kB / 433.5 MB, free: 4.156 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002905/0.4794, allocations: 208.4 kB / 433.7 MB, free: 3.988 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.4794, allocations: 0 / 433.7 MB, free: 3.988 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003761/0.4798, allocations: 42.94 kB / 433.7 MB, free: 3.953 MB / 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: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001428/0.4812, allocations: 417.4 kB / 434.1 MB, free: 3.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00027/0.4815, allocations: 86.22 kB / 434.2 MB, free: 3.598 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.4815, allocations: 3.938 kB / 434.2 MB, free: 3.594 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001514/0.4817, allocations: 55.44 kB / 434.3 MB, free: 3.555 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.482, allocations: 43.89 kB / 434.3 MB, free: 3.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006723/0.4827, allocations: 296.3 kB / 434.6 MB, free: 3.23 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004557/0.4832, allocations: 0.7477 MB / 435.3 MB, free: 2.461 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.273e-05/0.4833, allocations: 27.23 kB / 435.4 MB, free: 2.438 MB / 346.7 MB Notification: Performance of SimCode: time 1.37e-06/0.4833, allocations: 0 / 435.4 MB, free: 2.438 MB / 346.7 MB Notification: Performance of Templates: time 0.006479/0.4898, allocations: 2.904 MB / 438.3 MB, free: 15.56 MB / 362.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Blocks.Examples.ShowLogicalSources.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.Blocks.Examples.ShowLogicalSourcesCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.ShowLogicalSourcesCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.ShowLogicalSourcesCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.ShowLogicalSourcesFunctions.cpp:248:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp17.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.Blocks.Examples.ShowLogicalSourcesCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica.Blocks.Examples.ShowLogicalSourcesCalcHelperMain.o] Error 1