Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test56,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test56",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.29/2.29, allocations: 209.3 MB / 221.9 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.592e-05/4.607e-05, allocations: 8 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1295, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4445/0.5741, allocations: 76 MB / 397.8 MB, free: 13.93 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.5745, allocations: 63.97 kB / 397.9 MB, free: 13.86 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02151/0.596, allocations: 4.766 MB / 402.7 MB, free: 9.113 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.713e-06/0.596, allocations: 0 / 402.7 MB, free: 9.113 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.5961, allocations: 0 / 402.7 MB, free: 9.113 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.0006336/0.5967, allocations: 420 kB / 403.1 MB, free: 8.652 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.5968, allocations: 8.031 kB / 403.1 MB, free: 8.645 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.039e-05/0.5968, allocations: 30.56 kB / 403.1 MB, free: 8.605 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.726e-05/0.5969, allocations: 7.906 kB / 403.1 MB, free: 8.598 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003143/0.5972, allocations: 194.8 kB / 403.3 MB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.77e-05/0.5973, allocations: 7.984 kB / 403.3 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.241e-05/0.5973, allocations: 12 kB / 403.3 MB, free: 8.348 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.5975, allocations: 55.41 kB / 403.4 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5975, allocations: 0 / 403.4 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.418e-05/0.5975, allocations: 0 / 403.4 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.715e-06/0.5976, allocations: 0 / 403.4 MB, free: 8.281 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.081e-05/0.5976, allocations: 23.91 kB / 403.4 MB, free: 8.258 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005101/0.5982, allocations: 280.9 kB / 403.7 MB, free: 7.934 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002589/0.5984, allocations: 46.56 kB / 403.7 MB, free: 7.879 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.268e-05/0.5985, allocations: 8.859 kB / 403.7 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.561e-05/0.5985, allocations: 0 / 403.7 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.5987, allocations: 67.42 kB / 403.8 MB, free: 7.789 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.944e-06/0.5987, allocations: 0 / 403.8 MB, free: 7.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005002/0.5992, allocations: 113.3 kB / 403.9 MB, free: 7.672 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.059e-05/0.5993, allocations: 77.11 kB / 404 MB, free: 7.578 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001923/0.5996, allocations: 128.9 kB / 404.1 MB, free: 7.445 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.69e-05/0.5996, allocations: 29.7 kB / 404.1 MB, free: 7.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.909e-05/0.5997, allocations: 162.5 kB / 404.3 MB, free: 7.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.5997, allocations: 15.73 kB / 404.3 MB, free: 7.234 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.999e-06/0.5998, allocations: 4 kB / 404.3 MB, free: 7.23 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5999, allocations: 318.8 kB / 404.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.026e-05/0.6, allocations: 16 kB / 404.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.471e-05/0.6001, allocations: 41.64 kB / 404.7 MB, free: 6.848 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000105/0.6002, allocations: 53.69 kB / 404.7 MB, free: 6.789 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.6002, allocations: 0 / 404.7 MB, free: 6.789 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002955/0.6005, allocations: 119.4 kB / 404.9 MB, free: 6.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.137e-05/0.6006, allocations: 29.7 kB / 404.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.6006, allocations: 3.984 kB / 404.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.6007, allocations: 0 / 404.9 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.533e-05/0.6008, allocations: 12 kB / 404.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.6008, allocations: 7.953 kB / 404.9 MB, free: 6.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.981e-05/0.6009, allocations: 4.031 kB / 404.9 MB, free: 6.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.6009, allocations: 4 kB / 404.9 MB, free: 6.594 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 0.0001072/0.601, allocations: 108.9 kB / 405 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.088e-05/0.6011, allocations: 11.91 kB / 405 MB, free: 6.469 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002907/0.6014, allocations: 85.75 kB / 405.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.6014, allocations: 0 / 405.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.6014, allocations: 0 / 405.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.914e-06/0.6014, allocations: 3.953 kB / 405.1 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005117/0.6019, allocations: 346.5 kB / 405.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.602, allocations: 0 / 405.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.758e-05/0.602, allocations: 8 kB / 405.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.6021, allocations: 0 / 405.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.6021, allocations: 0 / 405.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.048e-05/0.6021, allocations: 8.141 kB / 405.5 MB, free: 5.969 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.6021, allocations: 4 kB / 405.5 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002588/0.6024, allocations: 175.4 kB / 405.7 MB, free: 5.777 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.622e-05/0.6025, allocations: 84.95 kB / 405.7 MB, free: 5.676 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.818e-05/0.6025, allocations: 11.98 kB / 405.7 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.924e-05/0.6026, allocations: 0 / 405.7 MB, free: 5.664 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.87e-05/0.6027, allocations: 7.953 kB / 405.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.168e-05/0.6027, allocations: 0 / 405.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000134/0.6028, allocations: 112.5 kB / 405.9 MB, free: 5.547 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.6028, allocations: 0 / 405.9 MB, free: 5.547 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004188/0.6033, allocations: 47.86 kB / 405.9 MB, free: 5.5 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.001825/0.6051, allocations: 1.033 MB / 406.9 MB, free: 4.508 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003109/0.6055, allocations: 107.4 kB / 407 MB, free: 4.391 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.6055, allocations: 4 kB / 407.1 MB, free: 4.387 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.279e-05/0.6056, allocations: 19.94 kB / 407.1 MB, free: 4.367 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003338/0.6059, allocations: 15.94 kB / 407.1 MB, free: 4.352 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002735/0.6087, allocations: 0.7354 MB / 407.8 MB, free: 3.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.6091, allocations: 0.7004 MB / 408.5 MB, free: 2.844 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000105/0.6092, allocations: 31.42 kB / 408.6 MB, free: 2.812 MB / 330.7 MB Notification: Performance of SimCode: time 8.266e-06/0.6092, allocations: 0 / 408.6 MB, free: 2.812 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_Test56CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test56FMU.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_Test56.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test56CalcHelperMain.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" -lModelicaExternalC -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_Test56_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test56.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test56.fmu] Error 1