Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001658/0.001657, allocations: 181.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.132/2.132, allocations: 205.2 MB / 219.4 MB, free: 14.28 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00114/0.00114, allocations: 86.7 kB / 267.5 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.49e-05/3.503e-05, allocations: 7.984 kB / 321.6 MB, free: 17.75 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1269, allocations: 47.57 MB / 369.2 MB, free: 2.117 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.504/0.631, allocations: 83.13 MB / 452.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003475/0.6314, allocations: 73.78 kB / 452.4 MB, free: 10.04 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05186/0.6833, allocations: 8.289 MB / 460.7 MB, free: 3.109 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.6833, allocations: 0 / 460.7 MB, free: 3.109 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.204e-05/0.6834, allocations: 11.98 kB / 460.7 MB, free: 3.098 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001701/0.6851, allocations: 0.5948 MB / 461.3 MB, free: 2.484 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.344e-05/0.6852, allocations: 8.031 kB / 461.3 MB, free: 2.477 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001844/0.6854, allocations: 58.09 kB / 461.3 MB, free: 2.422 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002168/0.6857, allocations: 47.44 kB / 461.4 MB, free: 2.375 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.6868, allocations: 343.8 kB / 461.7 MB, free: 2.027 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.783e-05/0.6869, allocations: 16.25 kB / 461.7 MB, free: 2.02 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-05/0.687, allocations: 23.81 kB / 461.8 MB, free: 2.004 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009435/0.688, allocations: 286.2 kB / 462 MB, free: 1.75 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.707e-05/0.688, allocations: 8 kB / 462 MB, free: 1.742 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.745e-05/0.6881, allocations: 7.562 kB / 462.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/0.6881, allocations: 8 kB / 462.1 MB, free: 1.734 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006427/0.6888, allocations: 150.3 kB / 462.2 MB, free: 1.633 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00308/0.6919, allocations: 0.8127 MB / 463 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001012/0.693, allocations: 208.5 kB / 463.2 MB, free: 0.7773 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002702/0.6933, allocations: 75.8 kB / 463.3 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-05/0.6933, allocations: 7.984 kB / 463.3 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003635/0.6937, allocations: 142.4 kB / 463.4 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of pre-optimization done (n=24): time 3.206e-06/0.6937, allocations: 0 / 463.4 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of matching and sorting (n=24): time 0.0009394/0.6947, allocations: 255.1 kB / 463.7 MB, free: 392 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002037/0.6949, allocations: 324.4 kB / 464 MB, free: 15.99 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007867/0.6957, allocations: 378.9 kB / 464.4 MB, free: 15.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.6958, allocations: 33.7 kB / 464.4 MB, free: 15.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002216/0.696, allocations: 250.8 kB / 464.7 MB, free: 15.33 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.6961, allocations: 74.84 kB / 464.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.168e-05/0.6962, allocations: 8 kB / 464.7 MB, free: 15.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.6963, allocations: 322.8 kB / 465.1 MB, free: 14.92 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001941/0.6965, allocations: 59.98 kB / 465.1 MB, free: 14.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003425/0.6969, allocations: 180.2 kB / 465.3 MB, free: 14.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002919/0.6972, allocations: 88.83 kB / 465.4 MB, free: 14.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.232e-06/0.6972, allocations: 0 / 465.4 MB, free: 14.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=31) (initialization): time 0.000822/0.6981, allocations: 268.6 kB / 465.6 MB, free: 14.29 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.6981, allocations: 8 kB / 465.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.6981, allocations: 0 / 465.6 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000326/0.6984, allocations: 44.92 kB / 465.7 MB, free: 14.23 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004225/0.6989, allocations: 55.91 kB / 465.7 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.701, allocations: 1.449 MB / 467.2 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004095/0.7015, allocations: 23.84 kB / 467.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.277e-05/0.7015, allocations: 11.95 kB / 467.2 MB, free: 12.55 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEvent,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.7017, allocations: 121.8 kB / 467.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.772e-05/0.7018, allocations: 39.53 kB / 467.4 MB, free: 12.39 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/0.7028, allocations: 287.5 kB / 467.7 MB, free: 12.1 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.7029, allocations: 11.94 kB / 467.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.7029, allocations: 0 / 467.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007726/0.7037, allocations: 0.5908 MB / 468.3 MB, free: 11.39 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.7055, allocations: 0.743 MB / 469 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.877e-06/0.7055, allocations: 0 / 469 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000684/0.7062, allocations: 51.97 kB / 469.1 MB, free: 10.54 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.7063, allocations: 3.938 kB / 469.1 MB, free: 10.53 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.7064, allocations: 7.984 kB / 469.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.7064, allocations: 4 kB / 469.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.7064, allocations: 4 kB / 469.1 MB, free: 10.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.708, allocations: 410.9 kB / 469.5 MB, free: 10.1 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005284/0.7086, allocations: 156.5 kB / 469.6 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001355/0.7088, allocations: 8 kB / 469.6 MB, free: 9.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005875/0.7094, allocations: 11.98 kB / 469.7 MB, free: 9.906 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/0.7095, allocations: 11.98 kB / 469.7 MB, free: 9.895 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.574e-05/0.7096, allocations: 12.06 kB / 469.7 MB, free: 9.883 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008792/0.7105, allocations: 305.2 kB / 470 MB, free: 9.586 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.7105, allocations: 0 / 470 MB, free: 9.586 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001111/0.7116, allocations: 123.8 kB / 470.1 MB, free: 9.465 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.003559/0.7152, allocations: 1.242 MB / 471.3 MB, free: 8.207 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00127/0.7165, allocations: 302.4 kB / 471.6 MB, free: 7.898 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.707e-06/0.7166, allocations: 0 / 471.6 MB, free: 7.898 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003473/0.717, allocations: 91.86 kB / 471.7 MB, free: 7.809 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001194/0.7182, allocations: 97.61 kB / 471.8 MB, free: 7.715 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003076/0.7213, allocations: 0.6938 MB / 472.5 MB, free: 6.977 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007418/0.7221, allocations: 0.8117 MB / 473.3 MB, free: 6.137 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004434/0.7226, allocations: 127.4 kB / 473.4 MB, free: 6.012 MB / 346.7 MB Notification: Performance of SimCode: time 1.183e-06/0.7226, allocations: 0 / 473.4 MB, free: 6.012 MB / 346.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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp" -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/c/sundials" -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTankCalcHelperMain.o OMCppModelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTankCalcHelperMain.cpp In file included from OMCppModelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTankCalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTankFMU.cpp:11: /var/lib/jenkins1/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 Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.so OMCppModelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTankCalcHelperMain.o -L"/var/lib/jenkins1/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"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Thermal" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library" -lModelicaStandardTables -lModelicaIO -lModelicaMatIO -lzlib -lOMCppModelicaUtilities_static -lOMCppDgesv_static /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `Mat_VarDelete': /var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `strdup_vprintf': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1469: undefined reference to `rpl_vsnprintf' /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1476: undefined reference to `rpl_vsnprintf' /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1469: undefined reference to `rpl_vsnprintf' /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:1476: undefined reference to `rpl_vsnprintf' /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/cpp/libModelicaMatIO.a(ModelicaMatIO.c.o): In function `Mat_Create5': /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:7716: undefined reference to `rpl_snprintf' /var/lib/jenkins1/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) Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank_FMU.makefile:93: recipe for target 'Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu' failed make: *** [Modelica_3_2_3_cpp_Modelica_Thermal_FluidHeatFlow_Examples_TestOpenTank.fmu] Error 1