Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test8,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test8",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.136/2.136, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 8.634e-05/8.655e-05, allocations: 12 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1241, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4488/0.573, allocations: 75.79 MB / 397.6 MB, free: 14.04 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/0.5734, allocations: 67.97 kB / 397.7 MB, free: 13.97 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02075/0.5942, allocations: 4.525 MB / 402.2 MB, free: 9.449 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.5942, allocations: 0 / 402.2 MB, free: 9.449 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.175e-05/0.5942, allocations: 7.938 kB / 402.2 MB, free: 9.441 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006352/0.5949, allocations: 432.4 kB / 402.7 MB, free: 8.969 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.595, allocations: 12.03 kB / 402.7 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.802e-05/0.595, allocations: 34.56 kB / 402.7 MB, free: 8.914 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.961e-05/0.5951, allocations: 19.77 kB / 402.7 MB, free: 8.895 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003576/0.5955, allocations: 206.9 kB / 402.9 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.5955, allocations: 0 / 402.9 MB, free: 8.652 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.226e-05/0.5955, allocations: 11.88 kB / 402.9 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001516/0.5957, allocations: 53.67 kB / 403 MB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5957, allocations: 0 / 403 MB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.5958, allocations: 0 / 403 MB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.5958, allocations: 7.984 kB / 403 MB, free: 8.574 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.5959, allocations: 23.92 kB / 403 MB, free: 8.551 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006244/0.5965, allocations: 328.8 kB / 403.4 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.5967, allocations: 50.5 kB / 403.4 MB, free: 8.121 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.027e-05/0.5968, allocations: 16.86 kB / 403.4 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.5968, allocations: 0 / 403.4 MB, free: 8.102 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001628/0.597, allocations: 63.48 kB / 403.5 MB, free: 8.027 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 4.278e-06/0.597, allocations: 4 kB / 403.5 MB, free: 8.023 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.000601/0.5976, allocations: 145.1 kB / 403.6 MB, free: 7.875 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.5977, allocations: 55.41 kB / 403.7 MB, free: 7.809 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003678/0.5981, allocations: 213.8 kB / 403.9 MB, free: 7.59 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.5981, allocations: 29.7 kB / 403.9 MB, free: 7.555 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000104/0.5982, allocations: 162.6 kB / 404.1 MB, free: 7.395 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.884e-05/0.5983, allocations: 19.75 kB / 404.1 MB, free: 7.375 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/0.5983, allocations: 0 / 404.1 MB, free: 7.375 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5984, allocations: 322.8 kB / 404.4 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.091e-05/0.5985, allocations: 28 kB / 404.4 MB, free: 7.023 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.586e-05/0.5986, allocations: 24 kB / 404.5 MB, free: 7 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001328/0.5988, allocations: 57.69 kB / 404.5 MB, free: 6.938 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5988, allocations: 0 / 404.5 MB, free: 6.938 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003502/0.5992, allocations: 147.2 kB / 404.7 MB, free: 6.781 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.199e-05/0.5992, allocations: 33.7 kB / 404.7 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.5992, allocations: 96 / 404.7 MB, free: 6.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.5993, allocations: 7.938 kB / 404.7 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.5994, allocations: 11.95 kB / 404.7 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.886e-06/0.5994, allocations: 0 / 404.7 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001004/0.5995, allocations: 11.98 kB / 404.7 MB, free: 6.711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.5996, allocations: 4 kB / 404.7 MB, free: 6.707 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 (8): * Single equations (assignments): 7 * 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.0001067/0.5997, allocations: 112.9 kB / 404.8 MB, free: 6.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.644e-05/0.5997, allocations: 7.906 kB / 404.8 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004003/0.6002, allocations: 115.1 kB / 405 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.6002, allocations: 0 / 405 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.6002, allocations: 3.953 kB / 405 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.6002, allocations: 0 / 405 MB, free: 6.457 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006513/0.6009, allocations: 406.7 kB / 405.4 MB, free: 6.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.6009, allocations: 4 kB / 405.4 MB, free: 6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.662e-05/0.601, allocations: 11.98 kB / 405.4 MB, free: 5.988 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.601, allocations: 3.938 kB / 405.4 MB, free: 5.984 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.711e-05/0.601, allocations: 7.953 kB / 405.4 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.466e-06/0.6011, allocations: 0 / 405.4 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6011, allocations: 0 / 405.4 MB, free: 5.977 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.6014, allocations: 203.6 kB / 405.6 MB, free: 5.762 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.818e-05/0.6015, allocations: 93 kB / 405.7 MB, free: 5.652 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.023e-05/0.6015, allocations: 4 kB / 405.7 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001113/0.6017, allocations: 7.953 kB / 405.7 MB, free: 5.641 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.6017, allocations: 4 kB / 405.7 MB, free: 5.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.582e-05/0.6018, allocations: 3.984 kB / 405.7 MB, free: 5.633 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002583/0.602, allocations: 171.2 kB / 405.9 MB, free: 5.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.602, allocations: 3.938 kB / 405.9 MB, free: 5.461 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004527/0.6025, allocations: 43.92 kB / 405.9 MB, free: 5.418 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 (8): * Single equations (assignments): 7 * 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.001565/0.6041, allocations: 0.9596 MB / 406.9 MB, free: 4.492 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003376/0.6045, allocations: 135.3 kB / 407 MB, free: 4.348 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.6045, allocations: 0 / 407 MB, free: 4.348 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.111e-05/0.6046, allocations: 23.98 kB / 407 MB, free: 4.324 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003674/0.605, allocations: 20.12 kB / 407 MB, free: 4.301 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008969/0.6059, allocations: 300.8 kB / 407.3 MB, free: 3.965 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000358/0.6063, allocations: 0.7199 MB / 408.1 MB, free: 3.219 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001198/0.6064, allocations: 39.42 kB / 408.1 MB, free: 3.18 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.6064, allocations: 0 / 408.1 MB, free: 3.18 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_Test8CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test8CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test8CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test8FMU.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_Test8.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test8CalcHelperMain.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_Test8_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test8.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test8.fmu] Error 1