Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test31,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.072e-05/4.083e-05, allocations: 4 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4332, allocations: 54.86 MB / 359.9 MB, free: 2.688 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.148/0.5813, allocations: 80.9 MB / 440.8 MB, free: 80 kB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.5816, allocations: 71.95 kB / 440.8 MB, free: 8 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01349/0.5951, allocations: 3.323 MB / 444.2 MB, free: 12.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.234e-06/0.5951, allocations: 4 kB / 444.2 MB, free: 12.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.5951, allocations: 0 / 444.2 MB, free: 12.7 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.0004942/0.5956, allocations: 419.9 kB / 444.6 MB, free: 12.24 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.5957, allocations: 12.03 kB / 444.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.611e-05/0.5957, allocations: 30.56 kB / 444.6 MB, free: 12.19 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.031e-05/0.5958, allocations: 20.3 kB / 444.6 MB, free: 12.17 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.5961, allocations: 204.2 kB / 444.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.5962, allocations: 3.938 kB / 444.8 MB, free: 11.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.5962, allocations: 7.984 kB / 444.8 MB, free: 11.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.5963, allocations: 46.25 kB / 444.9 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.5964, allocations: 3.953 kB / 444.9 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.5964, allocations: 0 / 444.9 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.5964, allocations: 0 / 444.9 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.518e-05/0.5965, allocations: 12 kB / 444.9 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004491/0.5969, allocations: 299 kB / 445.2 MB, free: 11.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002218/0.5972, allocations: 42.47 kB / 445.2 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.862e-05/0.5972, allocations: 16.94 kB / 445.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.5973, allocations: 0 / 445.3 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.5973, allocations: 33.19 kB / 445.3 MB, free: 11.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.623e-06/0.5973, allocations: 4 kB / 445.3 MB, free: 11.4 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005017/0.5978, allocations: 117.2 kB / 445.4 MB, free: 11.28 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.5979, allocations: 55.41 kB / 445.5 MB, free: 11.21 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.5983, allocations: 226.6 kB / 445.7 MB, free: 10.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.194e-05/0.5983, allocations: 25.7 kB / 445.7 MB, free: 10.95 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.544e-05/0.5984, allocations: 182.4 kB / 445.9 MB, free: 10.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.5985, allocations: 15.75 kB / 445.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.342e-06/0.5985, allocations: 4 kB / 445.9 MB, free: 10.75 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.5986, allocations: 314.8 kB / 446.2 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.472e-05/0.5987, allocations: 8 kB / 446.2 MB, free: 10.42 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.18e-05/0.5987, allocations: 12 kB / 446.2 MB, free: 10.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.289e-05/0.5988, allocations: 41.69 kB / 446.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5988, allocations: 3.938 kB / 446.3 MB, free: 10.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000193/0.599, allocations: 95.34 kB / 446.4 MB, free: 10.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.151e-05/0.5991, allocations: 31.42 kB / 446.4 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.5991, allocations: 0 / 446.4 MB, free: 10.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.5991, allocations: 7.938 kB / 446.4 MB, free: 10.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.5993, allocations: 19.98 kB / 446.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.478e-06/0.5993, allocations: 3 kB / 446.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.667e-05/0.5994, allocations: 4 kB / 446.4 MB, free: 10.19 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.5994, allocations: 4 kB / 446.4 MB, free: 10.18 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.112e-05/0.5995, allocations: 105 kB / 446.5 MB, free: 10.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.559e-05/0.5996, allocations: 15.77 kB / 446.6 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002353/0.5998, allocations: 83.86 kB / 446.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.5998, allocations: 0 / 446.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.5998, allocations: 0 / 446.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.5999, allocations: 0 / 446.6 MB, free: 9.969 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005479/0.6004, allocations: 371.5 kB / 447 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.6004, allocations: 0 / 447 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001154/0.6006, allocations: 19.11 kB / 447 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.6006, allocations: 0 / 447 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.6006, allocations: 4 kB / 447 MB, free: 9.531 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.6006, allocations: 4 kB / 447 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6006, allocations: 0 / 447 MB, free: 9.527 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002008/0.6008, allocations: 167.2 kB / 447.2 MB, free: 9.348 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.936e-05/0.6009, allocations: 101 kB / 447.3 MB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.601, allocations: 0 / 447.3 MB, free: 9.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001189/0.6011, allocations: 8 kB / 447.3 MB, free: 9.223 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.6012, allocations: 8.641 kB / 447.3 MB, free: 9.215 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.6012, allocations: 4 kB / 447.3 MB, free: 9.211 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002719/0.6015, allocations: 193.1 kB / 447.5 MB, free: 9.023 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6015, allocations: 0 / 447.5 MB, free: 9.023 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003431/0.6018, allocations: 24 kB / 447.5 MB, free: 9 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.001234/0.6031, allocations: 0.8824 MB / 448.4 MB, free: 8.164 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.6033, allocations: 87.41 kB / 448.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.6033, allocations: 0 / 448.5 MB, free: 8.066 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.613e-05/0.6034, allocations: 16 kB / 448.5 MB, free: 8.051 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.6037, allocations: 8.188 kB / 448.5 MB, free: 8.039 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008129/0.6045, allocations: 286.5 kB / 448.8 MB, free: 7.723 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.6049, allocations: 0.7238 MB / 449.5 MB, free: 6.973 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.625e-05/0.605, allocations: 31.42 kB / 449.5 MB, free: 6.941 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.605, allocations: 0 / 449.5 MB, free: 6.941 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_Test31CalcHelperMain.o OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31FMU.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_Test31.so OMCppModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31CalcHelperMain.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_Test31_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu' failed make: *** [ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTable1Ds_Test31.fmu] Error 1