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.028/2.028, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.696e-05/3.706e-05, allocations: 4 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1251/0.1251, allocations: 48.71 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4422/0.5674, allocations: 76.52 MB / 398.4 MB, free: 13.4 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003065/0.5678, allocations: 75.94 kB / 398.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01973/0.5875, allocations: 3.209 MB / 401.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5876, allocations: 4 kB / 401.6 MB, free: 10.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.222e-05/0.5876, allocations: 4 kB / 401.7 MB, free: 10.12 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.0008347/0.5885, allocations: 469.5 kB / 402.1 MB, free: 9.602 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.5885, allocations: 8.031 kB / 402.1 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.092e-05/0.5886, allocations: 38.56 kB / 402.2 MB, free: 9.547 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.651e-05/0.5887, allocations: 7.906 kB / 402.2 MB, free: 9.539 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.5891, allocations: 204.7 kB / 402.4 MB, free: 9.301 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.06e-05/0.5892, allocations: 11.98 kB / 402.4 MB, free: 9.289 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.788e-05/0.5892, allocations: 4 kB / 402.4 MB, free: 9.285 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002436/0.5895, allocations: 65.62 kB / 402.4 MB, free: 9.215 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.5895, allocations: 0 / 402.4 MB, free: 9.215 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.5895, allocations: 4 kB / 402.4 MB, free: 9.211 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.5895, allocations: 4 kB / 402.5 MB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.5897, allocations: 27.98 kB / 402.5 MB, free: 9.18 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009494/0.5907, allocations: 360.5 kB / 402.8 MB, free: 8.777 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003965/0.5911, allocations: 70.66 kB / 402.9 MB, free: 8.699 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.5912, allocations: 28.98 kB / 402.9 MB, free: 8.668 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.5913, allocations: 3.938 kB / 402.9 MB, free: 8.664 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002294/0.5915, allocations: 71.39 kB / 403 MB, free: 8.582 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.945e-06/0.5915, allocations: 3.938 kB / 403 MB, free: 8.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003714/0.5919, allocations: 89.45 kB / 403.1 MB, free: 8.484 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.171e-05/0.592, allocations: 55.39 kB / 403.1 MB, free: 8.418 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.5923, allocations: 145 kB / 403.3 MB, free: 8.273 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.911e-05/0.5923, allocations: 33.64 kB / 403.3 MB, free: 8.234 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001163/0.5924, allocations: 170.5 kB / 403.5 MB, free: 8.066 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.553e-05/0.5925, allocations: 23.73 kB / 403.5 MB, free: 8.043 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.5925, allocations: 4 kB / 403.5 MB, free: 8.039 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002331/0.5928, allocations: 318.8 kB / 403.8 MB, free: 7.719 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.5929, allocations: 24 kB / 403.8 MB, free: 7.695 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.5931, allocations: 37.72 kB / 403.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001724/0.5933, allocations: 66.16 kB / 404 MB, free: 7.582 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.5933, allocations: 4 kB / 404 MB, free: 7.578 MB / 330.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004566/0.5938, allocations: 143.3 kB / 404.1 MB, free: 7.426 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.5938, allocations: 29.7 kB / 404.1 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5939, allocations: 0 / 404.1 MB, free: 7.391 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.5939, allocations: 4 kB / 404.1 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002045/0.5941, allocations: 23.88 kB / 404.2 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029e-05/0.5942, allocations: 0 / 404.2 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001496/0.5943, allocations: 19.84 kB / 404.2 MB, free: 7.344 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.5944, allocations: 7.938 kB / 404.2 MB, free: 7.336 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.0001267/0.5945, allocations: 113 kB / 404.3 MB, free: 7.219 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.5945, allocations: 7.906 kB / 404.3 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004354/0.595, allocations: 102.3 kB / 404.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.595, allocations: 0 / 404.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.595, allocations: 3.953 kB / 404.4 MB, free: 7.105 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.486e-06/0.5951, allocations: 4 kB / 404.4 MB, free: 7.102 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000324/0.5954, allocations: 197.6 kB / 404.6 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5954, allocations: 0 / 404.6 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.5956, allocations: 16 kB / 404.6 MB, free: 6.844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.17e-06/0.5957, allocations: 4 kB / 404.6 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.994e-05/0.5957, allocations: 0 / 404.6 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.5957, allocations: 0 / 404.6 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.5957, allocations: 0 / 404.6 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005122/0.5963, allocations: 157 kB / 404.8 MB, free: 6.668 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.5964, allocations: 85.05 kB / 404.9 MB, free: 6.566 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.537e-05/0.5965, allocations: 7.938 kB / 404.9 MB, free: 6.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.5966, allocations: 16.05 kB / 404.9 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.698e-05/0.5967, allocations: 0 / 404.9 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.175e-05/0.5967, allocations: 4 kB / 404.9 MB, free: 6.539 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000214/0.597, allocations: 123.2 kB / 405 MB, free: 6.418 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.597, allocations: 0 / 405 MB, free: 6.418 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005894/0.5976, allocations: 39.89 kB / 405 MB, free: 6.379 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.002114/0.5997, allocations: 0.8782 MB / 405.9 MB, free: 5.523 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004224/0.6002, allocations: 123.3 kB / 406 MB, free: 5.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.6002, allocations: 0 / 406 MB, free: 5.391 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001337/0.6003, allocations: 31.98 kB / 406.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004642/0.6008, allocations: 19.89 kB / 406.1 MB, free: 5.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.602, allocations: 256 kB / 406.3 MB, free: 5.047 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.6024, allocations: 0.7121 MB / 407.1 MB, free: 4.309 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.6026, allocations: 35.42 kB / 407.1 MB, free: 4.273 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.6026, allocations: 0 / 407.1 MB, free: 4.273 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