Running command: "" <> buildModelFMU(Buildings.Fluid.Movers.Validation.PowerSimplified,fileNamePrefix="Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified",fmuType="me",version="2.0",platforms={"dynamic"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(Buildings): time 4.013/4.013, allocations: 404 MB / 410.9 MB, free: 4.902 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.249/4.262, allocations: 95 MB / 0.4941 GB, free: 7.301 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5505/4.813, allocations: 92.68 MB / 0.5846 GB, free: 3.379 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.077/5.89, allocations: 416 MB / 0.9909 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003382/5.89, allocations: 90.7 kB / 0.9909 GB, free: 16.89 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 5.161/11.05, allocations: 0.9524 GB / 1.943 GB, free: 52.53 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.443e-05/11.05, allocations: 16 kB / 1.943 GB, free: 52.51 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01004/11.06, allocations: 0.7757 MB / 1.944 GB, free: 51.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.103/11.16, allocations: 22.04 MB / 1.966 GB, free: 29.66 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001604/11.16, allocations: 56 kB / 1.966 GB, free: 29.61 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009382/11.17, allocations: 124 kB / 1.966 GB, free: 29.49 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006633/11.17, allocations: 1.569 MB / 1.967 GB, free: 27.92 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008821/11.18, allocations: 1.93 MB / 1.969 GB, free: 25.87 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000148/11.18, allocations: 11.84 kB / 1.969 GB, free: 25.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00069/11.18, allocations: 0 / 1.969 GB, free: 25.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000126/11.18, allocations: 59.98 kB / 1.969 GB, free: 25.8 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03791/11.22, allocations: 10.71 MB / 1.98 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002339/11.22, allocations: 0.8071 MB / 1.981 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001778/11.22, allocations: 0.6698 MB / 1.981 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01152/11.24, allocations: 3.32 MB / 1.984 GB, free: 9.551 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.35e-05/11.24, allocations: 47.33 kB / 1.984 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=95): time 9.548e-06/11.24, allocations: 0 / 1.984 GB, free: 9.496 MB / 0.8073 GB Notification: Performance of matching and sorting (n=107): time 0.03882/11.28, allocations: 5.322 MB / 1.99 GB, free: 4.094 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/11.28, allocations: 111.8 kB / 1.99 GB, free: 3.957 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01004/11.29, allocations: 2.924 MB / 1.993 GB, free: 1.047 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004783/11.29, allocations: 33.77 kB / 1.993 GB, free: 1.008 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001043/11.29, allocations: 0.9458 MB / 1.994 GB, free: 48 kB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008973/11.29, allocations: 362.7 kB / 1.994 GB, free: 15.68 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002011/11.29, allocations: 3.938 kB / 1.994 GB, free: 15.68 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0002801/11.29, allocations: 369.9 kB / 1.994 GB, free: 15.31 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/11.29, allocations: 0.6638 MB / 1.995 GB, free: 14.64 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003164/11.29, allocations: 1.382 MB / 1.996 GB, free: 12.93 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005652/11.3, allocations: 0.994 MB / 1.997 GB, free: 11.93 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.059e-05/11.3, allocations: 4 kB / 1.997 GB, free: 11.93 MB / 0.823 GB Notification: Performance of matching and sorting (n=217) (initialization): time 0.01791/11.32, allocations: 2.604 MB / 2 GB, free: 9.301 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.4685/11.79, allocations: 8.794 MB / 2.008 GB, free: 183.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.971e-05/11.79, allocations: 22.62 kB / 2.008 GB, free: 183.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002344/11.79, allocations: 456.1 kB / 2.009 GB, free: 183.3 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005148/11.79, allocations: 413.7 kB / 2.009 GB, free: 183.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005762/11.8, allocations: 3.663 MB / 2.013 GB, free: 180.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004958/11.8, allocations: 134.3 kB / 2.013 GB, free: 180.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005363/11.81, allocations: 124 kB / 2.013 GB, free: 180.6 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/11.81, allocations: 3.438 kB / 2.013 GB, free: 180.6 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008488/11.81, allocations: 2.02 MB / 2.015 GB, free: 180.6 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.673e-05/11.81, allocations: 25.19 kB / 2.015 GB, free: 180.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002509/11.82, allocations: 0.4907 MB / 2.016 GB, free: 180.6 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002973/11.82, allocations: 345 kB / 2.016 GB, free: 180.6 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01402/11.83, allocations: 5.73 MB / 2.021 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004176/11.84, allocations: 113.2 kB / 2.022 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004835/11.84, allocations: 112.7 kB / 2.022 GB, free: 177.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (180): * Single equations (assignments): 172 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 7,1 7,1 7,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006311/11.84, allocations: 164.5 kB / 2.022 GB, free: 177.3 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008336/11.84, allocations: 307.4 kB / 2.022 GB, free: 177.3 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009722/11.85, allocations: 2.189 MB / 2.024 GB, free: 177.2 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.561e-05/11.85, allocations: 23.09 kB / 2.024 GB, free: 177.2 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/11.85, allocations: 3.594 kB / 2.024 GB, free: 177.2 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005779/11.86, allocations: 1.691 MB / 2.026 GB, free: 176.8 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/11.87, allocations: 4.528 MB / 2.03 GB, free: 176 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-05/11.87, allocations: 6.406 kB / 2.03 GB, free: 176 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004676/11.88, allocations: 312.9 kB / 2.031 GB, free: 176 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004767/11.88, allocations: 102.5 kB / 2.031 GB, free: 176 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/11.88, allocations: 28.88 kB / 2.031 GB, free: 176 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006326/11.88, allocations: 2.143 MB / 2.033 GB, free: 174.3 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/11.88, allocations: 1.406 kB / 2.033 GB, free: 174.3 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01282/11.9, allocations: 2.849 MB / 2.036 GB, free: 173.8 MB / 0.823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01201/11.91, allocations: 4.168 MB / 2.04 GB, free: 172.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002808/11.91, allocations: 0.5968 MB / 2.04 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001341/11.91, allocations: 10.88 kB / 2.04 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004353/11.92, allocations: 108.5 kB / 2.04 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005128/11.92, allocations: 75.83 kB / 2.041 GB, free: 172.5 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000301/11.92, allocations: 65.33 kB / 2.041 GB, free: 172.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.006735/11.92, allocations: 2.204 MB / 2.043 GB, free: 172.4 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.01874/11.94, allocations: 1.916 MB / 2.045 GB, free: 172.4 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 3 (pump_Nrpm.vol.dynBal.medium.T,pump_dp.vol.dynBal.medium.T,pump_m_flow.vol.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 115 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.00669/11.95, allocations: 1.764 MB / 2.046 GB, free: 172.1 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01161/11.96, allocations: 2.864 MB / 2.049 GB, free: 171.9 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-05/11.96, allocations: 5.531 kB / 2.049 GB, free: 171.9 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.004701/11.97, allocations: 0.755 MB / 2.05 GB, free: 171.9 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01267/11.98, allocations: 1.438 MB / 2.051 GB, free: 171.9 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/12, allocations: 4.641 MB / 2.056 GB, free: 170.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005595/12, allocations: 2.542 MB / 2.058 GB, free: 170 MB / 0.823 GB Notification: Performance of SimCode: time 1.543e-06/12, allocations: 0 / 2.058 GB, free: 170 MB / 0.823 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Buildings_5.0.1_Buildings.Fluid.Movers.Validation.PowerSimplified/Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified.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_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=10 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_FMU.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_FMU.c Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_FMU.c:541:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_FMU.c:541:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_FMU.c:542:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ In file included from Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_FMU.c:1456: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_FMU.c:1455:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_setupDataStruc ^ In file included from Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_FMU.c:1456: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_FMU.c:1455:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_setupDataStruc ^ 3 warnings and 2 errors generated. : recipe for target 'Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_FMU.o' failed make: *** [Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_FMU.o] Error 1 make: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Buildings_5.0.1_Buildings.Fluid.Movers.Validation.PowerSimplified/Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified.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_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified.def Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified.a Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified.so Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_FMU.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_functions.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_records.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_01exo.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_02nls.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_03lsy.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_04set.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_05evt.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_06inz.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_07dly.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_08bnd.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_09alg.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_10asr.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_11mix.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_12jac.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_13opt.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_14lnz.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_15syn.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_16dae.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_17inl.o Buildings_5_0_1_Buildings_Fluid_Movers_Validation_PowerSimplified_init_fmu.o