Notification: Performance of loadModel(Modelica): time 1.629/1.629, allocations: 194.9 MB / 200.8 MB, free: 4.75 MB / 168.6 MB Notification: Performance of FrontEnd - loaded program: time 0.1972/1.827, allocations: 46.82 MB / 247.6 MB, free: 4.445 MB / 200.6 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06706/1.894, allocations: 44.5 MB / 292.1 MB, free: 8.539 MB / 248.6 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.365/2.259, allocations: 186.9 MB / 479 MB, free: 1.262 MB / 376.6 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002318/2.259, allocations: 87.75 kB / 479.1 MB, free: 1.219 MB / 376.6 MB Notification: Performance of Generate backend data structure: time 0.235/2.494, allocations: 30.15 MB / 0.4973 GB, free: 140.9 MB / 392.6 MB Notification: Performance of prepare preOptimizeDAE: time 3.134e-05/2.494, allocations: 7.719 kB / 0.4973 GB, free: 140.9 MB / 392.6 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005069/2.495, allocations: 36.69 kB / 0.4974 GB, free: 140.9 MB / 392.6 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/2.495, allocations: 202.5 kB / 0.4976 GB, free: 140.7 MB / 392.6 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/2.495, allocations: 3.875 kB / 0.4976 GB, free: 140.7 MB / 392.6 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.872e-05/2.495, allocations: 3.906 kB / 0.4976 GB, free: 140.7 MB / 392.6 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002261/2.495, allocations: 105 kB / 0.4977 GB, free: 140.7 MB / 392.6 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/2.495, allocations: 136.3 kB / 0.4978 GB, free: 140.6 MB / 392.6 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.672e-06/2.495, allocations: 3.062 kB / 0.4978 GB, free: 140.6 MB / 392.6 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/2.495, allocations: 3.906 kB / 0.4978 GB, free: 140.6 MB / 392.6 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-06/2.495, allocations: 0 / 0.4978 GB, free: 140.6 MB / 392.6 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006623/2.496, allocations: 0.6085 MB / 0.4984 GB, free: 140.1 MB / 392.6 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/2.496, allocations: 84.03 kB / 0.4985 GB, free: 140.1 MB / 392.6 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.202e-05/2.496, allocations: 36.78 kB / 0.4985 GB, free: 140.1 MB / 392.6 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005615/2.497, allocations: 0.8561 MB / 0.4994 GB, free: 139.1 MB / 392.6 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.632e-05/2.497, allocations: 34.19 kB / 0.4994 GB, free: 139.1 MB / 392.6 MB Notification: Performance of pre-optimization done (n=13): time 1.869e-06/2.497, allocations: 1 kB / 0.4994 GB, free: 139.1 MB / 392.6 MB Notification: Performance of matching and sorting (n=13): time 0.001367/2.498, allocations: 161.6 kB / 0.4996 GB, free: 139 MB / 392.6 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.68e-05/2.498, allocations: 56.61 kB / 0.4996 GB, free: 139 MB / 392.6 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.601e-05/2.498, allocations: 103.6 kB / 0.4997 GB, free: 138.9 MB / 392.6 MB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/2.498, allocations: 27.05 kB / 0.4997 GB, free: 138.8 MB / 392.6 MB Notification: Performance of collectInitialEqns (initialization): time 3.538e-05/2.498, allocations: 107.5 kB / 0.4998 GB, free: 138.7 MB / 392.6 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/2.498, allocations: 49.08 kB / 0.4999 GB, free: 138.7 MB / 392.6 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.47e-06/2.498, allocations: 0 / 0.4999 GB, free: 138.7 MB / 392.6 MB Notification: Performance of setup shared object (initialization): time 5.113e-05/2.499, allocations: 320 kB / 0.5002 GB, free: 138.4 MB / 392.6 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.052e-05/2.499, allocations: 23.38 kB / 0.5002 GB, free: 138.4 MB / 392.6 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/2.499, allocations: 63.81 kB / 0.5003 GB, free: 138.3 MB / 392.6 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/2.5, allocations: 92.27 kB / 0.5004 GB, free: 138.3 MB / 392.6 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.508e-06/2.5, allocations: 1.094 kB / 0.5004 GB, free: 138.3 MB / 392.6 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001336/2.501, allocations: 192.4 kB / 0.5005 GB, free: 138.2 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/2.501, allocations: 5.969 kB / 0.5005 GB, free: 138.2 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.56e-06/2.501, allocations: 1.406 kB / 0.5006 GB, free: 138.2 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/2.501, allocations: 5.469 kB / 0.5006 GB, free: 138.2 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/2.502, allocations: 37.67 kB / 0.5006 GB, free: 138.2 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/2.502, allocations: 5.312 kB / 0.5006 GB, free: 138.2 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.212e-05/2.502, allocations: 9.719 kB / 0.5006 GB, free: 138.2 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.762e-05/2.502, allocations: 23.97 kB / 0.5006 GB, free: 138.2 MB / 392.6 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/2.502, allocations: 75.83 kB / 0.5007 GB, free: 138.1 MB / 392.6 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.526e-05/2.502, allocations: 8.219 kB / 0.5007 GB, free: 138.1 MB / 392.6 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001802/2.504, allocations: 343.1 kB / 0.501 GB, free: 138 MB / 392.6 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-05/2.504, allocations: 4.125 kB / 0.501 GB, free: 138 MB / 392.6 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.569e-06/2.504, allocations: 5.219 kB / 0.501 GB, free: 138 MB / 392.6 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.35e-06/2.504, allocations: 224 / 0.501 GB, free: 138 MB / 392.6 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001551/2.505, allocations: 0.495 MB / 0.5015 GB, free: 137.7 MB / 392.6 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/2.505, allocations: 3.094 kB / 0.5015 GB, free: 137.7 MB / 392.6 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001147/2.505, allocations: 29.3 kB / 0.5016 GB, free: 137.7 MB / 392.6 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.786e-06/2.505, allocations: 0 / 0.5016 GB, free: 137.7 MB / 392.6 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/2.505, allocations: 6.688 kB / 0.5016 GB, free: 137.7 MB / 392.6 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.354e-06/2.505, allocations: 1.375 kB / 0.5016 GB, free: 137.7 MB / 392.6 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/2.505, allocations: 0 / 0.5016 GB, free: 137.7 MB / 392.6 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001206/2.507, allocations: 312 kB / 0.5019 GB, free: 137.5 MB / 392.6 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001293/2.508, allocations: 0.6846 MB / 0.5025 GB, free: 137 MB / 392.6 MB Notification: Performance of postOpt removeConstants (simulation): time 8.766e-05/2.508, allocations: 101.1 kB / 0.5026 GB, free: 136.9 MB / 392.6 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.872e-05/2.508, allocations: 5.312 kB / 0.5026 GB, free: 136.9 MB / 392.6 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/2.508, allocations: 0 / 0.5026 GB, free: 136.9 MB / 392.6 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.293e-05/2.508, allocations: 13.81 kB / 0.5026 GB, free: 136.9 MB / 392.6 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/2.508, allocations: 12.47 kB / 0.5027 GB, free: 136.9 MB / 392.6 MB Notification: Performance of sort global known variables: time 4.796e-05/2.508, allocations: 91.22 kB / 0.5027 GB, free: 136.8 MB / 392.6 MB Notification: Performance of remove unused functions: time 0.001476/2.51, allocations: 102 kB / 0.5028 GB, free: 136.7 MB / 392.6 MB Notification: Performance of Backend phase and start with SimCode phase: time 0.0005018/2.51, allocations: 188.5 kB / 0.503 GB, free: 136.6 MB / 392.6 MB Notification: Performance of simCode: created initialization part: time 0.0002435/2.511, allocations: 106 kB / 0.5031 GB, free: 136.6 MB / 392.6 MB Notification: Performance of simCode: created event and clocks part: time 2.04e-06/2.511, allocations: 0 / 0.5031 GB, free: 136.6 MB / 392.6 MB Notification: Performance of simCode: created simulation system equations: time 0.0001701/2.511, allocations: 70.92 kB / 0.5032 GB, free: 136.6 MB / 392.6 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/2.511, allocations: 39.16 kB / 0.5032 GB, free: 136.6 MB / 392.6 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004076/2.512, allocations: 154.4 kB / 0.5034 GB, free: 136.5 MB / 392.6 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003471/2.512, allocations: 0.7477 MB / 0.5041 GB, free: 135.8 MB / 392.6 MB Notification: Performance of SimCode: time 7.24e-07/2.512, allocations: 0 / 0.5041 GB, free: 135.8 MB / 392.6 MB Error: Error building simulator. Build log: make: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Modelica_3.2.2_fmi_Modelica.Media.Incompressible.Examples.TestGlycol/Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol.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=Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol -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 Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_FMU.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_FMU.c In file included from Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_FMU.c:84: 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=Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol -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 Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol.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=Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol -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 Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_functions.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_functions.c Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_functions.c:267: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)))); ^ Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_functions.c:267: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 'Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_functions.o' failed make: *** [Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_functions.o] Error 1 make: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Modelica_3.2.2_fmi_Modelica.Media.Incompressible.Examples.TestGlycol/Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol.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 Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol.def Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol.a Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol.so Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_FMU.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_functions.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_records.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_01exo.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_02nls.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_03lsy.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_04set.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_05evt.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_06inz.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_07dly.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_08bnd.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_09alg.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_10asr.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_11mix.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_12jac.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_13opt.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_14lnz.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_15syn.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_16dae.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_17inl.o Modelica_3_2_2_fmi_Modelica_Media_Incompressible_Examples_TestGlycol_init_fmu.o