Notification: Performance of loadModel(ModelicaTest): time 2.04/2.04, allocations: 235 MB / 240.9 MB, free: 7.348 MB / 200.6 MB Notification: Performance of FrontEnd - loaded program: time 0.2353/2.276, allocations: 57.18 MB / 298.1 MB, free: 8.473 MB / 248.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09672/2.373, allocations: 54.87 MB / 352.9 MB, free: 9.254 MB / 296.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4199/2.793, allocations: 190 MB / 0.5303 GB, free: 10.49 MB / 408.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/2.793, allocations: 83.14 kB / 0.5303 GB, free: 10.44 MB / 408.6 MB Notification: Performance of Generate backend data structure: time 0.1881/2.981, allocations: 54.58 MB / 0.5836 GB, free: 11.02 MB / 456.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/2.981, allocations: 8 kB / 0.5837 GB, free: 11.01 MB / 456.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006214/2.982, allocations: 43.78 kB / 0.5837 GB, free: 10.96 MB / 456.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/2.982, allocations: 222.7 kB / 0.5839 GB, free: 10.71 MB / 456.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/2.982, allocations: 4 kB / 0.5839 GB, free: 10.7 MB / 456.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/2.982, allocations: 16 kB / 0.5839 GB, free: 10.69 MB / 456.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003973/2.982, allocations: 219.5 kB / 0.5841 GB, free: 10.47 MB / 456.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003705/2.983, allocations: 209 kB / 0.5843 GB, free: 10.23 MB / 456.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/2.983, allocations: 3.938 kB / 0.5843 GB, free: 10.23 MB / 456.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.547e-05/2.983, allocations: 4 kB / 0.5843 GB, free: 10.23 MB / 456.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.584e-06/2.983, allocations: 8 kB / 0.5844 GB, free: 10.22 MB / 456.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003521/2.986, allocations: 3.434 MB / 0.5877 GB, free: 6.219 MB / 456.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/2.987, allocations: 65.64 kB / 0.5878 GB, free: 6.148 MB / 456.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.621e-05/2.987, allocations: 24.86 kB / 0.5878 GB, free: 6.121 MB / 456.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000333/2.987, allocations: 356.9 kB / 0.5881 GB, free: 5.699 MB / 456.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002178/2.987, allocations: 121.9 kB / 0.5882 GB, free: 5.559 MB / 456.6 MB Notification: Performance of pre-optimization done (n=12): time 4.125e-06/2.987, allocations: 0 / 0.5882 GB, free: 5.559 MB / 456.6 MB Notification: Performance of matching and sorting (n=13): time 0.001604/2.989, allocations: 240.5 kB / 0.5885 GB, free: 5.316 MB / 456.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/2.989, allocations: 103.1 kB / 0.5886 GB, free: 5.191 MB / 456.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/2.989, allocations: 154.3 kB / 0.5887 GB, free: 5.035 MB / 456.6 MB Notification: Performance of collectPreVariables (initialization): time 2.711e-05/2.989, allocations: 25.7 kB / 0.5887 GB, free: 5.004 MB / 456.6 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/2.989, allocations: 163.4 kB / 0.5889 GB, free: 4.84 MB / 456.6 MB Notification: Performance of collectInitialBindings (initialization): time 4.658e-05/2.989, allocations: 47.3 kB / 0.5889 GB, free: 4.793 MB / 456.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.414e-05/2.989, allocations: 4.062 kB / 0.589 GB, free: 4.789 MB / 456.6 MB Notification: Performance of setup shared object (initialization): time 0.0001544/2.99, allocations: 326.8 kB / 0.5893 GB, free: 4.461 MB / 456.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.263e-05/2.99, allocations: 35.98 kB / 0.5893 GB, free: 4.426 MB / 456.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001853/2.99, allocations: 175.2 kB / 0.5895 GB, free: 4.184 MB / 456.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002818/2.993, allocations: 231.7 kB / 0.5897 GB, free: 3.957 MB / 456.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.294e-06/2.993, allocations: 0 / 0.5897 GB, free: 3.957 MB / 456.6 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.003371/2.996, allocations: 389.4 kB / 0.5901 GB, free: 3.57 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/2.996, allocations: 8 kB / 0.5901 GB, free: 3.562 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.215e-05/2.996, allocations: 4 kB / 0.5901 GB, free: 3.559 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.108e-05/2.996, allocations: 8 kB / 0.5901 GB, free: 3.551 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001053/2.997, allocations: 116 kB / 0.5902 GB, free: 3.438 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007934/2.998, allocations: 0.6094 MB / 0.5908 GB, free: 2.805 MB / 456.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000413/2.999, allocations: 4 kB / 0.5908 GB, free: 2.801 MB / 456.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001154/2.999, allocations: 35.98 kB / 0.5908 GB, free: 2.766 MB / 456.6 MB Notification: Performance of prepare postOptimizeDAE: time 8.745e-05/2.999, allocations: 75.28 kB / 0.5909 GB, free: 2.691 MB / 456.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.749e-05/2.999, allocations: 15.81 kB / 0.5909 GB, free: 2.676 MB / 456.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001703/3.001, allocations: 389 kB / 0.5913 GB, free: 2.285 MB / 456.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.648e-05/3.001, allocations: 4 kB / 0.5913 GB, free: 2.281 MB / 456.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.798e-06/3.001, allocations: 0 / 0.5913 GB, free: 2.281 MB / 456.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.118e-06/3.001, allocations: 0 / 0.5913 GB, free: 2.281 MB / 456.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001196/3.002, allocations: 467.7 kB / 0.5917 GB, free: 1.777 MB / 456.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.446e-06/3.002, allocations: 0 / 0.5917 GB, free: 1.777 MB / 456.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007935/3.003, allocations: 71.89 kB / 0.5918 GB, free: 1.707 MB / 456.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.989e-06/3.003, allocations: 3.906 kB / 0.5918 GB, free: 1.703 MB / 456.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/3.003, allocations: 4 kB / 0.5918 GB, free: 1.699 MB / 456.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005685/3.003, allocations: 0.5938 MB / 0.5924 GB, free: 1.082 MB / 456.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.824e-06/3.003, allocations: 0 / 0.5924 GB, free: 1.082 MB / 456.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008475/3.004, allocations: 287.5 kB / 0.5927 GB, free: 0.7773 MB / 456.6 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001025/3.005, allocations: 0.6663 MB / 0.5933 GB, free: 84 kB / 456.6 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000191/3.006, allocations: 136.8 kB / 0.5934 GB, free: 15.93 MB / 472.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.001e-05/3.006, allocations: 4 kB / 0.5934 GB, free: 15.93 MB / 472.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002336/3.006, allocations: 3.906 kB / 0.5934 GB, free: 15.92 MB / 472.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/3.006, allocations: 7.984 kB / 0.5935 GB, free: 15.91 MB / 472.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.462e-05/3.006, allocations: 16 kB / 0.5935 GB, free: 15.9 MB / 472.6 MB Notification: Performance of sort global known variables: time 0.0001221/3.006, allocations: 119.2 kB / 0.5936 GB, free: 15.78 MB / 472.6 MB Notification: Performance of remove unused functions: time 0.002113/3.008, allocations: 283.6 kB / 0.5939 GB, free: 15.5 MB / 472.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.001336/3.01, allocations: 426.4 kB / 0.5943 GB, free: 15.1 MB / 472.6 MB Notification: Performance of simCode: created initialization part: time 0.0009134/3.011, allocations: 177 kB / 0.5944 GB, free: 14.93 MB / 472.6 MB Notification: Performance of simCode: created event and clocks part: time 3.763e-06/3.011, allocations: 4.062 kB / 0.5944 GB, free: 14.92 MB / 472.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0004552/3.011, allocations: 79.91 kB / 0.5945 GB, free: 14.84 MB / 472.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/3.011, allocations: 19.97 kB / 0.5945 GB, free: 14.82 MB / 472.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1985/3.21, allocations: 20.05 MB / 0.6141 GB, free: 201.6 MB / 472.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004652/3.21, allocations: 0.7917 MB / 0.6149 GB, free: 200.9 MB / 472.6 MB Notification: Performance of SimCode: time 9.94e-07/3.21, allocations: 3.25 kB / 0.6149 GB, free: 200.9 MB / 472.6 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/ModelicaTest_3.2.2_fmi_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47/ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.fmutmp/sources' clang -fPIC -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_FMU.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_FMU.c In file included from ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_FMU.c:108: 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 ~~ ^ ~ 1 warning generated. clang -fPIC -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.c clang -fPIC -Os -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=2 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_functions.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_functions.c ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_functions.c:421:86: error: use of undeclared identifier '_poly_Cp' array_alloc_scalar_real_array(&tmp1, 2, (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 1))), (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 2)))); ^ ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_functions.c:421:191: error: use of undeclared identifier '_poly_Cp' array_alloc_scalar_real_array(&tmp1, 2, (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 1))), (modelica_real)(*real_array_element_addr1(&_poly_Cp, 1, /* modelica_integer */ ((modelica_integer) 2)))); ^ 2 errors generated. : recipe for target 'ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_functions.o' failed make: *** [ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_functions.o] Error 1 make: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/ModelicaTest_3.2.2_fmi_ModelicaTest.Media.TestAllProperties.IncompleteMedia.Glycol47/ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.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 ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.def ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.a ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.so ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_FMU.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_functions.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_records.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_01exo.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_02nls.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_03lsy.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_04set.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_05evt.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_06inz.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_07dly.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_08bnd.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_09alg.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_10asr.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_11mix.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_12jac.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_13opt.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_14lnz.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_15syn.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_16dae.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_17inl.o ModelicaTest_3_2_2_fmi_ModelicaTest_Media_TestAllProperties_IncompleteMedia_Glycol47_init_fmu.o