Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.095/2.095, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.027e-05/4.035e-05, allocations: 4 kB / 292.2 MB, free: 8.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1181/0.1182, allocations: 50.41 MB / 342.6 MB, free: 6.285 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4552/0.5734, allocations: 81.43 MB / 424.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003148/0.5738, allocations: 80.33 kB / 424.1 MB, free: 12.31 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03188/0.6057, allocations: 6.648 MB / 430.8 MB, free: 6.746 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.6057, allocations: 4 kB / 430.8 MB, free: 6.742 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.501e-05/0.6058, allocations: 8 kB / 430.8 MB, free: 6.734 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0008972/0.6067, allocations: 0.4948 MB / 431.3 MB, free: 6.203 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.868e-05/0.6068, allocations: 8.031 kB / 431.3 MB, free: 6.195 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.773e-05/0.6068, allocations: 38.5 kB / 431.3 MB, free: 6.152 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000127/0.607, allocations: 23.72 kB / 431.4 MB, free: 6.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006616/0.6077, allocations: 281.6 kB / 431.6 MB, free: 5.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.6077, allocations: 7.875 kB / 431.6 MB, free: 5.828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.6078, allocations: 11.94 kB / 431.7 MB, free: 5.816 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004115/0.6082, allocations: 154.4 kB / 431.8 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.6082, allocations: 0 / 431.8 MB, free: 5.664 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.148e-05/0.6082, allocations: 3.953 kB / 431.8 MB, free: 5.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.6083, allocations: 8 kB / 431.8 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001279/0.6084, allocations: 35.67 kB / 431.9 MB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008083/0.6092, allocations: 391.9 kB / 432.2 MB, free: 5.238 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002628/0.6095, allocations: 114.8 kB / 432.3 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001078/0.6096, allocations: 46.19 kB / 432.4 MB, free: 5.074 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.634e-05/0.6097, allocations: 8.062 kB / 432.4 MB, free: 5.066 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.6099, allocations: 74.95 kB / 432.5 MB, free: 4.992 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.586e-06/0.6099, allocations: 0 / 432.5 MB, free: 4.992 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004364/0.6104, allocations: 124.4 kB / 432.6 MB, free: 4.883 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.6105, allocations: 162 kB / 432.8 MB, free: 4.691 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005877/0.6111, allocations: 308.8 kB / 433.1 MB, free: 4.438 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.578e-05/0.6112, allocations: 25.7 kB / 433.1 MB, free: 4.406 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001142/0.6113, allocations: 176.9 kB / 433.3 MB, free: 4.254 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.355e-05/0.6113, allocations: 23.42 kB / 433.3 MB, free: 4.234 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.6114, allocations: 7.25 kB / 433.3 MB, free: 4.23 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000124/0.6115, allocations: 310.8 kB / 433.6 MB, free: 3.918 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.537e-05/0.6116, allocations: 19.38 kB / 433.6 MB, free: 3.906 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001564/0.6117, allocations: 93.97 kB / 433.7 MB, free: 3.805 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001014/0.6119, allocations: 30.55 kB / 433.7 MB, free: 3.781 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.606e-06/0.6119, allocations: 0 / 433.7 MB, free: 3.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000296/0.6122, allocations: 107 kB / 433.8 MB, free: 3.691 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.6122, allocations: 9.406 kB / 433.8 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.6122, allocations: 176 / 433.8 MB, free: 3.684 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/0.6123, allocations: 11.98 kB / 433.9 MB, free: 3.672 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.6125, allocations: 15.98 kB / 433.9 MB, free: 3.656 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.239e-05/0.6125, allocations: 4 kB / 433.9 MB, free: 3.652 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.6127, allocations: 7.906 kB / 433.9 MB, free: 3.645 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.914e-05/0.6127, allocations: 7.938 kB / 433.9 MB, free: 3.641 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: 9 ($whenCondition1,$PRE.table.combiTimeTable.nextTimeEvent,sample1.u,table.combiTimeTable.nextTimeEvent,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEventScaled,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001246/0.6129, allocations: 112.8 kB / 434 MB, free: 3.527 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001497/0.613, allocations: 61.45 kB / 434.1 MB, free: 3.461 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003741/0.6134, allocations: 124.5 kB / 434.2 MB, free: 3.359 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.165e-05/0.6135, allocations: 4 kB / 434.2 MB, free: 3.355 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.6135, allocations: 3.984 kB / 434.2 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.6135, allocations: 0 / 434.2 MB, free: 3.352 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003287/0.6138, allocations: 256.8 kB / 434.4 MB, free: 3.082 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/0.6138, allocations: 4 kB / 434.4 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.614, allocations: 11.98 kB / 434.5 MB, free: 3.066 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.614, allocations: 7.938 kB / 434.5 MB, free: 3.059 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.6141, allocations: 11.83 kB / 434.5 MB, free: 3.051 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.6141, allocations: 4 kB / 434.5 MB, free: 3.047 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.6141, allocations: 4 kB / 434.5 MB, free: 3.043 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003895/0.6145, allocations: 186.1 kB / 434.7 MB, free: 2.848 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.6147, allocations: 116.6 kB / 434.8 MB, free: 2.723 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.003e-05/0.6147, allocations: 7.438 kB / 434.8 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001513/0.6149, allocations: 11.98 kB / 434.8 MB, free: 2.707 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.218e-05/0.615, allocations: 7.812 kB / 434.8 MB, free: 2.703 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.615, allocations: 7.984 kB / 434.8 MB, free: 2.695 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004068/0.6154, allocations: 240 kB / 435 MB, free: 2.504 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.6155, allocations: 0 / 435 MB, free: 2.504 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000478/0.6159, allocations: 59.09 kB / 435.1 MB, free: 2.453 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: 7 ($whenCondition1,sample1.u,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 8 * 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.001978/0.6179, allocations: 1.177 MB / 436.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000392/0.6184, allocations: 83.66 kB / 436.4 MB, free: 1.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.6184, allocations: 0 / 436.4 MB, free: 1.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.6185, allocations: 35.36 kB / 436.4 MB, free: 1.293 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006193/0.6191, allocations: 56.44 kB / 436.5 MB, free: 1.254 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.6203, allocations: 389.8 kB / 436.8 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003729/0.6208, allocations: 0.7474 MB / 437.6 MB, free: 96 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.6209, allocations: 57.23 kB / 437.6 MB, free: 72 kB / 346.7 MB Notification: Performance of SimCode: time 1.684e-06/0.621, allocations: 0 / 437.6 MB, free: 72 kB / 346.7 MB Error: Error building simulator. Build log: clang++ -Winvalid-pch -O0 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DSUNDIALS_MAJOR_VERSION=2 -DSUNDIALS_MINOR_VERSION=6 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." "-I/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Resources/C-Sources" -DUSE_LOGGER -c -o OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSampleCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSampleCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSampleCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSampleFunctions.cpp:281:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp20.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, ^ In file included from OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSampleCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSampleFMU.cpp:11: /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/FMU2/FMU2Wrapper.cpp:93:11: warning: 6 enumeration values not handled in switch: 'LC_INIT', 'LC_LS', 'LC_SOLVER'... [-Wswitch] switch (cat) { ^ 1 warning and 1 error generated. : recipe for target 'OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_IntegerSignals_SuperSampleCalcHelperMain.o] Error 1