Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test2,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.342/2.342, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.808e-05/3.815e-05, allocations: 8 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3951/0.3951, allocations: 54.86 MB / 359.9 MB, free: 2.316 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1468/0.542, allocations: 80.85 MB / 440.7 MB, free: 48 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002757/0.5423, allocations: 80.02 kB / 440.8 MB, free: 15.96 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01131/0.5536, allocations: 2.699 MB / 443.5 MB, free: 13.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.5537, allocations: 4 kB / 443.5 MB, free: 13.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.014e-05/0.5537, allocations: 0 / 443.5 MB, free: 13.29 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.0004446/0.5542, allocations: 388.1 kB / 443.9 MB, free: 12.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.5542, allocations: 11.97 kB / 443.9 MB, free: 12.85 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.5543, allocations: 34.56 kB / 443.9 MB, free: 12.81 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/0.5543, allocations: 3.953 kB / 443.9 MB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.5546, allocations: 196.7 kB / 444.1 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.06e-05/0.5546, allocations: 0 / 444.1 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.002e-05/0.5546, allocations: 8 kB / 444.1 MB, free: 12.57 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.5547, allocations: 37.7 kB / 444.2 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.5548, allocations: 4 kB / 444.2 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.199e-05/0.5548, allocations: 3.984 kB / 444.2 MB, free: 12.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.674e-06/0.5548, allocations: 3.953 kB / 444.2 MB, free: 12.51 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.323e-05/0.5549, allocations: 15.98 kB / 444.2 MB, free: 12.5 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.5553, allocations: 268.9 kB / 444.4 MB, free: 12.18 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.5555, allocations: 43.22 kB / 444.5 MB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.621e-05/0.5555, allocations: 8.859 kB / 444.5 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.721e-05/0.5556, allocations: 0 / 444.5 MB, free: 12.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.5556, allocations: 42.52 kB / 444.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.563e-06/0.5556, allocations: 0 / 444.5 MB, free: 12.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004803/0.5561, allocations: 97.52 kB / 444.6 MB, free: 11.97 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.5562, allocations: 55.41 kB / 444.7 MB, free: 11.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001394/0.5563, allocations: 122.2 kB / 444.8 MB, free: 11.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.5563, allocations: 25.7 kB / 444.8 MB, free: 11.74 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.034e-05/0.5564, allocations: 166.5 kB / 445 MB, free: 11.58 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.205e-05/0.5565, allocations: 11.75 kB / 445 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.921e-06/0.5565, allocations: 0 / 445 MB, free: 11.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.5566, allocations: 318.8 kB / 445.3 MB, free: 11.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.196e-05/0.5567, allocations: 8 kB / 445.3 MB, free: 11.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.714e-05/0.5567, allocations: 16 kB / 445.3 MB, free: 11.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.89e-05/0.5568, allocations: 42.56 kB / 445.4 MB, free: 11.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.5568, allocations: 3.938 kB / 445.4 MB, free: 11.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001708/0.557, allocations: 96.7 kB / 445.5 MB, free: 11.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.606e-05/0.557, allocations: 35.06 kB / 445.5 MB, free: 11.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.5571, allocations: 4 kB / 445.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.5571, allocations: 0 / 445.5 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001167/0.5572, allocations: 15.98 kB / 445.5 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.5572, allocations: 0 / 445.5 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.99e-05/0.5573, allocations: 8 kB / 445.5 MB, free: 11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.5573, allocations: 4 kB / 445.5 MB, free: 11 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 6.932e-05/0.5574, allocations: 101 kB / 445.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.5575, allocations: 7.906 kB / 445.7 MB, free: 10.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.5577, allocations: 83.3 kB / 445.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.5577, allocations: 0 / 445.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.5577, allocations: 6.938 kB / 445.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.5577, allocations: 0 / 445.7 MB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004055/0.5581, allocations: 314.6 kB / 446 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.5582, allocations: 3.953 kB / 446.1 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001083/0.5583, allocations: 21.77 kB / 446.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.5583, allocations: 0 / 446.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.5583, allocations: 0 / 446.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.179e-06/0.5583, allocations: 4 kB / 446.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5583, allocations: 0 / 446.1 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001817/0.5585, allocations: 159.4 kB / 446.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.001e-05/0.5586, allocations: 96.95 kB / 446.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.892e-05/0.5586, allocations: 0 / 446.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.5588, allocations: 4 kB / 446.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.32e-05/0.5588, allocations: 7.984 kB / 446.3 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.5588, allocations: 0.875 kB / 446.3 MB, free: 10.1 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.348e-05/0.5589, allocations: 99.28 kB / 446.4 MB, free: 10 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5589, allocations: 4 kB / 446.4 MB, free: 10 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000335/0.5593, allocations: 19.98 kB / 446.5 MB, free: 9.98 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.001147/0.5604, allocations: 0.8816 MB / 447.3 MB, free: 9.148 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001898/0.5607, allocations: 87.39 kB / 447.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.5607, allocations: 0 / 447.4 MB, free: 9.051 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.112e-05/0.5607, allocations: 12 kB / 447.4 MB, free: 9.039 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/0.561, allocations: 15.05 kB / 447.5 MB, free: 9.027 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005716/0.5616, allocations: 177.6 kB / 447.6 MB, free: 8.809 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.5619, allocations: 0.6887 MB / 448.3 MB, free: 8.094 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.331e-05/0.562, allocations: 23.42 kB / 448.3 MB, free: 8.07 MB / 378.7 MB Notification: Performance of SimCode: time 7.61e-07/0.562, allocations: 0 / 448.3 MB, free: 8.07 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_Test2CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2FMU.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_Test2.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2CalcHelperMain.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_Test2_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test2.fmu] Error 1