Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.128/2.128, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.645e-05, allocations: 4 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1019, allocations: 48.71 MB / 321.9 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4116/0.5135, allocations: 76 MB / 397.9 MB, free: 13.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002741/0.5139, allocations: 75.12 kB / 397.9 MB, free: 13.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0225/0.5364, allocations: 4.769 MB / 402.7 MB, free: 8.973 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.5364, allocations: 0 / 402.7 MB, free: 8.973 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.5365, allocations: 4 kB / 402.7 MB, free: 8.969 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.0005907/0.5371, allocations: 408 kB / 403.1 MB, free: 8.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.226e-05/0.5371, allocations: 12.03 kB / 403.1 MB, free: 8.508 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.47e-05/0.5372, allocations: 34.56 kB / 403.2 MB, free: 8.465 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.284e-05/0.5373, allocations: 11.89 kB / 403.2 MB, free: 8.453 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.5376, allocations: 190.8 kB / 403.4 MB, free: 8.227 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.5376, allocations: 8 kB / 403.4 MB, free: 8.219 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.5376, allocations: 0 / 403.4 MB, free: 8.219 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.5378, allocations: 59.41 kB / 403.4 MB, free: 8.148 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.5378, allocations: 0 / 403.4 MB, free: 8.148 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.353e-05/0.5379, allocations: 0 / 403.4 MB, free: 8.148 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5379, allocations: 0 / 403.4 MB, free: 8.148 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.384e-05/0.538, allocations: 19.98 kB / 403.4 MB, free: 8.129 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.5385, allocations: 284.9 kB / 403.7 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002602/0.5388, allocations: 46.5 kB / 403.8 MB, free: 7.746 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/0.5388, allocations: 12.86 kB / 403.8 MB, free: 7.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.5389, allocations: 3.938 kB / 403.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000171/0.539, allocations: 55.48 kB / 403.8 MB, free: 7.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.595e-06/0.5391, allocations: 0 / 403.8 MB, free: 7.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005256/0.5396, allocations: 117.3 kB / 403.9 MB, free: 7.539 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.038e-05/0.5397, allocations: 77.11 kB / 404 MB, free: 7.445 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001865/0.5399, allocations: 128.9 kB / 404.2 MB, free: 7.312 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.5399, allocations: 25.7 kB / 404.2 MB, free: 7.281 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.102e-05/0.54, allocations: 162.5 kB / 404.3 MB, free: 7.121 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.245e-05/0.5401, allocations: 15.75 kB / 404.3 MB, free: 7.105 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-06/0.5401, allocations: 7.938 kB / 404.4 MB, free: 7.098 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.5402, allocations: 314.8 kB / 404.7 MB, free: 6.781 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.186e-05/0.5403, allocations: 27.98 kB / 404.7 MB, free: 6.754 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.252e-05/0.5404, allocations: 29.72 kB / 404.7 MB, free: 6.719 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00011/0.5405, allocations: 57.62 kB / 404.8 MB, free: 6.656 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.5405, allocations: 0 / 404.8 MB, free: 6.656 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002821/0.5408, allocations: 111.4 kB / 404.9 MB, free: 6.535 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.645e-05/0.5409, allocations: 33.69 kB / 404.9 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.5409, allocations: 0 / 404.9 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.5409, allocations: 0 / 404.9 MB, free: 6.496 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.402e-05/0.541, allocations: 8 kB / 404.9 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.4e-05/0.5411, allocations: 15.92 kB / 404.9 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.516e-05/0.5412, allocations: 0 / 404.9 MB, free: 6.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.5412, allocations: 8 kB / 405 MB, free: 6.465 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.0001006/0.5413, allocations: 105 kB / 405.1 MB, free: 6.355 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.194e-05/0.5413, allocations: 11.98 kB / 405.1 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.5416, allocations: 89.7 kB / 405.2 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.5417, allocations: 144 / 405.2 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5417, allocations: 0 / 405.2 MB, free: 6.254 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.5417, allocations: 12.06 kB / 405.2 MB, free: 6.242 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004991/0.5422, allocations: 342.5 kB / 405.5 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.5422, allocations: 0 / 405.5 MB, free: 5.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.578e-05/0.5423, allocations: 8 kB / 405.5 MB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.5423, allocations: 0 / 405.5 MB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.286e-05/0.5424, allocations: 0 / 405.5 MB, free: 5.844 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.612e-06/0.5424, allocations: 3.953 kB / 405.5 MB, free: 5.84 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.5424, allocations: 7.984 kB / 405.5 MB, free: 5.832 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002634/0.5427, allocations: 171.5 kB / 405.7 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.611e-05/0.5428, allocations: 89 kB / 405.8 MB, free: 5.543 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.5428, allocations: 7.938 kB / 405.8 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001404/0.5429, allocations: 0 / 405.8 MB, free: 5.535 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.929e-05/0.543, allocations: 11.95 kB / 405.8 MB, free: 5.523 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.543, allocations: 0 / 405.8 MB, free: 5.523 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000145/0.5432, allocations: 104.5 kB / 405.9 MB, free: 5.422 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5432, allocations: 4 kB / 405.9 MB, free: 5.418 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004526/0.5437, allocations: 51.84 kB / 405.9 MB, free: 5.367 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.001771/0.5455, allocations: 1.016 MB / 407 MB, free: 4.387 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003161/0.5458, allocations: 107.4 kB / 407.1 MB, free: 4.27 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.5458, allocations: 0 / 407.1 MB, free: 4.27 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/0.5459, allocations: 20 kB / 407.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.5463, allocations: 24.08 kB / 407.1 MB, free: 4.227 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.002774/0.5491, allocations: 0.7431 MB / 407.9 MB, free: 3.438 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.5494, allocations: 0.6965 MB / 408.6 MB, free: 2.715 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.5496, allocations: 27.42 kB / 408.6 MB, free: 2.688 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5496, allocations: 4 kB / 408.6 MB, free: 2.684 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_Test59CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test59CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test59CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test59FMU.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_Test59.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test59CalcHelperMain.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_Test59_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test59.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test59.fmu] Error 1