Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test28,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.429/2.429, allocations: 235 MB / 247.6 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.105e-05/4.11e-05, allocations: 4 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4041/0.4042, allocations: 54.86 MB / 359.9 MB, free: 2.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.5699, allocations: 80.89 MB / 440.8 MB, free: 100 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/0.5701, allocations: 71.95 kB / 440.8 MB, free: 28 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01348/0.5836, allocations: 3.227 MB / 444 MB, free: 12.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5837, allocations: 0 / 444 MB, free: 12.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.345e-05/0.5837, allocations: 0 / 444 MB, free: 12.82 MB / 378.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.0005071/0.5842, allocations: 412 kB / 444.5 MB, free: 12.37 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/0.5843, allocations: 12.03 kB / 444.5 MB, free: 12.36 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.406e-05/0.5843, allocations: 31.69 kB / 444.5 MB, free: 12.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.966e-05/0.5844, allocations: 15.8 kB / 444.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002913/0.5847, allocations: 203.6 kB / 444.7 MB, free: 12.06 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.373e-05/0.5847, allocations: 4.562 kB / 444.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.5848, allocations: 7.938 kB / 444.7 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001257/0.5849, allocations: 41.69 kB / 444.8 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.5849, allocations: 3.953 kB / 444.8 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.5849, allocations: 0 / 444.8 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.585, allocations: 0 / 444.8 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.589e-05/0.585, allocations: 12.56 kB / 444.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.5855, allocations: 296.1 kB / 445.1 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.5857, allocations: 42.47 kB / 445.1 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.713e-05/0.5858, allocations: 12.86 kB / 445.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.5858, allocations: 0 / 445.1 MB, free: 11.58 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.5859, allocations: 34.66 kB / 445.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.973e-06/0.5859, allocations: 1.594 kB / 445.2 MB, free: 11.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005135/0.5864, allocations: 121.2 kB / 445.3 MB, free: 11.41 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.493e-05/0.5864, allocations: 55.41 kB / 445.3 MB, free: 11.35 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.5868, allocations: 213.4 kB / 445.5 MB, free: 11.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.5868, allocations: 25.7 kB / 445.6 MB, free: 11.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.587, allocations: 162.6 kB / 445.7 MB, free: 10.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.587, allocations: 19.8 kB / 445.7 MB, free: 10.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.362e-06/0.587, allocations: 0 / 445.7 MB, free: 10.92 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001146/0.5872, allocations: 314.8 kB / 446 MB, free: 10.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.724e-05/0.5872, allocations: 12 kB / 446.1 MB, free: 10.59 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.171e-05/0.5873, allocations: 12 kB / 446.1 MB, free: 10.58 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.012e-05/0.5873, allocations: 41.69 kB / 446.1 MB, free: 10.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5874, allocations: 0 / 446.1 MB, free: 10.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.00018/0.5875, allocations: 99.28 kB / 446.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.5876, allocations: 31.42 kB / 446.2 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.5876, allocations: 0 / 446.2 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.5876, allocations: 0 / 446.2 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001367/0.5878, allocations: 25.33 kB / 446.3 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.5878, allocations: 0 / 446.3 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.485e-05/0.5879, allocations: 8 kB / 446.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.5879, allocations: 0 / 446.3 MB, free: 10.36 MB / 378.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 (6): * Single equations (assignments): 5 * 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.105e-05/0.588, allocations: 109 kB / 446.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.998e-05/0.5881, allocations: 15.77 kB / 446.4 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002208/0.5883, allocations: 78.61 kB / 446.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.5883, allocations: 8 kB / 446.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.71e-06/0.5883, allocations: 0.875 kB / 446.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5884, allocations: 0 / 446.5 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005384/0.5889, allocations: 362.5 kB / 446.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5889, allocations: 2.688 kB / 446.8 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.589, allocations: 12 kB / 446.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.5891, allocations: 0 / 446.8 MB, free: 9.715 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.5891, allocations: 3.984 kB / 446.9 MB, free: 9.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.835e-06/0.5891, allocations: 5.312 kB / 446.9 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.5891, allocations: 0 / 446.9 MB, free: 9.707 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000207/0.5893, allocations: 171.3 kB / 447 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.824e-05/0.5894, allocations: 92.92 kB / 447.1 MB, free: 9.414 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.5895, allocations: 4 kB / 447.1 MB, free: 9.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.5896, allocations: 7.984 kB / 447.1 MB, free: 9.402 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.345e-05/0.5896, allocations: 4 kB / 447.1 MB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.5897, allocations: 4 kB / 447.1 MB, free: 9.395 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002386/0.5899, allocations: 172.7 kB / 447.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.5899, allocations: 0 / 447.3 MB, free: 9.227 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000344/0.5903, allocations: 20 kB / 447.3 MB, free: 9.207 MB / 378.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 (5): * Single equations (assignments): 5 * 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.001226/0.5915, allocations: 0.8743 MB / 448.2 MB, free: 8.379 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.5917, allocations: 95.34 kB / 448.3 MB, free: 8.273 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.5917, allocations: 0 / 448.3 MB, free: 8.273 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.303e-05/0.5918, allocations: 16 kB / 448.3 MB, free: 8.258 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.5921, allocations: 19.47 kB / 448.3 MB, free: 8.242 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007774/0.5929, allocations: 261.8 kB / 448.6 MB, free: 7.941 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.5932, allocations: 0.7082 MB / 449.3 MB, free: 7.207 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.737e-05/0.5933, allocations: 35.42 kB / 449.3 MB, free: 7.176 MB / 378.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5934, allocations: 0 / 449.3 MB, free: 7.176 MB / 378.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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28FMU.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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28CalcHelperMain.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.2/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.2/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" "-L/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -Wl,-rpath="/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test28.fmu] Error 1