Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.BooleanSignals.SuperSample,fileNamePrefix="Modelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.116/2.116, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.521e-05, allocations: 0 / 292.2 MB, free: 8.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1178, allocations: 50.41 MB / 342.6 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.456/0.5738, allocations: 81.39 MB / 424 MB, free: 12.8 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.5742, allocations: 78.7 kB / 424.1 MB, free: 12.75 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03066/0.6049, allocations: 6.501 MB / 430.6 MB, free: 7.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.6049, allocations: 0 / 430.6 MB, free: 7.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.396e-05/0.605, allocations: 7.984 kB / 430.6 MB, free: 7.312 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.0008005/0.6058, allocations: 481.4 kB / 431.1 MB, free: 6.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.6058, allocations: 8.031 kB / 431.1 MB, free: 6.797 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.695e-05/0.6059, allocations: 37.81 kB / 431.1 MB, free: 6.754 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.606, allocations: 19.81 kB / 431.1 MB, free: 6.734 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006172/0.6066, allocations: 268.3 kB / 431.4 MB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.063e-05/0.6067, allocations: 0 / 431.4 MB, free: 6.453 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.517e-05/0.6067, allocations: 7.375 kB / 431.4 MB, free: 6.449 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003991/0.6071, allocations: 150.9 kB / 431.6 MB, free: 6.301 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/0.6071, allocations: 4 kB / 431.6 MB, free: 6.297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.097e-05/0.6072, allocations: 3.953 kB / 431.6 MB, free: 6.293 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.608e-06/0.6072, allocations: 4 kB / 431.6 MB, free: 6.289 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.6073, allocations: 34.11 kB / 431.6 MB, free: 6.266 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.6081, allocations: 365.9 kB / 432 MB, free: 5.895 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.6083, allocations: 106.8 kB / 432.1 MB, free: 5.781 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001069/0.6085, allocations: 44.41 kB / 432.1 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.6085, allocations: 4 kB / 432.1 MB, free: 5.734 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.6087, allocations: 72.08 kB / 432.2 MB, free: 5.66 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.396e-06/0.6087, allocations: 4 kB / 432.2 MB, free: 5.656 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003927/0.6091, allocations: 110 kB / 432.3 MB, free: 5.562 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.112e-05/0.6092, allocations: 132.5 kB / 432.4 MB, free: 5.402 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004202/0.6097, allocations: 244.3 kB / 432.7 MB, free: 5.203 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.433e-05/0.6097, allocations: 33.69 kB / 432.7 MB, free: 5.164 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.899e-05/0.6098, allocations: 173.4 kB / 432.9 MB, free: 5.012 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.6099, allocations: 11.62 kB / 432.9 MB, free: 5.004 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.578e-06/0.6099, allocations: 0 / 432.9 MB, free: 5.004 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.61, allocations: 322.8 kB / 433.2 MB, free: 4.68 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.904e-05/0.6101, allocations: 19.06 kB / 433.2 MB, free: 4.668 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.6102, allocations: 64.59 kB / 433.3 MB, free: 4.594 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001035/0.6104, allocations: 30.23 kB / 433.3 MB, free: 4.574 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.262e-06/0.6104, allocations: 4 kB / 433.3 MB, free: 4.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002657/0.6106, allocations: 102.8 kB / 433.4 MB, free: 4.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.6107, allocations: 4 kB / 433.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.6107, allocations: 0 / 433.4 MB, free: 4.477 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.226e-05/0.6107, allocations: 4 kB / 433.4 MB, free: 4.473 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001601/0.6109, allocations: 15.92 kB / 433.4 MB, free: 4.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.6109, allocations: 4 kB / 433.4 MB, free: 4.453 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.6111, allocations: 11.47 kB / 433.4 MB, free: 4.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.6111, allocations: 4 kB / 433.4 MB, free: 4.441 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.0001177/0.6113, allocations: 112.6 kB / 433.6 MB, free: 4.328 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001383/0.6114, allocations: 68.77 kB / 433.6 MB, free: 4.258 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.6117, allocations: 113.4 kB / 433.7 MB, free: 4.168 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.955e-06/0.6118, allocations: 4 kB / 433.7 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.6118, allocations: 128 / 433.7 MB, free: 4.164 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.6118, allocations: 4 kB / 433.7 MB, free: 4.16 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000287/0.6121, allocations: 228.2 kB / 434 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.6121, allocations: 0 / 434 MB, free: 3.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.313e-05/0.6122, allocations: 7.938 kB / 434 MB, free: 3.906 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.277e-06/0.6122, allocations: 8.062 kB / 434 MB, free: 3.898 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.924e-05/0.6122, allocations: 7.938 kB / 434 MB, free: 3.891 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.893e-06/0.6123, allocations: 4 kB / 434 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.6123, allocations: 0 / 434 MB, free: 3.887 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.6126, allocations: 190.9 kB / 434.2 MB, free: 3.688 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000167/0.6128, allocations: 114 kB / 434.3 MB, free: 3.566 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.702e-05/0.6129, allocations: 4 kB / 434.3 MB, free: 3.562 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.613, allocations: 11.36 kB / 434.3 MB, free: 3.555 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.741e-05/0.6131, allocations: 4 kB / 434.3 MB, free: 3.551 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.6131, allocations: 3.938 kB / 434.3 MB, free: 3.547 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003111/0.6134, allocations: 197.8 kB / 434.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6134, allocations: 0 / 434.5 MB, free: 3.387 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004185/0.6139, allocations: 35.42 kB / 434.5 MB, free: 3.355 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.001889/0.6158, allocations: 1.162 MB / 435.7 MB, free: 2.293 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003495/0.6162, allocations: 65.75 kB / 435.8 MB, free: 2.246 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.6162, allocations: 0 / 435.8 MB, free: 2.246 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.887e-05/0.6163, allocations: 34.98 kB / 435.8 MB, free: 2.219 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/0.6169, allocations: 46.25 kB / 435.8 MB, free: 2.184 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009917/0.6179, allocations: 333.2 kB / 436.2 MB, free: 1.836 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.6183, allocations: 0.7349 MB / 436.9 MB, free: 1.078 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.6185, allocations: 57.59 kB / 437 MB, free: 1.047 MB / 346.7 MB Notification: Performance of SimCode: time 1.332e-06/0.6185, allocations: 0 / 437 MB, free: 1.047 MB / 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_BooleanSignals_SuperSampleCalcHelperMain.o OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSampleCalcHelperMain.cpp In file included from OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSampleCalcHelperMain.cpp:28: ./OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSampleFunctions.cpp:248:33: error: no matching function for call to 'ModelicaStandardTables_CombiTimeTable_init2' externalCombiTimeTable__ext = ModelicaStandardTables_CombiTimeTable_init2(fileName_.c_str(), tableName_.c_str(), tmp13.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_BooleanSignals_SuperSampleCalcHelperMain.cpp:35: In file included from ./OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_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_BooleanSignals_SuperSampleCalcHelperMain.o' failed make: *** [OMCppModelica_trunk_cpp_Modelica_Clocked_Examples_Elementary_BooleanSignals_SuperSampleCalcHelperMain.o] Error 1