Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test33,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test33",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.002/2.002, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.385e-05/4.408e-05, allocations: 8 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1173, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.477/0.5944, allocations: 75.77 MB / 397.6 MB, free: 14.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.5947, allocations: 75.94 kB / 397.7 MB, free: 14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01795/0.6127, allocations: 4.005 MB / 401.7 MB, free: 9.996 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6128, allocations: 4 kB / 401.7 MB, free: 9.992 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.6128, allocations: 0 / 401.7 MB, free: 9.992 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.0005648/0.6134, allocations: 411.9 kB / 402.1 MB, free: 9.539 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.6134, allocations: 8.031 kB / 402.1 MB, free: 9.531 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.895e-05/0.6135, allocations: 46.48 kB / 402.1 MB, free: 9.477 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.6136, allocations: 11.91 kB / 402.2 MB, free: 9.465 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000286/0.6138, allocations: 190.9 kB / 402.3 MB, free: 9.238 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.516e-05/0.6139, allocations: 4 kB / 402.4 MB, free: 9.234 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.854e-05/0.6139, allocations: 7.906 kB / 402.4 MB, free: 9.227 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000134/0.6141, allocations: 49.67 kB / 402.4 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.6141, allocations: 0 / 402.4 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.6141, allocations: 4 kB / 402.4 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.6141, allocations: 0 / 402.4 MB, free: 9.168 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.341e-05/0.6142, allocations: 15.94 kB / 402.4 MB, free: 9.152 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004621/0.6147, allocations: 288.9 kB / 402.7 MB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002523/0.615, allocations: 47.03 kB / 402.8 MB, free: 8.766 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.615, allocations: 16.94 kB / 402.8 MB, free: 8.746 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.6151, allocations: 0 / 402.8 MB, free: 8.746 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.6152, allocations: 59.34 kB / 402.8 MB, free: 8.676 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.104e-06/0.6152, allocations: 0 / 402.8 MB, free: 8.676 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004742/0.6157, allocations: 109.3 kB / 402.9 MB, free: 8.562 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.6158, allocations: 55.41 kB / 403 MB, free: 8.496 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000224/0.616, allocations: 160.9 kB / 403.1 MB, free: 8.332 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.616, allocations: 25.7 kB / 403.2 MB, free: 8.301 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.333e-05/0.6161, allocations: 166.5 kB / 403.3 MB, free: 8.137 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.239e-05/0.6162, allocations: 15.8 kB / 403.3 MB, free: 8.121 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.758e-06/0.6162, allocations: 0 / 403.3 MB, free: 8.121 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.6163, allocations: 326.8 kB / 403.7 MB, free: 7.793 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.907e-05/0.6164, allocations: 27.94 kB / 403.7 MB, free: 7.766 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.373e-05/0.6165, allocations: 23.98 kB / 403.7 MB, free: 7.742 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001078/0.6166, allocations: 61.72 kB / 403.8 MB, free: 7.676 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6166, allocations: 0 / 403.8 MB, free: 7.676 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002847/0.6169, allocations: 127.2 kB / 403.9 MB, free: 7.539 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.231e-05/0.617, allocations: 33.7 kB / 403.9 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.617, allocations: 0 / 403.9 MB, free: 7.5 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.6171, allocations: 3.953 kB / 403.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.543e-05/0.6171, allocations: 8 kB / 403.9 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.6172, allocations: 7.984 kB / 404 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.202e-05/0.6173, allocations: 0 / 404 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.6173, allocations: 4 kB / 404 MB, free: 7.477 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 (7): * Single equations (assignments): 6 * 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.804e-05/0.6174, allocations: 109 kB / 404.1 MB, free: 7.363 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.909e-05/0.6174, allocations: 11.91 kB / 404.1 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002784/0.6177, allocations: 85.7 kB / 404.2 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.6177, allocations: 0 / 404.2 MB, free: 7.266 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.6177, allocations: 7.953 kB / 404.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.6178, allocations: 0 / 404.2 MB, free: 7.258 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.6182, allocations: 346.6 kB / 404.5 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.6183, allocations: 0 / 404.5 MB, free: 6.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.143e-05/0.6183, allocations: 15.94 kB / 404.5 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.6184, allocations: 192 / 404.5 MB, free: 6.848 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.488e-05/0.6184, allocations: 7.953 kB / 404.5 MB, free: 6.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.6184, allocations: 4 kB / 404.5 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.6184, allocations: 0 / 404.5 MB, free: 6.836 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/0.6186, allocations: 171.4 kB / 404.7 MB, free: 6.652 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.094e-05/0.6187, allocations: 89.16 kB / 404.8 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.6188, allocations: 3.984 kB / 404.8 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.525e-05/0.6189, allocations: 11.95 kB / 404.8 MB, free: 6.531 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.142e-05/0.6189, allocations: 3.984 kB / 404.8 MB, free: 6.527 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.619, allocations: 4 kB / 404.8 MB, free: 6.523 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001612/0.6191, allocations: 131.8 kB / 404.9 MB, free: 6.395 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6191, allocations: 0 / 404.9 MB, free: 6.395 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003633/0.6195, allocations: 35.94 kB / 405 MB, free: 6.359 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 (6): * Single equations (assignments): 5 * 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.001415/0.6209, allocations: 0.9486 MB / 405.9 MB, free: 5.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002955/0.6213, allocations: 111.3 kB / 406 MB, free: 5.324 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.6213, allocations: 8 kB / 406 MB, free: 5.316 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.707e-05/0.6214, allocations: 16 kB / 406.1 MB, free: 5.301 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003159/0.6217, allocations: 19.94 kB / 406.1 MB, free: 5.281 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006725/0.6224, allocations: 221.2 kB / 406.3 MB, free: 5.023 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.6227, allocations: 0.7081 MB / 407 MB, free: 4.289 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.717e-05/0.6228, allocations: 27.38 kB / 407 MB, free: 4.262 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6228, allocations: 0 / 407 MB, free: 4.262 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_Test33CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test33CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test33CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test33FMU.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_Test33.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test33CalcHelperMain.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_Test33_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test33.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test33.fmu] Error 1