Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test63,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test63",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.001/2.001, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.911e-05/3.919e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1149, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4621/0.5771, allocations: 75.62 MB / 397.4 MB, free: 14.21 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.5774, allocations: 67.95 kB / 397.5 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01757/0.595, allocations: 4.141 MB / 401.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.595, allocations: 0 / 401.7 MB, free: 10.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.535e-05/0.5951, allocations: 0 / 401.7 MB, free: 10.01 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005731/0.5957, allocations: 423.9 kB / 402.1 MB, free: 9.543 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.5957, allocations: 15.95 kB / 402.1 MB, free: 9.527 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.68e-05/0.5958, allocations: 38.5 kB / 402.1 MB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.5958, allocations: 7.906 kB / 402.1 MB, free: 9.473 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.5962, allocations: 206.8 kB / 402.3 MB, free: 9.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.44e-05/0.5962, allocations: 4 kB / 402.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/0.5962, allocations: 0 / 402.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001133/0.5964, allocations: 45.67 kB / 402.4 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.5964, allocations: 0 / 402.4 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.5964, allocations: 0 / 402.4 MB, free: 9.176 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.5964, allocations: 4 kB / 402.4 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.789e-05/0.5965, allocations: 12 kB / 402.4 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002586/0.5968, allocations: 189.6 kB / 402.6 MB, free: 8.926 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.749e-05/0.5969, allocations: 34.5 kB / 402.6 MB, free: 8.883 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.097e-05/0.5969, allocations: 12.92 kB / 402.6 MB, free: 8.867 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.5969, allocations: 7.984 kB / 402.6 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001411/0.5971, allocations: 55.84 kB / 402.7 MB, free: 8.793 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.873e-06/0.5971, allocations: 0 / 402.7 MB, free: 8.793 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002292/0.5973, allocations: 65.52 kB / 402.8 MB, free: 8.723 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.5974, allocations: 55.41 kB / 402.8 MB, free: 8.656 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003601/0.5978, allocations: 222.6 kB / 403 MB, free: 8.426 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.093e-05/0.5978, allocations: 25.7 kB / 403.1 MB, free: 8.395 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.965e-05/0.5979, allocations: 166.6 kB / 403.2 MB, free: 8.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.822e-05/0.5979, allocations: 11.84 kB / 403.2 MB, free: 8.219 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-06/0.598, allocations: 8 kB / 403.2 MB, free: 8.211 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.5981, allocations: 314.8 kB / 403.5 MB, free: 7.895 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.877e-05/0.5982, allocations: 23.98 kB / 403.6 MB, free: 7.871 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-05/0.5982, allocations: 12 kB / 403.6 MB, free: 7.859 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.347e-05/0.5983, allocations: 49.69 kB / 403.6 MB, free: 7.805 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5984, allocations: 0 / 403.6 MB, free: 7.805 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002441/0.5986, allocations: 111.3 kB / 403.7 MB, free: 7.684 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.808e-05/0.5987, allocations: 33.69 kB / 403.8 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5987, allocations: 0 / 403.8 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.5987, allocations: 4 kB / 403.8 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.797e-05/0.5988, allocations: 11.94 kB / 403.8 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.383e-06/0.5988, allocations: 0 / 403.8 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.001e-05/0.5989, allocations: 4 kB / 403.8 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.319e-05/0.599, allocations: 3.938 kB / 403.8 MB, free: 7.621 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 (5): * Single equations (assignments): 4 * 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.965e-05/0.5991, allocations: 112.9 kB / 403.9 MB, free: 7.504 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.867e-05/0.5991, allocations: 15.81 kB / 403.9 MB, free: 7.488 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.5993, allocations: 78.53 kB / 404 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5993, allocations: 0 / 404 MB, free: 7.398 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.5994, allocations: 4 kB / 404 MB, free: 7.395 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.5994, allocations: 0 / 404 MB, free: 7.395 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002089/0.5996, allocations: 197.6 kB / 404.2 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.5996, allocations: 0 / 404.2 MB, free: 7.152 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.858e-05/0.5997, allocations: 4 kB / 404.2 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.105e-06/0.5997, allocations: 0 / 404.2 MB, free: 7.148 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.5997, allocations: 4 kB / 404.2 MB, free: 7.145 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/0.5997, allocations: 4.109 kB / 404.2 MB, free: 7.141 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.5997, allocations: 4 kB / 404.2 MB, free: 7.137 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.5999, allocations: 96.89 kB / 404.3 MB, free: 7.023 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.778e-05/0.6, allocations: 93.14 kB / 404.4 MB, free: 6.914 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.646e-05/0.6001, allocations: 7.984 kB / 404.4 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.628e-05/0.6001, allocations: 4 kB / 404.4 MB, free: 6.902 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.6002, allocations: 4 kB / 404.4 MB, free: 6.898 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.6002, allocations: 0 / 404.4 MB, free: 6.898 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002557/0.6005, allocations: 189.1 kB / 404.6 MB, free: 6.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.6005, allocations: 4 kB / 404.6 MB, free: 6.711 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003389/0.6008, allocations: 35.92 kB / 404.6 MB, free: 6.676 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 (4): * Single equations (assignments): 3 * 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.001259/0.6021, allocations: 0.8392 MB / 405.5 MB, free: 5.863 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.6024, allocations: 95.34 kB / 405.6 MB, free: 5.758 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.6024, allocations: 0 / 405.6 MB, free: 5.758 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.032e-05/0.6025, allocations: 19.98 kB / 405.6 MB, free: 5.738 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002844/0.6028, allocations: 12.19 kB / 405.6 MB, free: 5.723 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.6035, allocations: 281.1 kB / 405.9 MB, free: 5.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.6039, allocations: 0.716 MB / 406.6 MB, free: 4.668 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.085e-05/0.604, allocations: 35.36 kB / 406.6 MB, free: 4.633 MB / 330.7 MB Notification: Performance of SimCode: time 9.92e-07/0.604, allocations: 0 / 406.6 MB, free: 4.633 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_Test63CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test63CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test63CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test63FMU.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_Test63.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test63CalcHelperMain.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_Test63_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test63.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test63.fmu] Error 1