Notification: Performance of loadModel(Modelica): time 1.467/1.467, allocations: 194.8 MB / 201.1 MB, free: 4.84 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2146/1.682, allocations: 46.46 MB / 247.6 MB, free: 4.73 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06365/1.745, allocations: 44.5 MB / 292.1 MB, free: 8.934 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2141/1.959, allocations: 72.04 MB / 364.1 MB, free: 10.95 MB / 296.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001893/1.96, allocations: 76.84 kB / 364.2 MB, free: 10.95 MB / 296.6 MB Notification: Performance of Generate backend data structure: time 0.04981/2.01, allocations: 13.76 MB / 377.9 MB, free: 8.375 MB / 296.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.003e-05/2.01, allocations: 7.875 kB / 378 MB, free: 8.375 MB / 296.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/2.01, allocations: 70.22 kB / 378 MB, free: 8.332 MB / 296.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01268/2.022, allocations: 3.638 MB / 381.7 MB, free: 6.969 MB / 296.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/2.022, allocations: 3.875 kB / 381.7 MB, free: 6.969 MB / 296.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.39e-05/2.022, allocations: 7.875 kB / 381.7 MB, free: 6.965 MB / 296.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006953/2.023, allocations: 0.7141 MB / 382.4 MB, free: 6.902 MB / 296.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000781/2.024, allocations: 0.7964 MB / 383.2 MB, free: 6.766 MB / 296.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.471e-06/2.024, allocations: 3.969 kB / 383.2 MB, free: 6.766 MB / 296.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/2.024, allocations: 3.984 kB / 383.2 MB, free: 6.762 MB / 296.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/2.024, allocations: 4 kB / 383.2 MB, free: 6.758 MB / 296.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002362/2.024, allocations: 277 kB / 383.5 MB, free: 6.496 MB / 296.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/2.026, allocations: 1.818 MB / 385.3 MB, free: 6.41 MB / 296.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001255/2.027, allocations: 1.807 MB / 387.1 MB, free: 6.34 MB / 296.6 MB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/2.027, allocations: 7.766 kB / 387.1 MB, free: 6.336 MB / 296.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008988/2.028, allocations: 1.029 MB / 388.1 MB, free: 6.113 MB / 296.6 MB Notification: Performance of pre-optimization done (n=225): time 4.145e-06/2.028, allocations: 3.938 kB / 388.1 MB, free: 6.109 MB / 296.6 MB Notification: Performance of matching and sorting (n=225): time 0.00298/2.031, allocations: 1.661 MB / 389.8 MB, free: 5.855 MB / 296.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002474/2.031, allocations: 398.7 kB / 390.2 MB, free: 5.676 MB / 296.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/2.031, allocations: 174 kB / 390.4 MB, free: 5.555 MB / 296.6 MB Notification: Performance of collectPreVariables (initialization): time 0.0002172/2.031, allocations: 164.4 kB / 390.5 MB, free: 5.492 MB / 296.6 MB Notification: Performance of collectInitialEqns (initialization): time 4.528e-05/2.032, allocations: 168 kB / 390.7 MB, free: 5.336 MB / 296.6 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005452/2.032, allocations: 0.9037 MB / 391.6 MB, free: 4.703 MB / 296.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/2.032, allocations: 3.938 kB / 391.6 MB, free: 4.699 MB / 296.6 MB Notification: Performance of setup shared object (initialization): time 0.000231/2.032, allocations: 460.3 kB / 392 MB, free: 20.34 MB / 312.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001576/2.034, allocations: 0.9926 MB / 393 MB, free: 20.18 MB / 312.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002134/2.036, allocations: 2.549 MB / 395.6 MB, free: 17.95 MB / 312.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002157/2.038, allocations: 1.498 MB / 397.1 MB, free: 17.53 MB / 312.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.019e-05/2.038, allocations: 14.47 kB / 397.1 MB, free: 17.53 MB / 312.6 MB Notification: Performance of matching and sorting (n=470) (initialization): time 0.005923/2.044, allocations: 3.187 MB / 400.3 MB, free: 16.5 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/2.044, allocations: 4.281 kB / 400.3 MB, free: 16.5 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.076e-05/2.044, allocations: 54.72 kB / 400.3 MB, free: 16.5 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001283/2.045, allocations: 83.72 kB / 400.4 MB, free: 16.5 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001588/2.046, allocations: 0.5231 MB / 400.9 MB, free: 16.34 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001025/2.046, allocations: 116.3 kB / 401 MB, free: 16.3 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/2.048, allocations: 226.4 kB / 401.3 MB, free: 16.16 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000285/2.048, allocations: 182.2 kB / 401.4 MB, free: 16.12 MB / 312.6 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005099/2.049, allocations: 392.3 kB / 401.8 MB, free: 15.89 MB / 312.6 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005623/2.054, allocations: 2.816 MB / 404.6 MB, free: 14.54 MB / 312.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002002/2.055, allocations: 107.5 kB / 404.8 MB, free: 14.48 MB / 312.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.195e-05/2.055, allocations: 17.14 kB / 404.8 MB, free: 14.46 MB / 312.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.435e-06/2.055, allocations: 4 kB / 404.8 MB, free: 14.46 MB / 312.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.26e-06/2.055, allocations: 0 / 404.8 MB, free: 14.46 MB / 312.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/2.055, allocations: 0 / 404.8 MB, free: 14.46 MB / 312.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005382/2.055, allocations: 438.4 kB / 405.2 MB, free: 13.99 MB / 312.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.26e-06/2.055, allocations: 0 / 405.2 MB, free: 13.99 MB / 312.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.13e-06/2.055, allocations: 0 / 405.2 MB, free: 13.99 MB / 312.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.891e-06/2.055, allocations: 0 / 405.2 MB, free: 13.99 MB / 312.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001072/2.055, allocations: 47.98 kB / 405.2 MB, free: 13.95 MB / 312.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.078e-06/2.055, allocations: 0 / 405.2 MB, free: 13.95 MB / 312.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.274e-06/2.055, allocations: 0 / 405.2 MB, free: 13.95 MB / 312.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005242/2.061, allocations: 2.91 MB / 408.2 MB, free: 11.02 MB / 312.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001529/2.061, allocations: 175.7 kB / 408.3 MB, free: 10.83 MB / 312.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001865/2.061, allocations: 52.02 kB / 408.4 MB, free: 10.78 MB / 312.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003292/2.061, allocations: 35.98 kB / 408.4 MB, free: 10.74 MB / 312.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/2.061, allocations: 27.84 kB / 408.4 MB, free: 10.71 MB / 312.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/2.062, allocations: 63.98 kB / 408.5 MB, free: 10.65 MB / 312.6 MB Notification: Performance of sort global known variables: time 0.000115/2.062, allocations: 124.3 kB / 408.6 MB, free: 10.53 MB / 312.6 MB Notification: Performance of remove unused functions: time 0.00237/2.064, allocations: 423.9 kB / 409 MB, free: 10.12 MB / 312.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.008204/2.072, allocations: 5.499 MB / 414.5 MB, free: 4.648 MB / 312.6 MB Notification: Performance of simCode: created initialization part: time 0.00481/2.077, allocations: 3.058 MB / 417.6 MB, free: 1.594 MB / 312.6 MB Notification: Performance of simCode: created event and clocks part: time 2.7e-06/2.077, allocations: 4.375 kB / 417.6 MB, free: 1.59 MB / 312.6 MB Notification: Performance of simCode: created simulation system equations: time 0.05007/2.127, allocations: 53.52 MB / 471.1 MB, free: 12.09 MB / 376.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/2.128, allocations: 44.08 kB / 471.2 MB, free: 12.05 MB / 376.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003433/2.131, allocations: 2.087 MB / 473.3 MB, free: 9.91 MB / 376.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001029/2.132, allocations: 1.229 MB / 474.5 MB, free: 8.656 MB / 376.6 MB Notification: Performance of SimCode: time 8.09e-07/2.132, allocations: 0 / 474.5 MB, free: 8.656 MB / 376.6 MB Notification: Performance of translateModelFMU complete: time 0.03887/2.171, allocations: 20.38 MB / 494.9 MB, free: 4.238 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_RealFFT2CalcHelperMain.o OMCppModelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT2CalcHelperMain.cpp In file included from OMCppModelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT2CalcHelperMain.cpp:34: ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT2.cpp:1625:7: warning: expression result unused [-Wunused-value] tmp2; ^~~~ In file included from OMCppModelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT2CalcHelperMain.cpp:35: In file included from ./OMCppModelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT2FMU.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_RealFFT2.so OMCppModelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT2CalcHelperMain.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_RealFFT2CalcHelperMain.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.RealFFT2/./OMCppModelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT2Functions.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_RealFFT2_FMU.makefile:93: recipe for target 'Modelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT2.fmu' failed make: *** [Modelica_3_2_2_fmi_cpp_Modelica_Math_FastFourierTransform_Examples_RealFFT2.fmu] Error 1