Notification: Performance of loadModel(Modelica): time 1.481/1.481, allocations: 194.8 MB / 201.1 MB, free: 4.855 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2094/1.691, allocations: 46.46 MB / 247.6 MB, free: 4.703 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06381/1.754, allocations: 44.5 MB / 292.1 MB, free: 8.926 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2152/1.97, allocations: 72.04 MB / 364.1 MB, free: 10.62 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/1.97, allocations: 80.16 kB / 364.2 MB, free: 10.62 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.05091/2.021, allocations: 13.95 MB / 378.2 MB, free: 7.965 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/2.021, allocations: 11.78 kB / 378.2 MB, free: 7.965 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000117/2.021, allocations: 70.47 kB / 378.2 MB, free: 7.922 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01282/2.034, allocations: 3.666 MB / 381.9 MB, free: 6.531 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/2.034, allocations: 3.938 kB / 381.9 MB, free: 6.531 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.745e-05/2.034, allocations: 7.875 kB / 381.9 MB, free: 6.531 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008456/2.035, allocations: 0.782 MB / 382.7 MB, free: 6.465 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008797/2.036, allocations: 0.8721 MB / 383.6 MB, free: 6.316 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.438e-06/2.036, allocations: 0 / 383.6 MB, free: 6.316 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.124e-05/2.036, allocations: 0 / 383.6 MB, free: 6.316 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.294e-06/2.036, allocations: 3.969 kB / 383.6 MB, free: 6.316 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002612/2.036, allocations: 292.4 kB / 383.9 MB, free: 6.039 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001454/2.037, allocations: 2.093 MB / 386 MB, free: 5.945 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001425/2.039, allocations: 2.084 MB / 388 MB, free: 5.867 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 8.452e-06/2.039, allocations: 0 / 388 MB, free: 5.867 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/2.04, allocations: 1.12 MB / 389.2 MB, free: 5.633 MB / 296.6 MB Notification: Performance of pre-optimization done (n=246): time 1.94e-06/2.04, allocations: 0 / 389.2 MB, free: 5.633 MB / 296.6 MB Notification: Performance of matching and sorting (n=246): time 0.003497/2.043, allocations: 1.808 MB / 391 MB, free: 5.367 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003026/2.044, allocations: 434.5 kB / 391.4 MB, free: 5.176 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001715/2.044, allocations: 175.2 kB / 391.6 MB, free: 5.055 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002379/2.044, allocations: 177.7 kB / 391.7 MB, free: 4.988 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 9.586e-05/2.044, allocations: 169.2 kB / 391.9 MB, free: 20.83 MB / 312.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006252/2.045, allocations: 0.962 MB / 392.9 MB, free: 20.16 MB / 312.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/2.045, allocations: 0 / 392.9 MB, free: 20.16 MB / 312.6 MB Notification: Performance of setup shared object (initialization): time 0.0002674/2.045, allocations: 473.4 kB / 393.3 MB, free: 19.79 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001709/2.047, allocations: 1.057 MB / 394.4 MB, free: 19.62 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002447/2.05, allocations: 2.759 MB / 397.1 MB, free: 17.17 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/2.052, allocations: 1.61 MB / 398.7 MB, free: 16.57 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.607e-05/2.052, allocations: 17 kB / 398.8 MB, free: 16.57 MB / 312.6 MB Notification: Performance of matching and sorting (n=512) (initialization): time 0.006316/2.058, allocations: 3.438 MB / 402.2 MB, free: 15.12 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/2.058, allocations: 5.5 kB / 402.2 MB, free: 15.12 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.589e-05/2.059, allocations: 58.19 kB / 402.3 MB, free: 15.12 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000133/2.059, allocations: 95.75 kB / 402.4 MB, free: 15.11 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001862/2.061, allocations: 0.5662 MB / 402.9 MB, free: 14.95 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001638/2.061, allocations: 122.1 kB / 403 MB, free: 14.91 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00174/2.062, allocations: 240.4 kB / 403.3 MB, free: 14.75 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003202/2.063, allocations: 200.1 kB / 403.5 MB, free: 14.72 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006055/2.063, allocations: 421.3 kB / 403.9 MB, free: 14.48 MB / 312.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005915/2.069, allocations: 3.045 MB / 406.9 MB, free: 12.07 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002097/2.07, allocations: 119 kB / 407 MB, free: 11.95 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/2.07, allocations: 17.92 kB / 407.1 MB, free: 11.93 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/2.07, allocations: 3.906 kB / 407.1 MB, free: 11.93 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.947e-06/2.07, allocations: 4 kB / 407.1 MB, free: 11.92 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.313e-06/2.07, allocations: 0 / 407.1 MB, free: 11.92 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005554/2.07, allocations: 458.2 kB / 407.5 MB, free: 11.44 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.91e-06/2.07, allocations: 0 / 407.5 MB, free: 11.44 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.443e-06/2.07, allocations: 7.938 kB / 407.5 MB, free: 11.43 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.412e-06/2.07, allocations: 3.984 kB / 407.5 MB, free: 11.43 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/2.07, allocations: 48 kB / 407.6 MB, free: 11.38 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.986e-06/2.07, allocations: 0 / 407.6 MB, free: 11.38 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.834e-06/2.07, allocations: 4 kB / 407.6 MB, free: 11.38 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005791/2.076, allocations: 3.15 MB / 410.7 MB, free: 8.207 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001569/2.076, allocations: 175.6 kB / 410.9 MB, free: 8.016 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002301/2.077, allocations: 75.94 kB / 411 MB, free: 7.941 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/2.077, allocations: 35.98 kB / 411 MB, free: 7.906 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001207/2.077, allocations: 28 kB / 411 MB, free: 7.879 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/2.077, allocations: 71.98 kB / 411.1 MB, free: 7.809 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.0001208/2.077, allocations: 128.3 kB / 411.2 MB, free: 7.684 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.002566/2.08, allocations: 463.6 kB / 411.7 MB, free: 7.234 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.008908/2.089, allocations: 5.88 MB / 417.6 MB, free: 1.383 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.005318/2.094, allocations: 3.309 MB / 420.9 MB, free: 14.09 MB / 328.6 MB Notification: Performance of simCode: created event and clocks part: time 4.447e-06/2.094, allocations: 1.562 kB / 420.9 MB, free: 14.09 MB / 328.6 MB Notification: Performance of simCode: created simulation system equations: time 0.05604/2.15, allocations: 60.62 MB / 481.5 MB, free: 1.484 MB / 376.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000364/2.151, allocations: 39.11 kB / 481.5 MB, free: 1.449 MB / 376.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003779/2.155, allocations: 2.249 MB / 483.8 MB, free: 15.14 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/2.156, allocations: 1.279 MB / 485.1 MB, free: 13.84 MB / 392.6 MB Notification: Performance of SimCode: time 8.85e-07/2.156, allocations: 0 / 485.1 MB, free: 13.84 MB / 392.6 MB Notification: Performance of translateModelFMU complete: time 0.1426/2.298, allocations: 21.78 MB / 0.495 GB, free: 174.1 MB / 392.6 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=5 -DPMC_USE_SUNDIALS -DFMU_BUILD -DRUNTIME_STATIC_LINKING -I"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/include/omc/cpp" -I"." -I"." -I"." -DUSE_LOGGER -c -o OMCppModelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1CalcHelperMain.o OMCppModelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1CalcHelperMain.cpp In file included from OMCppModelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1CalcHelperMain.cpp:34: ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1.cpp:1762:7: warning: expression result unused [-Wunused-value] tmp1; ^~~~ In file included from OMCppModelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1CalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1FMU.cpp:11: /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/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) { ^ 2 warnings generated. clang++ -shared -o Modelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1.so OMCppModelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1CalcHelperMain.o -L"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/cpp" -Wl,--no-undefined -lOMCppSystem_static -lOMCppMath_static -lOMCppModelicaUtilities_static -lOMCppFMU_static -lOMCppNewton_static -lOMCppDgesvSolver_static -lOMCppExtensionUtilities_static -lModelicaExternalC -lModelicaStandardTables -lOMCppModelicaUtilities_static -L"/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Math" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/" "-L/var/lib/hudson/.openmodelica/binaries/Modelica" -Wl,-rpath="/var/lib/hudson/.openmodelica/binaries/Modelica" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/x86_64-linux" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library/linux64" "-L/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -Wl,-rpath="/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Resources/Library" -lModelicaIO -lModelicaMatIO -lzlib -lModelicaExternalC -lOMCppDgesv_static /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/cpp/libModelicaExternalC.a(ModelicaInternal.c.o): In function `ModelicaInternal_temporaryFileName': /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaInternal.c:614: warning: the use of `tmpnam' is dangerous, better use `mkstemp' /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/x86_64-linux-gnu/omc/cpp/libModelicaExternalC.a(ModelicaMatIO.c.o): In function `Mat_VarDelete': /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/3rdParty/ModelicaExternalC/C-Sources/ModelicaMatIO.c:7581: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' OMCppModelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1CalcHelperMain.o: In function `Functions::Modelica_Math_FastFourierTransform_Internal_rawRealFFT(BaseArray&, Modelica_Math_FastFourierTransform_Internal_rawRealFFTType&)': /var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Modelica_3.2.2_fmi_cpp_Modelica.Math.FastFourierTransform.Examples.RealFFT1/./OMCppModelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1Functions.cpp:357: undefined reference to `ModelicaFFT_kiss_fftr' clang: error: linker command failed with exit code 1 (use -v to see invocation) Modelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1_FMU.makefile:93: recipe for target 'Modelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1.fmu' failed make: *** [Modelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT1.fmu] Error 1