Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test6,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.902/1.902, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.246e-05, allocations: 0 / 273.2 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4361/0.5389, allocations: 74.49 MB / 396.4 MB, free: 15.33 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/0.5393, allocations: 71.11 kB / 396.4 MB, free: 15.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01467/0.554, allocations: 3.257 MB / 399.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.979e-06/0.554, allocations: 0 / 399.7 MB, free: 12.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.661e-05/0.5541, allocations: 3.938 kB / 399.7 MB, free: 12.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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005779/0.5546, allocations: 423.9 kB / 400.1 MB, free: 11.54 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.5547, allocations: 12.03 kB / 400.1 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.723e-05/0.5548, allocations: 34.56 kB / 400.1 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.897e-05/0.5548, allocations: 11.81 kB / 400.2 MB, free: 11.48 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.5552, allocations: 206.8 kB / 400.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.5552, allocations: 0 / 400.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.679e-05/0.5552, allocations: 4 kB / 400.4 MB, free: 11.23 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001633/0.5554, allocations: 53.67 kB / 400.4 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.5554, allocations: 0 / 400.4 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.5555, allocations: 4 kB / 400.4 MB, free: 11.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.5555, allocations: 8 kB / 400.4 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001236/0.5556, allocations: 23.92 kB / 400.4 MB, free: 11.14 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.5562, allocations: 304.8 kB / 400.7 MB, free: 10.79 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.5563, allocations: 43.95 kB / 400.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.716e-05/0.5564, allocations: 12.98 kB / 400.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.25e-05/0.5564, allocations: 4 kB / 400.8 MB, free: 10.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.687e-05/0.5565, allocations: 46.44 kB / 400.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 2.093e-06/0.5565, allocations: 0 / 400.9 MB, free: 10.66 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006816/0.5572, allocations: 149.1 kB / 401 MB, free: 10.51 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.162e-05/0.5572, allocations: 51.41 kB / 401 MB, free: 10.45 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003508/0.5576, allocations: 202.4 kB / 401.2 MB, free: 10.24 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.5577, allocations: 25.7 kB / 401.3 MB, free: 10.21 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.5578, allocations: 170.8 kB / 401.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.341e-05/0.5578, allocations: 31.53 kB / 401.5 MB, free: 10 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/0.5578, allocations: 4 kB / 401.5 MB, free: 10 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.558, allocations: 310.8 kB / 401.8 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.035e-05/0.5581, allocations: 20 kB / 401.8 MB, free: 9.668 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.198e-05/0.5582, allocations: 20 kB / 401.8 MB, free: 9.648 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001002/0.5583, allocations: 53.81 kB / 401.9 MB, free: 9.59 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.5583, allocations: 0 / 401.9 MB, free: 9.59 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002641/0.5586, allocations: 111.3 kB / 402 MB, free: 9.469 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.379e-05/0.5586, allocations: 33.7 kB / 402 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5586, allocations: 192 / 402 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.5587, allocations: 4 kB / 402 MB, free: 9.426 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001995/0.5589, allocations: 27.98 kB / 402 MB, free: 9.398 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.5589, allocations: 3.953 kB / 402 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.698e-05/0.559, allocations: 7.984 kB / 402.1 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.652e-05/0.559, allocations: 4 kB / 402.1 MB, free: 9.383 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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.956e-05/0.5591, allocations: 109 kB / 402.2 MB, free: 9.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.5592, allocations: 19.75 kB / 402.2 MB, free: 9.25 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003378/0.5596, allocations: 99.27 kB / 402.3 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5596, allocations: 4 kB / 402.3 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5596, allocations: 0 / 402.3 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.5596, allocations: 7.938 kB / 402.3 MB, free: 9.129 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006648/0.5603, allocations: 390.5 kB / 402.7 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.5603, allocations: 0 / 402.7 MB, free: 8.691 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.5605, allocations: 23.98 kB / 402.7 MB, free: 8.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.5605, allocations: 3.938 kB / 402.7 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.5605, allocations: 0 / 402.7 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-06/0.5605, allocations: 7.953 kB / 402.7 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5605, allocations: 0 / 402.7 MB, free: 8.656 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002631/0.5608, allocations: 179.4 kB / 402.9 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.213e-05/0.5609, allocations: 93 kB / 403 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.902e-05/0.561, allocations: 8 kB / 403 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001209/0.5611, allocations: 4 kB / 403 MB, free: 8.344 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.5612, allocations: 15.88 kB / 403 MB, free: 8.328 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.5612, allocations: 4 kB / 403 MB, free: 8.324 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002411/0.5614, allocations: 160.9 kB / 403.2 MB, free: 8.168 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.52e-07/0.5615, allocations: 0 / 403.2 MB, free: 8.168 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000364/0.5618, allocations: 28 kB / 403.2 MB, free: 8.141 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001208/0.563, allocations: 0.8452 MB / 404 MB, free: 7.316 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002544/0.5633, allocations: 103.3 kB / 404.1 MB, free: 7.203 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5634, allocations: 4 kB / 404.1 MB, free: 7.199 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.482e-05/0.5634, allocations: 28 kB / 404.2 MB, free: 7.172 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.5638, allocations: 19.84 kB / 404.2 MB, free: 7.152 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008306/0.5646, allocations: 268.7 kB / 404.4 MB, free: 6.848 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.565, allocations: 0.7121 MB / 405.2 MB, free: 6.109 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001059/0.5651, allocations: 35.42 kB / 405.2 MB, free: 6.074 MB / 330.7 MB Notification: Performance of SimCode: time 9.72e-07/0.5651, allocations: 0 / 405.2 MB, free: 6.074 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_CombiTable1Ds_Test6CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6FMU.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_CombiTable1Ds_Test6.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6CalcHelperMain.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_CombiTable1Ds_Test6_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test6.fmu] Error 1