Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.21/2.21, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.178e-05/4.207e-05, allocations: 8 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4567/0.5687, allocations: 75.99 MB / 397.8 MB, free: 13.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/0.5691, allocations: 75.95 kB / 397.9 MB, free: 13.87 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02237/0.5915, allocations: 4.768 MB / 402.7 MB, free: 9.121 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5915, allocations: 0 / 402.7 MB, free: 9.121 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.623e-05/0.5916, allocations: 7.938 kB / 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.0005839/0.5922, allocations: 412 kB / 403.1 MB, free: 8.66 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.5922, allocations: 12.03 kB / 403.1 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.356e-05/0.5923, allocations: 30.56 kB / 403.1 MB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.044e-05/0.5923, allocations: 11.91 kB / 403.1 MB, free: 8.598 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003074/0.5927, allocations: 190.9 kB / 403.3 MB, free: 8.371 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.5927, allocations: 4 kB / 403.3 MB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.5927, allocations: 0 / 403.3 MB, free: 8.367 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001764/0.5929, allocations: 63.39 kB / 403.4 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.277e-05/0.5929, allocations: 0 / 403.4 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.593, allocations: 0 / 403.4 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.593, allocations: 0 / 403.4 MB, free: 8.293 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.361e-05/0.5931, allocations: 15.94 kB / 403.4 MB, free: 8.277 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004829/0.5936, allocations: 288.9 kB / 403.7 MB, free: 7.945 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.5938, allocations: 38.56 kB / 403.7 MB, free: 7.898 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.131e-05/0.5939, allocations: 20.94 kB / 403.7 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.263e-05/0.5939, allocations: 0 / 403.7 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001651/0.5941, allocations: 63.34 kB / 403.8 MB, free: 7.801 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.003e-06/0.5941, allocations: 0 / 403.8 MB, free: 7.801 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005336/0.5947, allocations: 113.3 kB / 403.9 MB, free: 7.684 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.352e-05/0.5947, allocations: 77.11 kB / 404 MB, free: 7.59 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.5949, allocations: 128.9 kB / 404.1 MB, free: 7.457 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.595, allocations: 29.7 kB / 404.1 MB, free: 7.422 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.946e-05/0.5951, allocations: 158.5 kB / 404.3 MB, free: 7.266 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.5951, allocations: 23.73 kB / 404.3 MB, free: 7.242 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.364e-06/0.5951, allocations: 0 / 404.3 MB, free: 7.242 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5953, allocations: 318.8 kB / 404.6 MB, free: 6.922 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.37e-05/0.5954, allocations: 20 kB / 404.7 MB, free: 6.902 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.772e-05/0.5955, allocations: 41.64 kB / 404.7 MB, free: 6.855 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001063/0.5956, allocations: 45.7 kB / 404.7 MB, free: 6.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.5956, allocations: 96 / 404.7 MB, free: 6.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002851/0.5959, allocations: 123.2 kB / 404.9 MB, free: 6.672 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.873e-05/0.596, allocations: 33.7 kB / 404.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.596, allocations: 0 / 404.9 MB, free: 6.633 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.596, allocations: 4.031 kB / 404.9 MB, free: 6.629 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001063/0.5961, allocations: 11.98 kB / 404.9 MB, free: 6.617 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.5961, allocations: 3.953 kB / 404.9 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-05/0.5962, allocations: 4 kB / 404.9 MB, free: 6.609 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.54e-05/0.5963, allocations: 0 / 404.9 MB, free: 6.609 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.0001168/0.5964, allocations: 112.9 kB / 405 MB, free: 6.492 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.916e-05/0.5964, allocations: 7.906 kB / 405 MB, free: 6.484 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002875/0.5967, allocations: 85.77 kB / 405.1 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.658e-06/0.5967, allocations: 4 kB / 405.1 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.5968, allocations: 0 / 405.1 MB, free: 6.395 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.417e-05/0.5968, allocations: 11.94 kB / 405.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004993/0.5973, allocations: 334.5 kB / 405.5 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.5973, allocations: 4.172 kB / 405.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/0.5974, allocations: 8 kB / 405.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.152e-06/0.5974, allocations: 0 / 405.5 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.234e-05/0.5974, allocations: 4 kB / 405.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.02e-06/0.5975, allocations: 3.953 kB / 405.5 MB, free: 5.98 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5975, allocations: 4 kB / 405.5 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002532/0.5977, allocations: 175.4 kB / 405.7 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.82e-05/0.5978, allocations: 85.02 kB / 405.7 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.5979, allocations: 0 / 405.7 MB, free: 5.688 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.974e-05/0.598, allocations: 3.938 kB / 405.7 MB, free: 5.684 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.295e-05/0.598, allocations: 15.94 kB / 405.8 MB, free: 5.668 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.545e-05/0.5981, allocations: 4 kB / 405.8 MB, free: 5.664 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001249/0.5982, allocations: 108.5 kB / 405.9 MB, free: 5.559 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5982, allocations: 0 / 405.9 MB, free: 5.559 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000454/0.5987, allocations: 51.86 kB / 405.9 MB, free: 5.508 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.001814/0.6005, allocations: 1.024 MB / 406.9 MB, free: 4.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003284/0.6009, allocations: 107.4 kB / 407 MB, free: 4.402 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.6009, allocations: 0 / 407 MB, free: 4.402 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.487e-05/0.601, allocations: 19.94 kB / 407.1 MB, free: 4.383 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.6014, allocations: 23.88 kB / 407.1 MB, free: 4.359 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.002799/0.6042, allocations: 0.7354 MB / 407.8 MB, free: 3.578 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003246/0.6045, allocations: 0.7004 MB / 408.5 MB, free: 2.852 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.691e-05/0.6046, allocations: 27.42 kB / 408.6 MB, free: 2.824 MB / 330.7 MB Notification: Performance of SimCode: time 1.292e-06/0.6046, allocations: 0 / 408.6 MB, free: 2.824 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_Test55CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test55CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test55CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test55FMU.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_Test55.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test55CalcHelperMain.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_Test55_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test55.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test55.fmu] Error 1