Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.011/2.011, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.021e-05/6.035e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1399, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5085/0.6484, allocations: 75.61 MB / 397.5 MB, free: 14.21 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.6488, allocations: 71.95 kB / 397.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01771/0.6665, allocations: 4.13 MB / 401.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.6665, allocations: 0 / 401.7 MB, free: 10.02 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.6666, allocations: 4 kB / 401.7 MB, free: 10.02 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005715/0.6672, allocations: 423.9 kB / 402.1 MB, free: 9.555 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.6672, allocations: 11.97 kB / 402.1 MB, free: 9.543 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.841e-05/0.6673, allocations: 30.56 kB / 402.1 MB, free: 9.504 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.405e-05/0.6674, allocations: 15.91 kB / 402.1 MB, free: 9.488 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.6677, allocations: 214.7 kB / 402.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.6678, allocations: 0 / 402.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.168e-05/0.6678, allocations: 4 kB / 402.3 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.6679, allocations: 41.69 kB / 402.4 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.699e-06/0.668, allocations: 0 / 402.4 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.668, allocations: 0 / 402.4 MB, free: 9.188 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.668, allocations: 3.938 kB / 402.4 MB, free: 9.184 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.767e-05/0.6681, allocations: 11.94 kB / 402.4 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002549/0.6683, allocations: 201.6 kB / 402.6 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.631e-05/0.6684, allocations: 30.56 kB / 402.6 MB, free: 8.887 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.931e-05/0.6685, allocations: 8.922 kB / 402.6 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.6685, allocations: 0 / 402.6 MB, free: 8.875 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001497/0.6687, allocations: 63.77 kB / 402.7 MB, free: 8.801 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.014e-06/0.6687, allocations: 0 / 402.7 MB, free: 8.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002364/0.6689, allocations: 65.59 kB / 402.8 MB, free: 8.73 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.59e-05/0.669, allocations: 51.41 kB / 402.8 MB, free: 8.668 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.6694, allocations: 222.6 kB / 403 MB, free: 8.438 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.681e-05/0.6694, allocations: 25.7 kB / 403.1 MB, free: 8.406 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.888e-05/0.6695, allocations: 170.6 kB / 403.2 MB, free: 8.238 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.522e-05/0.6695, allocations: 7.844 kB / 403.2 MB, free: 8.23 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.016e-05/0.6696, allocations: 4 kB / 403.2 MB, free: 8.227 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.6697, allocations: 322.8 kB / 403.5 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.222e-05/0.6698, allocations: 16 kB / 403.6 MB, free: 7.887 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.103e-05/0.6698, allocations: 20 kB / 403.6 MB, free: 7.867 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.83e-05/0.67, allocations: 53.75 kB / 403.6 MB, free: 7.809 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.67, allocations: 0 / 403.6 MB, free: 7.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002395/0.6702, allocations: 103.3 kB / 403.7 MB, free: 7.695 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.771e-05/0.6703, allocations: 37.69 kB / 403.8 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.6703, allocations: 0 / 403.8 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.6703, allocations: 0 / 403.8 MB, free: 7.652 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.296e-05/0.6704, allocations: 11.94 kB / 403.8 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.6705, allocations: 4 kB / 403.8 MB, free: 7.637 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.76e-05/0.6705, allocations: 4.047 kB / 403.8 MB, free: 7.633 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.53e-05/0.6706, allocations: 7.984 kB / 403.8 MB, free: 7.625 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * 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 8.991e-05/0.6707, allocations: 108.9 kB / 403.9 MB, free: 7.512 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.461e-05/0.6707, allocations: 15.8 kB / 403.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002306/0.671, allocations: 82.55 kB / 404 MB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.671, allocations: 0 / 404 MB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.671, allocations: 0 / 404 MB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.671, allocations: 0 / 404 MB, free: 7.402 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002113/0.6712, allocations: 197.6 kB / 404.2 MB, free: 7.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.6713, allocations: 4 kB / 404.2 MB, free: 7.156 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.117e-05/0.6713, allocations: 4 kB / 404.2 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.838e-06/0.6714, allocations: 3.938 kB / 404.2 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.6714, allocations: 3.984 kB / 404.2 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.6714, allocations: 0 / 404.2 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.6714, allocations: 4 kB / 404.2 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.6716, allocations: 96.83 kB / 404.3 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.539e-05/0.6717, allocations: 97 kB / 404.4 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.6718, allocations: 8 kB / 404.4 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.6718, allocations: 0 / 404.4 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.871e-05/0.6719, allocations: 0 / 404.4 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.6719, allocations: 7.984 kB / 404.4 MB, free: 6.898 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002623/0.6722, allocations: 185.2 kB / 404.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6722, allocations: 0 / 404.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003198/0.6725, allocations: 39.92 kB / 404.6 MB, free: 6.68 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001289/0.6738, allocations: 0.8317 MB / 405.5 MB, free: 5.875 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.6741, allocations: 99.41 kB / 405.6 MB, free: 5.766 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6741, allocations: 0 / 405.6 MB, free: 5.766 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.538e-05/0.6742, allocations: 15.98 kB / 405.6 MB, free: 5.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002929/0.6745, allocations: 12.17 kB / 405.6 MB, free: 5.734 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007719/0.6753, allocations: 289 kB / 405.9 MB, free: 5.414 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003293/0.6756, allocations: 0.7121 MB / 406.6 MB, free: 4.676 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.557e-05/0.6758, allocations: 31.42 kB / 406.6 MB, free: 4.645 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6758, allocations: 0 / 406.6 MB, free: 4.645 MB / 330.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"." -DUSE_LOGGER -c -o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64FMU.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 generated. clang++ -shared -o ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64CalcHelperMain.o -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp" -Wl,--no-undefined -lOMCppSystem_static -lOMCppMath_static -lOMCppModelicaUtilities_static -lOMCppFMU_static -lOMCppNewton_static -lOMCppDgesvSolver_static -lOMCppSolver_static -lOMCppExtensionUtilities_static -L"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/Tables" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/var/lib/hudson/.openmodelica/binaries/Modelica" -Wl,-rpath="/var/lib/hudson/.openmodelica/binaries/Modelica" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Resources/Library" -lModelicaStandardTables -lModelicaIO -lModelicaMatIO -lzlib -lOMCppModelicaUtilities_static -lOMCppDgesv_static /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `Mat_VarDelete': /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:4972: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `strdup_vprintf': /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1469: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1476: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1469: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1476: undefined reference to `rpl_vsnprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `Mat_Create5': /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:7716: undefined reference to `rpl_snprintf' /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:7711: undefined reference to `rpl_snprintf' clang: error: linker command failed with exit code 1 (use -v to see invocation) ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64.fmu] Error 1