Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.12/2.12, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.322e-05/4.324e-05, allocations: 8 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1053, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.416/0.5213, allocations: 76.53 MB / 398.4 MB, free: 13.29 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.5217, allocations: 75.11 kB / 398.5 MB, free: 13.21 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01492/0.5366, allocations: 3.217 MB / 401.7 MB, free: 10 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.953e-06/0.5367, allocations: 0 / 401.7 MB, free: 10 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.062e-05/0.5367, allocations: 4 kB / 401.7 MB, free: 10 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0007189/0.5374, allocations: 465.6 kB / 402.1 MB, free: 9.488 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.5375, allocations: 12.03 kB / 402.2 MB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.307e-05/0.5376, allocations: 30.56 kB / 402.2 MB, free: 9.438 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.124e-05/0.5376, allocations: 15.91 kB / 402.2 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003491/0.538, allocations: 208.6 kB / 402.4 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.538, allocations: 8 kB / 402.4 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.221e-05/0.5381, allocations: 4 kB / 402.4 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.5383, allocations: 69.67 kB / 402.5 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.5383, allocations: 0 / 402.5 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.55e-05/0.5383, allocations: 0 / 402.5 MB, free: 9.094 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.5384, allocations: 4 kB / 402.5 MB, free: 9.09 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001103/0.5385, allocations: 24 kB / 402.5 MB, free: 9.066 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007221/0.5392, allocations: 364.5 kB / 402.9 MB, free: 8.66 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002991/0.5395, allocations: 58.69 kB / 402.9 MB, free: 8.594 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.098e-05/0.5396, allocations: 24.98 kB / 402.9 MB, free: 8.566 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.205e-05/0.5397, allocations: 4 kB / 403 MB, free: 8.562 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001955/0.5399, allocations: 75.39 kB / 403 MB, free: 8.477 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 5.089e-06/0.5399, allocations: 0 / 403 MB, free: 8.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003182/0.5402, allocations: 101.3 kB / 403.1 MB, free: 8.371 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.5403, allocations: 55.41 kB / 403.2 MB, free: 8.305 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002087/0.5405, allocations: 148.9 kB / 403.3 MB, free: 8.156 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.5405, allocations: 25.7 kB / 403.4 MB, free: 8.125 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.555e-05/0.5407, allocations: 166.6 kB / 403.5 MB, free: 7.961 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.5407, allocations: 27.67 kB / 403.5 MB, free: 7.934 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.107e-06/0.5407, allocations: 0 / 403.5 MB, free: 7.934 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.5409, allocations: 322.8 kB / 403.9 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.674e-05/0.541, allocations: 24 kB / 403.9 MB, free: 7.586 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001062/0.5411, allocations: 45.7 kB / 403.9 MB, free: 7.535 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001287/0.5412, allocations: 53.69 kB / 404 MB, free: 7.477 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.5412, allocations: 0 / 404 MB, free: 7.477 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003368/0.5416, allocations: 143.2 kB / 404.1 MB, free: 7.324 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.961e-05/0.5417, allocations: 33.7 kB / 404.1 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.5417, allocations: 4.031 kB / 404.2 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/0.5417, allocations: 0 / 404.2 MB, free: 7.281 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001743/0.5419, allocations: 23.94 kB / 404.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.5419, allocations: 3.938 kB / 404.2 MB, free: 7.254 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.542, allocations: 11.84 kB / 404.2 MB, free: 7.242 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/0.5421, allocations: 4 kB / 404.2 MB, free: 7.238 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 9 * 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 0.0001094/0.5422, allocations: 113 kB / 404.3 MB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.129e-05/0.5422, allocations: 11.84 kB / 404.3 MB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003042/0.5426, allocations: 102.4 kB / 404.4 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.5426, allocations: 4 kB / 404.4 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.5426, allocations: 3.953 kB / 404.4 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.5426, allocations: 3.984 kB / 404.4 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.5429, allocations: 197.6 kB / 404.6 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.5429, allocations: 0 / 404.6 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.5431, allocations: 15.94 kB / 404.6 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.631e-06/0.5431, allocations: 0 / 404.6 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.987e-05/0.5431, allocations: 7.984 kB / 404.6 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5431, allocations: 0 / 404.6 MB, free: 6.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5431, allocations: 4 kB / 404.6 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003634/0.5435, allocations: 140.9 kB / 404.8 MB, free: 6.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.713e-05/0.5436, allocations: 89.05 kB / 404.9 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.5436, allocations: 4 kB / 404.9 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.5438, allocations: 7.984 kB / 404.9 MB, free: 6.453 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.932e-05/0.5438, allocations: 7.984 kB / 404.9 MB, free: 6.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.635e-05/0.5438, allocations: 8.062 kB / 404.9 MB, free: 6.438 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001443/0.544, allocations: 119.3 kB / 405 MB, free: 6.32 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.565e-06/0.544, allocations: 0 / 405 MB, free: 6.32 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003678/0.5444, allocations: 43.83 kB / 405.1 MB, free: 6.277 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (8): * Single equations (assignments): 7 * 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.001493/0.5459, allocations: 0.8765 MB / 405.9 MB, free: 5.426 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003676/0.5463, allocations: 127.3 kB / 406.1 MB, free: 5.289 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.5463, allocations: 0 / 406.1 MB, free: 5.289 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.333e-05/0.5464, allocations: 27.98 kB / 406.1 MB, free: 5.262 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.5468, allocations: 31.67 kB / 406.1 MB, free: 5.23 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008059/0.5476, allocations: 251.8 kB / 406.4 MB, free: 4.941 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003371/0.548, allocations: 0.7122 MB / 407.1 MB, free: 4.203 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001105/0.5481, allocations: 35.42 kB / 407.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of SimCode: time 1.352e-06/0.5481, allocations: 192 / 407.1 MB, free: 4.168 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_Test11CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test11CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test11CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test11FMU.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_Test11.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test11CalcHelperMain.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_Test11_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test11.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test11.fmu] Error 1