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 2.837/2.837, allocations: 318.2 MB / 323.4 MB, free: 13.39 MB / 264.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2123/3.05, allocations: 75.17 MB / 398.6 MB, free: 2.16 MB / 328.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3539/3.404, allocations: 72.83 MB / 471.4 MB, free: 1.883 MB / 376.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.452/8.856, allocations: 2.174 GB / 2.635 GB, free: 138.1 MB / 0.6178 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003886/8.856, allocations: 105.5 kB / 2.635 GB, free: 138 MB / 0.6178 GB Notification: Performance of Generate backend data structure: time 1.065/9.921, allocations: 197.5 MB / 2.828 GB, free: 153.9 MB / 0.6178 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/9.921, allocations: 10.84 kB / 2.828 GB, free: 153.9 MB / 0.6178 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006837/9.928, allocations: 0.6681 MB / 2.828 GB, free: 153.7 MB / 0.6178 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007824/9.936, allocations: 2.147 MB / 2.83 GB, free: 153.2 MB / 0.6178 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/9.936, allocations: 120.8 kB / 2.83 GB, free: 153.2 MB / 0.6178 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001856/9.938, allocations: 217.6 kB / 2.831 GB, free: 153.2 MB / 0.6178 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01545/9.954, allocations: 4.446 MB / 2.835 GB, free: 153.2 MB / 0.6178 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01808/9.972, allocations: 4.623 MB / 2.839 GB, free: 152.5 MB / 0.6178 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001879/9.972, allocations: 16.06 kB / 2.839 GB, free: 152.5 MB / 0.6178 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001142/9.973, allocations: 9.812 kB / 2.84 GB, free: 152.5 MB / 0.6178 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002534/9.974, allocations: 206.5 kB / 2.84 GB, free: 152.5 MB / 0.6178 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04801/10.02, allocations: 18.46 MB / 2.858 GB, free: 145.6 MB / 0.6178 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008542/10.03, allocations: 3.137 MB / 2.861 GB, free: 144.5 MB / 0.6178 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004128/10.03, allocations: 1.681 MB / 2.862 GB, free: 143.8 MB / 0.6178 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002795/10.04, allocations: 3.339 MB / 2.866 GB, free: 140 MB / 0.6178 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004845/10.04, allocations: 1.761 MB / 2.867 GB, free: 139.3 MB / 0.6178 GB Notification: Performance of pre-optimization done (n=252): time 1.025e-05/10.04, allocations: 0 / 2.867 GB, free: 139.3 MB / 0.6178 GB Notification: Performance of matching and sorting (n=255): time 0.01723/10.06, allocations: 5.281 MB / 2.873 GB, free: 136.6 MB / 0.6178 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001823/10.06, allocations: 497.6 kB / 2.873 GB, free: 136 MB / 0.6178 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003233/10.06, allocations: 1.277 MB / 2.874 GB, free: 135.5 MB / 0.6178 GB Notification: Performance of collectPreVariables (initialization): time 0.0008008/10.06, allocations: 29.52 kB / 2.874 GB, free: 135.4 MB / 0.6178 GB Notification: Performance of collectInitialEqns (initialization): time 0.001585/10.07, allocations: 1.272 MB / 2.876 GB, free: 134.5 MB / 0.6178 GB Notification: Performance of collectInitialBindings (initialization): time 0.00162/10.07, allocations: 0.8109 MB / 2.876 GB, free: 133.9 MB / 0.6178 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003645/10.07, allocations: 1.375 kB / 2.876 GB, free: 133.9 MB / 0.6178 GB Notification: Performance of setup shared object (initialization): time 0.0002579/10.07, allocations: 409.9 kB / 2.877 GB, free: 133.5 MB / 0.6178 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003984/10.07, allocations: 1.283 MB / 2.878 GB, free: 133 MB / 0.6178 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005246/10.08, allocations: 1.898 MB / 2.88 GB, free: 131.7 MB / 0.6178 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01379/10.09, allocations: 1.882 MB / 2.882 GB, free: 130.8 MB / 0.6178 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.19e-05/10.09, allocations: 8 kB / 2.882 GB, free: 130.7 MB / 0.6178 GB Notification: Performance of matching and sorting (n=344) (initialization): time 0.01613/10.11, allocations: 3.799 MB / 2.885 GB, free: 127.4 MB / 0.6178 GB Notification: Performance of prepare postOptimizeDAE: time 0.001517/10.11, allocations: 6.517 MB / 2.892 GB, free: 120.5 MB / 0.6178 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001018/10.11, allocations: 20 kB / 2.892 GB, free: 120.5 MB / 0.6178 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.33e-05/10.11, allocations: 34.91 kB / 2.892 GB, free: 120.4 MB / 0.6178 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006911/10.12, allocations: 0.6423 MB / 2.892 GB, free: 120 MB / 0.6178 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.089e-05/10.12, allocations: 40.44 kB / 2.892 GB, free: 119.9 MB / 0.6178 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004593/10.12, allocations: 172.8 kB / 2.893 GB, free: 119.8 MB / 0.6178 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007789/10.12, allocations: 122.8 kB / 2.893 GB, free: 119.7 MB / 0.6178 GB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/10.12, allocations: 8 kB / 2.893 GB, free: 119.7 MB / 0.6178 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01328/10.13, allocations: 3.211 MB / 2.896 GB, free: 116.9 MB / 0.6178 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.973e-05/10.13, allocations: 19.47 kB / 2.896 GB, free: 116.9 MB / 0.6178 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.936e-05/10.13, allocations: 36.12 kB / 2.896 GB, free: 116.8 MB / 0.6178 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005935/10.14, allocations: 0.601 MB / 2.897 GB, free: 116.4 MB / 0.6178 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.791e-05/10.14, allocations: 43.48 kB / 2.897 GB, free: 116.3 MB / 0.6178 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004173/10.15, allocations: 145.1 kB / 2.897 GB, free: 116.2 MB / 0.6178 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006005/10.15, allocations: 119.2 kB / 2.897 GB, free: 116.1 MB / 0.6178 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005971/10.15, allocations: 223 kB / 2.897 GB, free: 115.9 MB / 0.6178 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008367/10.15, allocations: 225.3 kB / 2.897 GB, free: 115.6 MB / 0.6178 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01637/10.16, allocations: 4.053 MB / 2.901 GB, free: 112.3 MB / 0.6178 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-05/10.16, allocations: 28 kB / 2.901 GB, free: 112.2 MB / 0.6178 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.45e-05/10.16, allocations: 0 / 2.901 GB, free: 112.2 MB / 0.6178 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.347e-05/10.16, allocations: 11.11 kB / 2.901 GB, free: 112.2 MB / 0.6178 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02695/10.19, allocations: 8.414 MB / 2.909 GB, free: 105.3 MB / 0.6178 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.256e-05/10.19, allocations: 4 kB / 2.909 GB, free: 105.3 MB / 0.6178 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006532/10.2, allocations: 0.5309 MB / 2.91 GB, free: 104.9 MB / 0.6178 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.998e-05/10.2, allocations: 20 kB / 2.91 GB, free: 104.9 MB / 0.6178 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007587/10.2, allocations: 35.03 kB / 2.91 GB, free: 104.9 MB / 0.6178 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.016e-05/10.2, allocations: 13.97 kB / 2.91 GB, free: 104.9 MB / 0.6178 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.214e-05/10.2, allocations: 9.5 kB / 2.91 GB, free: 104.9 MB / 0.6178 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01282/10.21, allocations: 4.231 MB / 2.914 GB, free: 100.8 MB / 0.6178 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01303/10.22, allocations: 4.675 MB / 2.919 GB, free: 96.31 MB / 0.6178 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002831/10.23, allocations: 0.7583 MB / 2.92 GB, free: 95.64 MB / 0.6178 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/10.23, allocations: 9.688 kB / 2.92 GB, free: 95.63 MB / 0.6178 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003826/10.23, allocations: 91.64 kB / 2.92 GB, free: 95.57 MB / 0.6178 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009656/10.23, allocations: 149.8 kB / 2.92 GB, free: 95.48 MB / 0.6178 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003413/10.23, allocations: 91.03 kB / 2.92 GB, free: 95.4 MB / 0.6178 GB Notification: Performance of sort global known variables: time 0.002592/10.24, allocations: 1.026 MB / 2.921 GB, free: 94.48 MB / 0.6178 GB Notification: Performance of remove unused functions: time 0.0102/10.25, allocations: 1.259 MB / 2.922 GB, free: 93.25 MB / 0.6178 GB Notification: Performance of Backend phase and start with SimCode phase: time 0.001913/10.25, allocations: 0.6364 MB / 2.923 GB, free: 92.83 MB / 0.6178 GB Notification: Performance of simCode: created initialization part: time 0.01415/10.26, allocations: 5.325 MB / 2.928 GB, free: 87.68 MB / 0.6178 GB Notification: Performance of simCode: created event and clocks part: time 1.416e-05/10.26, allocations: 0 / 2.928 GB, free: 87.68 MB / 0.6178 GB Notification: Performance of simCode: created simulation system equations: time 0.004765/10.27, allocations: 1.79 MB / 2.93 GB, free: 85.86 MB / 0.6178 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005411/10.27, allocations: 441.8 kB / 2.93 GB, free: 85.45 MB / 0.6178 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.022/10.29, allocations: 5.513 MB / 2.935 GB, free: 79.82 MB / 0.6178 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00695/10.3, allocations: 2.688 MB / 2.938 GB, free: 77.1 MB / 0.6178 GB Notification: Performance of SimCode: time 1.764e-06/10.3, allocations: 0 / 2.938 GB, free: 77.1 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/Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.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 -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_FMU.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_FMU.c Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_FMU.c:1294: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_FMU.c:1294: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_FMU.c:1294:24: error: expected ';' after top level declarator dynamic, prescribed power consumption, etc.)" ^ ; Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_FMU.c:1294: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_FMU.c:1422: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_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_FMU.c:1421: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_setupDataStruc ^ In file included from Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_FMU.c:1422: 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_FMU.o' failed make: *** [Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_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/Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.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.def Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.a Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.so Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_FMU.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_functions.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_records.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_01exo.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_02nls.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_03lsy.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_04set.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_05evt.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_06inz.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_07dly.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_08bnd.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_09alg.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_10asr.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_11mix.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_12jac.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_13opt.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_14lnz.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_15syn.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_16dae.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_17inl.o Buildings_2_1_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_PVPanels_init_fmu.o