Warning: Requested package Modelica of version 3.2.2, but this package was already loaded with version 3.2.1. You might experience problems if these versions are incompatible. Notification: Performance of loadModel(Buildings): time 3.033/3.033, allocations: 318.2 MB / 323.4 MB, free: 13.26 MB / 264.6 MB Notification: Performance of FrontEnd - loaded program: time 0.219/3.252, allocations: 75.16 MB / 398.6 MB, free: 2.047 MB / 328.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/3.632, allocations: 72.83 MB / 471.4 MB, free: 1.855 MB / 376.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.412/9.044, allocations: 2.173 GB / 2.634 GB, free: 14.88 MB / 0.6178 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005332/9.045, allocations: 101.4 kB / 2.634 GB, free: 14.82 MB / 0.6178 GB Notification: Performance of Generate backend data structure: time 1.063/10.11, allocations: 182 MB / 2.812 GB, free: 93.98 MB / 0.6178 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/10.11, allocations: 8 kB / 2.812 GB, free: 93.97 MB / 0.6178 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007519/10.12, allocations: 0.6004 MB / 2.812 GB, free: 93.37 MB / 0.6178 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006862/10.12, allocations: 1.986 MB / 2.814 GB, free: 91.32 MB / 0.6178 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001904/10.12, allocations: 116 kB / 2.814 GB, free: 91.21 MB / 0.6178 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00146/10.12, allocations: 207.9 kB / 2.814 GB, free: 91.01 MB / 0.6178 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01344/10.14, allocations: 4.227 MB / 2.818 GB, free: 86.78 MB / 0.6178 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01731/10.16, allocations: 4.322 MB / 2.823 GB, free: 82.29 MB / 0.6178 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000263/10.16, allocations: 7.938 kB / 2.823 GB, free: 82.28 MB / 0.6178 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00156/10.16, allocations: 12 kB / 2.823 GB, free: 82.27 MB / 0.6178 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002255/10.16, allocations: 182.3 kB / 2.823 GB, free: 82.09 MB / 0.6178 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05352/10.21, allocations: 16.39 MB / 2.839 GB, free: 65.19 MB / 0.6178 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00748/10.22, allocations: 2.798 MB / 2.842 GB, free: 62.36 MB / 0.6178 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003767/10.22, allocations: 1.439 MB / 2.843 GB, free: 60.91 MB / 0.6178 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003131/10.23, allocations: 3.347 MB / 2.846 GB, free: 56.81 MB / 0.6178 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004077/10.23, allocations: 1.557 MB / 2.848 GB, free: 55.22 MB / 0.6178 GB Notification: Performance of pre-optimization done (n=238): time 1.651e-05/10.23, allocations: 3.984 kB / 2.848 GB, free: 55.22 MB / 0.6178 GB Notification: Performance of matching and sorting (n=241): time 0.01537/10.24, allocations: 4.798 MB / 2.853 GB, free: 50.38 MB / 0.6178 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001565/10.25, allocations: 0.4889 MB / 2.853 GB, free: 49.78 MB / 0.6178 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002444/10.25, allocations: 1.199 MB / 2.854 GB, free: 48.57 MB / 0.6178 GB Notification: Performance of collectPreVariables (initialization): time 0.0005365/10.25, allocations: 29.7 kB / 2.854 GB, free: 48.53 MB / 0.6178 GB Notification: Performance of collectInitialEqns (initialization): time 0.001578/10.25, allocations: 1.222 MB / 2.855 GB, free: 47.29 MB / 0.6178 GB Notification: Performance of collectInitialBindings (initialization): time 0.001168/10.25, allocations: 0.7698 MB / 2.856 GB, free: 46.51 MB / 0.6178 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002935/10.25, allocations: 4.281 kB / 2.856 GB, free: 46.5 MB / 0.6178 GB Notification: Performance of setup shared object (initialization): time 0.0001839/10.25, allocations: 403.2 kB / 2.857 GB, free: 46.11 MB / 0.6178 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00285/10.25, allocations: 1.161 MB / 2.858 GB, free: 44.94 MB / 0.6178 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00323/10.26, allocations: 1.773 MB / 2.859 GB, free: 42.92 MB / 0.6178 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007335/10.26, allocations: 1.76 MB / 2.861 GB, free: 41.16 MB / 0.6178 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.217e-05/10.27, allocations: 4 kB / 2.861 GB, free: 41.15 MB / 0.6178 GB Notification: Performance of matching and sorting (n=330) (initialization): time 0.012/10.28, allocations: 3.522 MB / 2.865 GB, free: 37.62 MB / 0.6178 GB Notification: Performance of prepare postOptimizeDAE: time 0.001459/10.28, allocations: 6.477 MB / 2.871 GB, free: 30.68 MB / 0.6178 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.357e-05/10.28, allocations: 16 kB / 2.871 GB, free: 30.66 MB / 0.6178 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.657e-05/10.28, allocations: 35.94 kB / 2.871 GB, free: 30.63 MB / 0.6178 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006068/10.28, allocations: 0.6084 MB / 2.872 GB, free: 30.02 MB / 0.6178 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.917e-05/10.28, allocations: 39.92 kB / 2.872 GB, free: 29.98 MB / 0.6178 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003546/10.29, allocations: 166.3 kB / 2.872 GB, free: 29.82 MB / 0.6178 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003776/10.29, allocations: 123.9 kB / 2.872 GB, free: 29.7 MB / 0.6178 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/10.29, allocations: 4 kB / 2.872 GB, free: 29.69 MB / 0.6178 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01056/10.3, allocations: 3.042 MB / 2.875 GB, free: 26.65 MB / 0.6178 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.331e-05/10.3, allocations: 16 kB / 2.875 GB, free: 26.63 MB / 0.6178 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.968e-05/10.3, allocations: 32.86 kB / 2.875 GB, free: 26.6 MB / 0.6178 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005054/10.3, allocations: 0.5811 MB / 2.875 GB, free: 26.02 MB / 0.6178 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.771e-05/10.3, allocations: 39.86 kB / 2.875 GB, free: 25.98 MB / 0.6178 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003219/10.31, allocations: 134.5 kB / 2.876 GB, free: 25.85 MB / 0.6178 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006068/10.31, allocations: 131.9 kB / 2.876 GB, free: 25.72 MB / 0.6178 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004738/10.31, allocations: 227.7 kB / 2.876 GB, free: 25.46 MB / 0.6178 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006637/10.31, allocations: 205.6 kB / 2.876 GB, free: 25.26 MB / 0.6178 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01588/10.33, allocations: 3.657 MB / 2.88 GB, free: 21.58 MB / 0.6178 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.832e-05/10.33, allocations: 24 kB / 2.88 GB, free: 21.56 MB / 0.6178 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.638e-05/10.33, allocations: 7.984 kB / 2.88 GB, free: 21.55 MB / 0.6178 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-05/10.33, allocations: 11.95 kB / 2.88 GB, free: 21.54 MB / 0.6178 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02507/10.35, allocations: 8.43 MB / 2.888 GB, free: 12.92 MB / 0.6178 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.148e-05/10.35, allocations: 8 kB / 2.888 GB, free: 12.91 MB / 0.6178 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005145/10.36, allocations: 499.2 kB / 2.888 GB, free: 12.43 MB / 0.6178 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.42e-05/10.36, allocations: 16 kB / 2.888 GB, free: 12.41 MB / 0.6178 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000449/10.36, allocations: 39.97 kB / 2.889 GB, free: 12.37 MB / 0.6178 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.386e-05/10.36, allocations: 27.83 kB / 2.889 GB, free: 12.34 MB / 0.6178 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.108e-05/10.36, allocations: 8 kB / 2.889 GB, free: 12.34 MB / 0.6178 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0124/10.37, allocations: 4.042 MB / 2.893 GB, free: 7.973 MB / 0.6178 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01253/10.38, allocations: 4.479 MB / 2.897 GB, free: 3.168 MB / 0.6178 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003149/10.38, allocations: 0.7045 MB / 2.898 GB, free: 2.441 MB / 0.6178 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001402/10.39, allocations: 15.98 kB / 2.898 GB, free: 2.426 MB / 0.6178 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003799/10.39, allocations: 79.91 kB / 2.898 GB, free: 2.348 MB / 0.6178 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008415/10.39, allocations: 157.5 kB / 2.898 GB, free: 2.191 MB / 0.6178 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003595/10.39, allocations: 83.97 kB / 2.898 GB, free: 2.109 MB / 0.6178 GB Notification: Performance of sort global known variables: time 0.002225/10.39, allocations: 0.9702 MB / 2.899 GB, free: 1.145 MB / 0.6178 GB Notification: Performance of remove unused functions: time 0.2787/10.67, allocations: 1.192 MB / 2.9 GB, free: 214.6 MB / 0.6178 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.002874/10.68, allocations: 0.6304 MB / 2.901 GB, free: 214.5 MB / 0.6178 GB Notification: Performance of simCode: created initialization part: time 0.01672/10.69, allocations: 4.914 MB / 2.905 GB, free: 214 MB / 0.6178 GB Notification: Performance of simCode: created event and clocks part: time 1.601e-05/10.69, allocations: 3.172 kB / 2.905 GB, free: 214 MB / 0.6178 GB Notification: Performance of simCode: created simulation system equations: time 0.00496/10.7, allocations: 1.613 MB / 2.907 GB, free: 213.9 MB / 0.6178 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005165/10.7, allocations: 396.6 kB / 2.907 GB, free: 213.9 MB / 0.6178 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01714/10.72, allocations: 5.15 MB / 2.912 GB, free: 212.7 MB / 0.6178 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005611/10.73, allocations: 2.572 MB / 2.915 GB, free: 211.9 MB / 0.6178 GB Notification: Performance of SimCode: time 1.714e-06/10.73, allocations: 0 / 2.915 GB, free: 211.9 MB / 0.6178 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Buildings_2.1.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N/Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.fmutmp/sources' clang -fPIC -O0 -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_FMU.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_FMU.c Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_FMU.c:1219:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dynamic, prescribed power consumption, etc.)" ^ Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_FMU.c:1219:14: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] dynamic, prescribed power consumption, etc.)" ^ Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_FMU.c:1219:24: error: expected ';' after top level declarator dynamic, prescribed power consumption, etc.)" ^ ; Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_FMU.c:1219:49: warning: missing terminating '"' character [-Winvalid-pp-token] dynamic, prescribed power consumption, etc.)" ^ In file included from Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_FMU.c:1337: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_FMU.c:1336:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_setupDataStruc ^ In file included from Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_FMU.c:1337: include/fmi2/fmu2_model_interface.c:1016:12: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] if (vr < 0 || vr >= NUMBER_OF_REALS|| setReal(comp, vr, x[i]) != fmi2OK) { // to be implemented by the includer of this file ~~ ^ ~ 5 warnings and 1 error generated. : recipe for target 'Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_FMU.o' failed make: *** [Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_FMU.o] Error 1 make: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Buildings_2.1.0_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.PVPanels_N/Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.fmutmp/sources' Error: Error building simulator. Build log: checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu build_short: x86_64-linux-gnu host_short: x86_64-linux-gnu checking for gcc... clang checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether clang accepts -g... yes checking for clang option to accept ISO C89... none needed checking how to run the C preprocessor... clang -E checking whether make sets $(MAKE)... yes checking for cross-compilation flags... not cross-compiling checking if -Werror works... ok checking looking for --no-undefined... yes checking looking for dollars in identifiers... CPPFLAGS: -fdollars-in-identifiers checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... no checking for an ANSI C-conforming const... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for size_t... yes checking for vprintf... yes checking for _doprnt... no checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... -Wl,-Bstatic -llapack -lblas -Wl,-Bdynamic checking for static pthreads... OK (static) checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.def Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.a Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.so Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_FMU.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_functions.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_records.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_01exo.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_02nls.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_03lsy.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_04set.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_05evt.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_06inz.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_07dly.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_08bnd.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_09alg.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_10asr.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_11mix.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_12jac.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_13opt.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_14lnz.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_15syn.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_16dae.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_17inl.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_N_init_fmu.o