Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.123/2.123, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.297e-05/4.308e-05, allocations: 7.984 kB / 273.1 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1136, allocations: 48.69 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4953/0.609, allocations: 75.62 MB / 397.5 MB, free: 14.33 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/0.6094, allocations: 63.97 kB / 397.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01828/0.6277, allocations: 4.14 MB / 401.7 MB, free: 10.13 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6277, allocations: 0 / 401.7 MB, free: 10.13 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.629e-05/0.6277, allocations: 0 / 401.7 MB, free: 10.13 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.000584/0.6283, allocations: 423.9 kB / 402.1 MB, free: 9.668 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.6284, allocations: 15.97 kB / 402.1 MB, free: 9.652 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.104e-05/0.6285, allocations: 34.56 kB / 402.1 MB, free: 9.609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.049e-05/0.6285, allocations: 7.906 kB / 402.1 MB, free: 9.602 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.6289, allocations: 218.7 kB / 402.3 MB, free: 9.348 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.6289, allocations: 4 kB / 402.3 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.6289, allocations: 0 / 402.3 MB, free: 9.344 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001184/0.6291, allocations: 41.69 kB / 402.4 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.6291, allocations: 0 / 402.4 MB, free: 9.297 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.6291, allocations: 3.984 kB / 402.4 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.6291, allocations: 0 / 402.4 MB, free: 9.293 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.385e-05/0.6292, allocations: 19.92 kB / 402.4 MB, free: 9.273 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002501/0.6295, allocations: 193.6 kB / 402.6 MB, free: 9.035 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.342e-05/0.6296, allocations: 26.58 kB / 402.6 MB, free: 9 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.08e-05/0.6296, allocations: 12.92 kB / 402.6 MB, free: 8.984 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.6297, allocations: 0 / 402.6 MB, free: 8.984 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001471/0.6298, allocations: 55.83 kB / 402.7 MB, free: 8.918 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.013e-06/0.6298, allocations: 4 kB / 402.7 MB, free: 8.914 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002313/0.6301, allocations: 65.53 kB / 402.8 MB, free: 8.844 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.018e-05/0.6301, allocations: 55.41 kB / 402.8 MB, free: 8.777 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003634/0.6305, allocations: 218.6 kB / 403 MB, free: 8.551 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.591e-05/0.6306, allocations: 29.7 kB / 403.1 MB, free: 8.516 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.071e-05/0.6307, allocations: 166.6 kB / 403.2 MB, free: 8.352 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.6307, allocations: 11.84 kB / 403.2 MB, free: 8.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.002e-05/0.6308, allocations: 4 kB / 403.2 MB, free: 8.336 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000132/0.6309, allocations: 322.8 kB / 403.5 MB, free: 8.012 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.401e-05/0.631, allocations: 16 kB / 403.6 MB, free: 7.996 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.935e-05/0.631, allocations: 16 kB / 403.6 MB, free: 7.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.332e-05/0.6311, allocations: 49.69 kB / 403.6 MB, free: 7.926 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.6312, allocations: 0 / 403.6 MB, free: 7.926 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002451/0.6314, allocations: 111.3 kB / 403.7 MB, free: 7.805 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.943e-05/0.6315, allocations: 33.7 kB / 403.8 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.6315, allocations: 0 / 403.8 MB, free: 7.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.6315, allocations: 4 kB / 403.8 MB, free: 7.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/0.6316, allocations: 7.938 kB / 403.8 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.6317, allocations: 4 kB / 403.8 MB, free: 7.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.73e-05/0.6317, allocations: 7.984 kB / 403.8 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.591e-05/0.6318, allocations: 4 kB / 403.8 MB, free: 7.738 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.647e-05/0.6319, allocations: 104.9 kB / 403.9 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.845e-05/0.6319, allocations: 15.81 kB / 403.9 MB, free: 7.613 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.6322, allocations: 78.55 kB / 404 MB, free: 7.523 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.6322, allocations: 3.938 kB / 404 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.6322, allocations: 0 / 404 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.6322, allocations: 4 kB / 404 MB, free: 7.516 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002156/0.6324, allocations: 197.6 kB / 404.2 MB, free: 7.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.813e-06/0.6325, allocations: 8.109 kB / 404.2 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.272e-05/0.6325, allocations: 4 kB / 404.2 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.6325, allocations: 0 / 404.2 MB, free: 7.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.6325, allocations: 4 kB / 404.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.6326, allocations: 0 / 404.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.6326, allocations: 0 / 404.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001988/0.6328, allocations: 100.9 kB / 404.3 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.091e-05/0.6329, allocations: 93.02 kB / 404.4 MB, free: 7.031 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.418e-05/0.6329, allocations: 4 kB / 404.4 MB, free: 7.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.72e-05/0.633, allocations: 4.078 kB / 404.4 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.603e-05/0.6331, allocations: 11.97 kB / 404.4 MB, free: 7.012 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.196e-05/0.6331, allocations: 4 kB / 404.4 MB, free: 7.008 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002623/0.6333, allocations: 189.1 kB / 404.6 MB, free: 6.824 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.6334, allocations: 0 / 404.6 MB, free: 6.824 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003079/0.6337, allocations: 31.94 kB / 404.6 MB, free: 6.793 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.001318/0.635, allocations: 0.8321 MB / 405.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002411/0.6353, allocations: 103.3 kB / 405.6 MB, free: 5.875 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.6353, allocations: 0 / 405.6 MB, free: 5.875 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.649e-05/0.6354, allocations: 16 kB / 405.6 MB, free: 5.859 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.6357, allocations: 20.16 kB / 405.6 MB, free: 5.836 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007519/0.6364, allocations: 281 kB / 405.9 MB, free: 5.523 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.6368, allocations: 0.7121 MB / 406.6 MB, free: 4.785 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.6369, allocations: 35.42 kB / 406.6 MB, free: 4.75 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.6369, allocations: 0 / 406.6 MB, free: 4.75 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_Test62CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test62CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test62CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test62FMU.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_Test62.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test62CalcHelperMain.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_Test62_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test62.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test62.fmu] Error 1