Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test68,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test68",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.135/2.135, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.096e-05/4.099e-05, allocations: 8 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1123, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4582/0.5706, allocations: 75.64 MB / 397.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5709, allocations: 63.97 kB / 397.6 MB, free: 14.13 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02323/0.5942, allocations: 5.426 MB / 403 MB, free: 8.711 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.405e-06/0.5942, allocations: 0 / 403 MB, free: 8.711 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.291e-05/0.5943, allocations: 8 kB / 403 MB, free: 8.703 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0009995/0.5953, allocations: 0.6451 MB / 403.6 MB, free: 8 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.5954, allocations: 8.031 kB / 403.7 MB, free: 7.992 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.081e-05/0.5954, allocations: 34.56 kB / 403.7 MB, free: 7.949 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.5956, allocations: 47.39 kB / 403.7 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001018/0.5966, allocations: 447.2 kB / 404.2 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.979e-05/0.5967, allocations: 8 kB / 404.2 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.265e-05/0.5967, allocations: 4 kB / 404.2 MB, free: 7.414 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.5969, allocations: 75.77 kB / 404.3 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.5969, allocations: 0 / 404.3 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.5969, allocations: 0 / 404.3 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.5969, allocations: 0 / 404.3 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.672e-05/0.597, allocations: 19.98 kB / 404.3 MB, free: 7.309 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006206/0.5977, allocations: 382.2 kB / 404.6 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001466/0.5978, allocations: 61.2 kB / 404.7 MB, free: 6.805 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.467e-05/0.5979, allocations: 25.72 kB / 404.7 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.598, allocations: 0 / 404.7 MB, free: 6.773 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002244/0.5982, allocations: 97 kB / 404.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=6): time 1.894e-06/0.5982, allocations: 0 / 404.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004401/0.5987, allocations: 129.1 kB / 405 MB, free: 6.527 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.5987, allocations: 77.11 kB / 405 MB, free: 6.434 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.6007, allocations: 0.8833 MB / 405.9 MB, free: 5.543 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.62e-05/0.6008, allocations: 29.7 kB / 405.9 MB, free: 5.508 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002137/0.601, allocations: 250.5 kB / 406.2 MB, free: 5.262 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.681e-05/0.6011, allocations: 19.8 kB / 406.2 MB, free: 5.242 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.473e-05/0.6011, allocations: 4 kB / 406.2 MB, free: 5.238 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.6012, allocations: 322.8 kB / 406.5 MB, free: 4.914 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001199/0.6014, allocations: 28 kB / 406.6 MB, free: 4.887 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001645/0.6015, allocations: 57.64 kB / 406.6 MB, free: 4.824 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.6017, allocations: 91.39 kB / 406.7 MB, free: 4.723 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.6017, allocations: 0 / 406.7 MB, free: 4.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004546/0.6022, allocations: 201 kB / 406.9 MB, free: 4.508 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.435e-05/0.6023, allocations: 63.39 kB / 407 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.6023, allocations: 4 kB / 407 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.6023, allocations: 0 / 407 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.6025, allocations: 11.94 kB / 407 MB, free: 4.418 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/0.6025, allocations: 7.984 kB / 407 MB, free: 4.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.6027, allocations: 11.94 kB / 407 MB, free: 4.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.6028, allocations: 8 kB / 407 MB, free: 4.391 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: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0001048/0.6029, allocations: 112.9 kB / 407.1 MB, free: 4.273 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001232/0.603, allocations: 47.44 kB / 407.2 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004574/0.6035, allocations: 157.1 kB / 407.3 MB, free: 4.062 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.6035, allocations: 4 kB / 407.3 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.6035, allocations: 0 / 407.3 MB, free: 4.059 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.6035, allocations: 4.109 kB / 407.3 MB, free: 4.055 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004997/0.604, allocations: 369.2 kB / 407.7 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.6041, allocations: 0 / 407.7 MB, free: 3.645 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.007e-05/0.6041, allocations: 8 kB / 407.7 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.6042, allocations: 0 / 407.7 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.676e-05/0.6042, allocations: 3.984 kB / 407.7 MB, free: 3.633 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.6042, allocations: 4.094 kB / 407.7 MB, free: 3.629 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.6042, allocations: 7.938 kB / 407.7 MB, free: 3.621 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003885/0.6046, allocations: 183.2 kB / 407.9 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003547/0.605, allocations: 188.4 kB / 408.1 MB, free: 3.211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.988e-05/0.6051, allocations: 4 kB / 408.1 MB, free: 3.207 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.6052, allocations: 8 kB / 408.1 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.814e-05/0.6053, allocations: 11.98 kB / 408.1 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.6053, allocations: 0 / 408.1 MB, free: 3.188 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001414/0.6068, allocations: 0.7045 MB / 408.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.6068, allocations: 0 / 408.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000556/0.6074, allocations: 91.94 kB / 408.9 MB, free: 2.398 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002021/0.6094, allocations: 1.126 MB / 410 MB, free: 1.309 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004371/0.6099, allocations: 206.7 kB / 410.2 MB, free: 1.082 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.6099, allocations: 0 / 410.2 MB, free: 1.082 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.185e-05/0.61, allocations: 20 kB / 410.2 MB, free: 1.062 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.6105, allocations: 47.69 kB / 410.3 MB, free: 1.02 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002381/0.6129, allocations: 0.8918 MB / 411.2 MB, free: 80 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006471/0.6136, allocations: 0.8388 MB / 412 MB, free: 15.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003739/0.614, allocations: 139.4 kB / 412.1 MB, free: 15.08 MB / 346.7 MB Notification: Performance of SimCode: time 1.262e-06/0.614, allocations: 0 / 412.1 MB, free: 15.08 MB / 346.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_Test68CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test68CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test68CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test68FMU.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_Test68.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test68CalcHelperMain.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_Test68_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test68.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test68.fmu] Error 1