Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test5,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.401/2.401, allocations: 235 MB / 247.6 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.765e-05/3.773e-05, allocations: 4.938 kB / 305 MB, free: 5.551 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3834, allocations: 54.85 MB / 359.9 MB, free: 2.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1502/0.5336, allocations: 80.91 MB / 440.8 MB, free: 15.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002687/0.5339, allocations: 73.02 kB / 440.8 MB, free: 15.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01347/0.5474, allocations: 3.154 MB / 444 MB, free: 12.77 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.983e-06/0.5475, allocations: 0 / 444 MB, free: 12.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.621e-05/0.5475, allocations: 4 kB / 444 MB, free: 12.77 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.0005417/0.5481, allocations: 411.9 kB / 444.4 MB, free: 12.31 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.5481, allocations: 12.03 kB / 444.4 MB, free: 12.3 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.5482, allocations: 30.56 kB / 444.4 MB, free: 12.26 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.616e-05/0.5483, allocations: 11.86 kB / 444.5 MB, free: 12.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003079/0.5486, allocations: 200.9 kB / 444.6 MB, free: 12.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.027e-05/0.5486, allocations: 8 kB / 444.7 MB, free: 12.01 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/0.5486, allocations: 4 kB / 444.7 MB, free: 12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.5488, allocations: 37.7 kB / 444.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.5488, allocations: 0 / 444.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.5488, allocations: 3.984 kB / 444.7 MB, free: 11.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.5488, allocations: 3.953 kB / 444.7 MB, free: 11.95 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.669e-05/0.5489, allocations: 19.94 kB / 444.7 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004639/0.5494, allocations: 284.9 kB / 445 MB, free: 11.61 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002206/0.5496, allocations: 38.56 kB / 445 MB, free: 11.56 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.915e-05/0.5497, allocations: 8.859 kB / 445 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/0.5497, allocations: 0 / 445 MB, free: 11.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.5498, allocations: 46.45 kB / 445.1 MB, free: 11.49 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.553e-06/0.5498, allocations: 0 / 445.1 MB, free: 11.49 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005467/0.5503, allocations: 109.3 kB / 445.2 MB, free: 11.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.507e-05/0.5504, allocations: 55.41 kB / 445.3 MB, free: 11.31 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003093/0.5507, allocations: 189.3 kB / 445.4 MB, free: 11.12 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.5508, allocations: 29.7 kB / 445.5 MB, free: 11.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.5509, allocations: 166.5 kB / 445.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.703e-05/0.5509, allocations: 19.75 kB / 445.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.5509, allocations: 0 / 445.7 MB, free: 10.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.5511, allocations: 310.8 kB / 446 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.75e-05/0.5511, allocations: 19.94 kB / 446 MB, free: 10.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.193e-05/0.5512, allocations: 12 kB / 446 MB, free: 10.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.186e-05/0.5513, allocations: 45.19 kB / 446 MB, free: 10.51 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.5513, allocations: 0 / 446 MB, free: 10.51 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001966/0.5515, allocations: 96.36 kB / 446.1 MB, free: 10.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.71e-05/0.5516, allocations: 33.66 kB / 446.2 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.5516, allocations: 0 / 446.2 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.5516, allocations: 0 / 446.2 MB, free: 10.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.5518, allocations: 15.98 kB / 446.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.5518, allocations: 4 kB / 446.2 MB, free: 10.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.348e-05/0.5519, allocations: 8 kB / 446.2 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.5519, allocations: 4 kB / 446.2 MB, free: 10.34 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.969e-05/0.552, allocations: 108.9 kB / 446.3 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.049e-05/0.5521, allocations: 11.81 kB / 446.3 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.5523, allocations: 77.72 kB / 446.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5524, allocations: 2.344 kB / 446.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.5524, allocations: 0 / 446.4 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.871e-06/0.5524, allocations: 8 kB / 446.4 MB, free: 10.12 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/0.553, allocations: 354.5 kB / 446.7 MB, free: 9.723 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.27e-06/0.553, allocations: 3.953 kB / 446.7 MB, free: 9.719 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001285/0.5531, allocations: 15.98 kB / 446.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.618e-06/0.5531, allocations: 144 / 446.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.5532, allocations: 0 / 446.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.5532, allocations: 0.8125 kB / 446.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.5532, allocations: 0 / 446.8 MB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.5534, allocations: 167.4 kB / 446.9 MB, free: 9.523 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.604e-05/0.5535, allocations: 101.7 kB / 447 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.5536, allocations: 0 / 447 MB, free: 9.406 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001177/0.5537, allocations: 8 kB / 447 MB, free: 9.398 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.148e-05/0.5537, allocations: 7.984 kB / 447 MB, free: 9.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-05/0.5538, allocations: 4 kB / 447 MB, free: 9.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002366/0.554, allocations: 157.4 kB / 447.2 MB, free: 9.234 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.554, allocations: 0 / 447.2 MB, free: 9.234 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003608/0.5544, allocations: 16 kB / 447.2 MB, free: 9.219 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.001271/0.5557, allocations: 0.8773 MB / 448.1 MB, free: 8.387 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002159/0.5559, allocations: 87.41 kB / 448.2 MB, free: 8.289 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.996e-06/0.5559, allocations: 3.938 kB / 448.2 MB, free: 8.285 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.364e-05/0.556, allocations: 16 kB / 448.2 MB, free: 8.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.5563, allocations: 7.984 kB / 448.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007595/0.5571, allocations: 248.5 kB / 448.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.5575, allocations: 0.7043 MB / 449.1 MB, free: 7.246 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.704e-05/0.5576, allocations: 31.36 kB / 449.2 MB, free: 7.215 MB / 378.7 MB Notification: Performance of SimCode: time 8.62e-07/0.5576, allocations: 0 / 449.2 MB, free: 7.215 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_Test5CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5FMU.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_Test5.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5CalcHelperMain.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_Test5_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test5.fmu] Error 1