Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.088/2.088, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.312e-05/4.324e-05, allocations: 4 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1062, allocations: 48.71 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.482/0.5883, allocations: 75.62 MB / 397.5 MB, free: 14.3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002846/0.5887, allocations: 75.11 kB / 397.6 MB, free: 14.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01789/0.6066, allocations: 4.126 MB / 401.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6066, allocations: 0 / 401.7 MB, free: 10.11 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.415e-05/0.6066, allocations: 0 / 401.7 MB, free: 10.11 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.0005815/0.6072, allocations: 427.9 kB / 402.1 MB, free: 9.645 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.6073, allocations: 15.97 kB / 402.1 MB, free: 9.629 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.529e-05/0.6074, allocations: 30.56 kB / 402.1 MB, free: 9.59 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.176e-05/0.6074, allocations: 7.906 kB / 402.2 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.6078, allocations: 214.8 kB / 402.4 MB, free: 9.332 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.272e-05/0.6078, allocations: 0 / 402.4 MB, free: 9.332 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.985e-05/0.6078, allocations: 4 kB / 402.4 MB, free: 9.328 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.6079, allocations: 37.69 kB / 402.4 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.608, allocations: 0 / 402.4 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.09e-05/0.608, allocations: 3.938 kB / 402.4 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.608, allocations: 0 / 402.4 MB, free: 9.281 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.155e-05/0.6081, allocations: 19.98 kB / 402.4 MB, free: 9.262 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002433/0.6083, allocations: 185.6 kB / 402.6 MB, free: 9.031 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.782e-05/0.6084, allocations: 38.56 kB / 402.6 MB, free: 8.984 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.044e-05/0.6085, allocations: 12.92 kB / 402.7 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.6085, allocations: 0 / 402.7 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001353/0.6087, allocations: 55.83 kB / 402.7 MB, free: 8.902 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 3.807e-06/0.6087, allocations: 3.938 kB / 402.7 MB, free: 8.898 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002492/0.6089, allocations: 61.53 kB / 402.8 MB, free: 8.832 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.609, allocations: 59.41 kB / 402.8 MB, free: 8.762 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003611/0.6094, allocations: 222.6 kB / 403 MB, free: 8.531 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.6094, allocations: 29.7 kB / 403.1 MB, free: 8.496 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.44e-05/0.6095, allocations: 162.6 kB / 403.2 MB, free: 8.336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.6095, allocations: 19.83 kB / 403.3 MB, free: 8.316 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.444e-06/0.6096, allocations: 0 / 403.3 MB, free: 8.316 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.6097, allocations: 318.8 kB / 403.6 MB, free: 7.996 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.59e-05/0.6098, allocations: 20 kB / 403.6 MB, free: 7.977 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.707e-05/0.6098, allocations: 15.98 kB / 403.6 MB, free: 7.961 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.58e-05/0.61, allocations: 53.69 kB / 403.7 MB, free: 7.902 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.61, allocations: 0 / 403.7 MB, free: 7.902 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002521/0.6102, allocations: 107.4 kB / 403.8 MB, free: 7.785 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.012e-05/0.6103, allocations: 37.69 kB / 403.8 MB, free: 7.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.6103, allocations: 3.984 kB / 403.8 MB, free: 7.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.6103, allocations: 4 kB / 403.8 MB, free: 7.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.6104, allocations: 7.938 kB / 403.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.6105, allocations: 0 / 403.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.163e-05/0.6106, allocations: 4 kB / 403.8 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.311e-05/0.6106, allocations: 4 kB / 403.8 MB, free: 7.719 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.857e-05/0.6107, allocations: 112.9 kB / 403.9 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.697e-05/0.6107, allocations: 15.81 kB / 403.9 MB, free: 7.586 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002291/0.611, allocations: 74.61 kB / 404 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.611, allocations: 3.938 kB / 404 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.611, allocations: 0 / 404 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.611, allocations: 0 / 404 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002256/0.6113, allocations: 193.6 kB / 404.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6113, allocations: 0 / 404.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.48e-05/0.6113, allocations: 7.984 kB / 404.2 MB, free: 7.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.6113, allocations: 4 kB / 404.2 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.6114, allocations: 8 kB / 404.2 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.6114, allocations: 0 / 404.2 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.6114, allocations: 0 / 404.2 MB, free: 7.238 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001939/0.6116, allocations: 92.89 kB / 404.3 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.752e-05/0.6117, allocations: 93 kB / 404.4 MB, free: 7.02 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.554e-05/0.6117, allocations: 4 kB / 404.4 MB, free: 7.016 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.143e-05/0.6118, allocations: 7.938 kB / 404.4 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.565e-05/0.6119, allocations: 7.984 kB / 404.4 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.6119, allocations: 4 kB / 404.4 MB, free: 6.996 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002583/0.6122, allocations: 181.1 kB / 404.6 MB, free: 6.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6122, allocations: 0 / 404.6 MB, free: 6.82 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003412/0.6125, allocations: 35.94 kB / 404.6 MB, free: 6.785 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.001368/0.6139, allocations: 0.8402 MB / 405.5 MB, free: 5.973 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002639/0.6142, allocations: 103.3 kB / 405.6 MB, free: 5.859 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.6142, allocations: 0 / 405.6 MB, free: 5.859 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.759e-05/0.6143, allocations: 12 kB / 405.6 MB, free: 5.848 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000307/0.6146, allocations: 16.11 kB / 405.6 MB, free: 5.828 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000788/0.6154, allocations: 285.1 kB / 405.9 MB, free: 5.512 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003693/0.6158, allocations: 0.7121 MB / 406.6 MB, free: 4.773 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.465e-05/0.6159, allocations: 31.42 kB / 406.6 MB, free: 4.742 MB / 330.7 MB Notification: Performance of SimCode: time 1.202e-06/0.6159, allocations: 0 / 406.6 MB, free: 4.742 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_Test63CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test63CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test63CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test63FMU.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_Test63.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test63CalcHelperMain.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_Test63_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test63.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test63.fmu] Error 1