Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test64,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.084/2.084, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.845e-05/3.849e-05, allocations: 4 kB / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1063, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4791/0.5855, allocations: 75.62 MB / 397.5 MB, free: 14.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.5859, allocations: 67.97 kB / 397.6 MB, free: 14.11 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01843/0.6043, allocations: 4.133 MB / 401.7 MB, free: 9.988 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.614e-06/0.6044, allocations: 0 / 401.7 MB, free: 9.988 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.6044, allocations: 0 / 401.7 MB, free: 9.988 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.0006262/0.605, allocations: 419.9 kB / 402.1 MB, free: 9.527 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.974e-05/0.6051, allocations: 19.97 kB / 402.1 MB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.165e-05/0.6052, allocations: 30.56 kB / 402.1 MB, free: 9.469 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001043/0.6053, allocations: 11.89 kB / 402.2 MB, free: 9.457 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003747/0.6057, allocations: 214.7 kB / 402.4 MB, free: 9.207 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.517e-05/0.6057, allocations: 4 kB / 402.4 MB, free: 9.203 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.6058, allocations: 4 kB / 402.4 MB, free: 9.199 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.6059, allocations: 33.69 kB / 402.4 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.346e-06/0.6059, allocations: 0 / 402.4 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.6059, allocations: 0 / 402.4 MB, free: 9.16 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.606, allocations: 4 kB / 402.4 MB, free: 9.156 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.819e-05/0.606, allocations: 12 kB / 402.4 MB, free: 9.145 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002687/0.6063, allocations: 205.5 kB / 402.6 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.074e-05/0.6064, allocations: 26.58 kB / 402.6 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.61e-05/0.6065, allocations: 16.91 kB / 402.7 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.6065, allocations: 0 / 402.7 MB, free: 8.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.6067, allocations: 55.84 kB / 402.7 MB, free: 8.773 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.684e-06/0.6067, allocations: 0 / 402.7 MB, free: 8.773 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002337/0.6069, allocations: 65.52 kB / 402.8 MB, free: 8.703 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.607, allocations: 55.41 kB / 402.8 MB, free: 8.637 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003804/0.6074, allocations: 222.6 kB / 403.1 MB, free: 8.406 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.6074, allocations: 29.7 kB / 403.1 MB, free: 8.371 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.531e-05/0.6075, allocations: 166.6 kB / 403.2 MB, free: 8.207 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.6076, allocations: 11.84 kB / 403.3 MB, free: 8.195 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.6076, allocations: 0 / 403.3 MB, free: 8.195 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6077, allocations: 318.8 kB / 403.6 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.505e-05/0.6078, allocations: 20 kB / 403.6 MB, free: 7.855 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.424e-05/0.6079, allocations: 19.97 kB / 403.6 MB, free: 7.836 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.919e-05/0.608, allocations: 53.67 kB / 403.7 MB, free: 7.777 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.608, allocations: 0 / 403.7 MB, free: 7.777 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002342/0.6083, allocations: 107.4 kB / 403.8 MB, free: 7.66 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.189e-05/0.6083, allocations: 29.7 kB / 403.8 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.6083, allocations: 0 / 403.8 MB, free: 7.625 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.6084, allocations: 7.984 kB / 403.8 MB, free: 7.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.845e-05/0.6085, allocations: 11.88 kB / 403.8 MB, free: 7.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.6085, allocations: 4 kB / 403.8 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.673e-05/0.6086, allocations: 4 kB / 403.8 MB, free: 7.598 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.296e-05/0.6086, allocations: 0 / 403.8 MB, free: 7.598 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 9.088e-05/0.6087, allocations: 112.9 kB / 403.9 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.6087, allocations: 15.81 kB / 403.9 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.609, allocations: 70.61 kB / 404 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.609, allocations: 0 / 404 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.609, allocations: 3.984 kB / 404 MB, free: 7.379 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.609, allocations: 4 kB / 404 MB, free: 7.375 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002169/0.6092, allocations: 197.6 kB / 404.2 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.6093, allocations: 0 / 404.2 MB, free: 7.133 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.294e-05/0.6093, allocations: 4 kB / 404.2 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.273e-06/0.6093, allocations: 0 / 404.2 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.6094, allocations: 7.938 kB / 404.2 MB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.6094, allocations: 3.938 kB / 404.2 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6094, allocations: 128 / 404.2 MB, free: 7.117 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001956/0.6096, allocations: 104.9 kB / 404.3 MB, free: 6.996 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.489e-05/0.6097, allocations: 89.02 kB / 404.4 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.478e-05/0.6098, allocations: 7.984 kB / 404.4 MB, free: 6.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.379e-05/0.6098, allocations: 4 kB / 404.4 MB, free: 6.879 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.6099, allocations: 4 kB / 404.4 MB, free: 6.875 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.6099, allocations: 0 / 404.4 MB, free: 6.875 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002723/0.6102, allocations: 181.1 kB / 404.6 MB, free: 6.699 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.6102, allocations: 0 / 404.6 MB, free: 6.699 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003505/0.6106, allocations: 35.94 kB / 404.7 MB, free: 6.664 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.001312/0.6119, allocations: 0.8452 MB / 405.5 MB, free: 5.848 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.6122, allocations: 103.3 kB / 405.6 MB, free: 5.734 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6122, allocations: 0 / 405.6 MB, free: 5.734 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.408e-05/0.6122, allocations: 15.94 kB / 405.6 MB, free: 5.719 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002936/0.6125, allocations: 24.08 kB / 405.6 MB, free: 5.691 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007628/0.6133, allocations: 277.1 kB / 405.9 MB, free: 5.383 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.6137, allocations: 0.716 MB / 406.6 MB, free: 4.641 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.289e-05/0.6138, allocations: 31.42 kB / 406.7 MB, free: 4.609 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.6138, allocations: 0 / 406.7 MB, free: 4.609 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_Test64CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64FMU.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_Test64.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64CalcHelperMain.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_Test64_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test64.fmu] Error 1