Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test23,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.964/1.964, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.819e-05/3.836e-05, allocations: 8 kB / 273.1 MB, free: 0.6562 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1108, allocations: 48.71 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.422/0.5329, allocations: 74.65 MB / 396.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003406/0.5333, allocations: 67.97 kB / 396.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01773/0.551, allocations: 3.505 MB / 400.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5511, allocations: 0 / 400.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.245e-05/0.5511, allocations: 0 / 400.1 MB, free: 11.74 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.000589/0.5517, allocations: 396.1 kB / 400.4 MB, free: 11.3 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.606e-05/0.5518, allocations: 8.031 kB / 400.5 MB, free: 11.29 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.45e-05/0.5519, allocations: 38.56 kB / 400.5 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.44e-05/0.5519, allocations: 3.906 kB / 400.5 MB, free: 11.24 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.5522, allocations: 190.8 kB / 400.7 MB, free: 11.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.5523, allocations: 4 kB / 400.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.5523, allocations: 0 / 400.7 MB, free: 11.01 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.5525, allocations: 61.03 kB / 400.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.5525, allocations: 0 / 400.7 MB, free: 10.94 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.5526, allocations: 7.938 kB / 400.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.5526, allocations: 3.984 kB / 400.8 MB, free: 10.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.634e-05/0.5527, allocations: 15.94 kB / 400.8 MB, free: 10.91 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005135/0.5532, allocations: 276.9 kB / 401 MB, free: 10.59 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.5535, allocations: 34.58 kB / 401.1 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.066e-05/0.5536, allocations: 16.86 kB / 401.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.5536, allocations: 0 / 401.1 MB, free: 10.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.369e-05/0.5537, allocations: 34.5 kB / 401.1 MB, free: 10.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.565e-06/0.5537, allocations: 0 / 401.1 MB, free: 10.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006463/0.5543, allocations: 105.5 kB / 401.2 MB, free: 10.38 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/0.5544, allocations: 85.06 kB / 401.3 MB, free: 10.28 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001731/0.5546, allocations: 113 kB / 401.4 MB, free: 10.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.695e-05/0.5547, allocations: 29.7 kB / 401.5 MB, free: 10.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.949e-05/0.5548, allocations: 158.5 kB / 401.6 MB, free: 9.969 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.5548, allocations: 19.66 kB / 401.6 MB, free: 9.949 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/0.5549, allocations: 0 / 401.6 MB, free: 9.949 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.5551, allocations: 322.8 kB / 401.9 MB, free: 9.625 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.826e-05/0.5551, allocations: 12 kB / 402 MB, free: 9.613 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.187e-05/0.5552, allocations: 21.72 kB / 402 MB, free: 9.586 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.801e-05/0.5553, allocations: 45.73 kB / 402 MB, free: 9.535 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5554, allocations: 0 / 402 MB, free: 9.535 MB / 330.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002672/0.5557, allocations: 91.39 kB / 402.1 MB, free: 9.434 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.615e-05/0.5557, allocations: 33.7 kB / 402.1 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5557, allocations: 0 / 402.1 MB, free: 9.395 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.5558, allocations: 3.984 kB / 402.1 MB, free: 9.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.556, allocations: 15.94 kB / 402.2 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.556, allocations: 0 / 402.2 MB, free: 9.375 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.5561, allocations: 15.94 kB / 402.2 MB, free: 9.359 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.489e-05/0.5561, allocations: 4.25 kB / 402.2 MB, free: 9.355 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: 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 0.000111/0.5563, allocations: 105 kB / 402.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.949e-05/0.5563, allocations: 0 / 402.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.5566, allocations: 85.67 kB / 402.4 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.576e-06/0.5567, allocations: 3.984 kB / 402.4 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.5567, allocations: 0 / 402.4 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5567, allocations: 0 / 402.4 MB, free: 9.156 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006662/0.5574, allocations: 326.5 kB / 402.7 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5574, allocations: 0 / 402.7 MB, free: 8.781 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.5576, allocations: 15.98 kB / 402.7 MB, free: 8.766 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.5576, allocations: 4 kB / 402.7 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.221e-05/0.5576, allocations: 0 / 402.7 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.5576, allocations: 0 / 402.7 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/0.5577, allocations: 3.953 kB / 402.7 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002811/0.558, allocations: 163.4 kB / 402.9 MB, free: 8.582 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.452e-05/0.5581, allocations: 89 kB / 403 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.211e-05/0.5581, allocations: 0 / 403 MB, free: 8.477 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.5583, allocations: 8 kB / 403 MB, free: 8.469 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.5584, allocations: 7.984 kB / 403 MB, free: 8.461 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.496e-05/0.5584, allocations: 7.953 kB / 403 MB, free: 8.453 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001266/0.5586, allocations: 92.2 kB / 403.1 MB, free: 8.363 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.5586, allocations: 7.938 kB / 403.1 MB, free: 8.355 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006937/0.5593, allocations: 31.98 kB / 403.1 MB, free: 8.324 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: 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.001874/0.5612, allocations: 0.8937 MB / 404 MB, free: 7.453 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002797/0.5615, allocations: 87.41 kB / 404.1 MB, free: 7.355 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.5615, allocations: 0 / 404.1 MB, free: 7.355 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.501e-05/0.5616, allocations: 23.94 kB / 404.1 MB, free: 7.332 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.562, allocations: 15.92 kB / 404.1 MB, free: 7.316 MB / 330.7 MB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006961/0.569, allocations: 0.7071 MB / 404.8 MB, free: 6.562 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003945/0.5694, allocations: 0.6887 MB / 405.5 MB, free: 5.848 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001117/0.5696, allocations: 23.42 kB / 405.5 MB, free: 5.824 MB / 330.7 MB Notification: Performance of SimCode: time 1.573e-06/0.5696, allocations: 0 / 405.5 MB, free: 5.824 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_CombiTable1Ds_Test23CalcHelperMain.o OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp In file included from OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.cpp:35: In file included from ./OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23FMU.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_CombiTable1Ds_Test23.so OMCppModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23CalcHelperMain.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" -lModelicaExternalC -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_CombiTable1Ds_Test23_FMU.makefile:93: recipe for target 'ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu' failed make: *** [ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1Ds_Test23.fmu] Error 1