[:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). 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.197/3.197, allocations: 320.9 MB / 327.9 MB, free: 5.551 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3437/3.541, allocations: 75.71 MB / 403.6 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/3.73, allocations: 73.4 MB / 477 MB, free: 7.012 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.111/4.842, allocations: 364.9 MB / 0.8222 GB, free: 144.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/4.842, allocations: 91.25 kB / 0.8223 GB, free: 144.8 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 2.097/6.939, allocations: 460 MB / 1.272 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/6.939, allocations: 7.531 kB / 1.272 GB, free: 114.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002943/6.942, allocations: 304.8 kB / 1.272 GB, free: 114.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007731/6.95, allocations: 1.989 MB / 1.274 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.173e-05/6.95, allocations: 25.09 kB / 1.274 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/6.95, allocations: 53.75 kB / 1.274 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002143/6.952, allocations: 0.6556 MB / 1.275 GB, free: 114.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002075/6.954, allocations: 0.8553 MB / 1.275 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.874e-05/6.954, allocations: 11.78 kB / 1.275 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001223/6.955, allocations: 3.469 kB / 1.275 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.305e-05/6.955, allocations: 20.38 kB / 1.275 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009248/6.964, allocations: 5.096 MB / 1.28 GB, free: 110.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000925/6.965, allocations: 406.3 kB / 1.281 GB, free: 110 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007182/6.966, allocations: 290.4 kB / 1.281 GB, free: 109.9 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003407/6.969, allocations: 1.455 MB / 1.282 GB, free: 108.9 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007037/6.97, allocations: 333 kB / 1.283 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=46): time 2.785e-06/6.97, allocations: 0 / 1.283 GB, free: 108.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=47): time 0.0123/6.982, allocations: 2.025 MB / 1.285 GB, free: 107.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/6.982, allocations: 136.9 kB / 1.285 GB, free: 107.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002287/6.984, allocations: 1.079 MB / 1.286 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.000278/6.985, allocations: 32.84 kB / 1.286 GB, free: 107.3 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004267/6.985, allocations: 454.9 kB / 1.286 GB, free: 107 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/6.985, allocations: 163.2 kB / 1.287 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.693e-05/6.986, allocations: 3.531 kB / 1.287 GB, free: 106.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.667e-05/6.986, allocations: 333.5 kB / 1.287 GB, free: 106.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008593/6.986, allocations: 353.8 kB / 1.287 GB, free: 106.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001139/6.988, allocations: 0.7217 MB / 1.288 GB, free: 105.9 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/6.99, allocations: 481.9 kB / 1.288 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/6.99, allocations: 0 / 1.288 GB, free: 105.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.007379/6.997, allocations: 1.378 MB / 1.29 GB, free: 105.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005243/6.998, allocations: 2.476 MB / 1.292 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.809e-05/6.998, allocations: 11.09 kB / 1.292 GB, free: 102.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007843/6.998, allocations: 247.9 kB / 1.292 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001195/7, allocations: 138.3 kB / 1.293 GB, free: 102.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004795/7.004, allocations: 1.064 MB / 1.294 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002778/7.007, allocations: 111.3 kB / 1.294 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/7.007, allocations: 54.95 kB / 1.294 GB, free: 102 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/7.007, allocations: 3.938 kB / 1.294 GB, free: 102 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003244/7.011, allocations: 1.007 MB / 1.295 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/7.011, allocations: 9.906 kB / 1.295 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/7.011, allocations: 104.7 kB / 1.295 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009489/7.012, allocations: 129.9 kB / 1.295 GB, free: 101.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/7.015, allocations: 1.968 MB / 1.297 GB, free: 100 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002251/7.017, allocations: 101.8 kB / 1.297 GB, free: 100 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001464/7.017, allocations: 47.86 kB / 1.297 GB, free: 100 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.0003512/7.018, allocations: 132.1 kB / 1.297 GB, free: 99.88 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002507/7.018, allocations: 126.1 kB / 1.297 GB, free: 99.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006168/7.024, allocations: 1.108 MB / 1.298 GB, free: 99.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/7.024, allocations: 10.25 kB / 1.298 GB, free: 99.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/7.024, allocations: 0 / 1.298 GB, free: 99.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004998/7.029, allocations: 1.067 MB / 1.299 GB, free: 98.93 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00853/7.038, allocations: 2.076 MB / 1.301 GB, free: 98.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/7.038, allocations: 1.281 kB / 1.301 GB, free: 98.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008391/7.039, allocations: 78.17 kB / 1.301 GB, free: 98.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000994/7.04, allocations: 284.8 kB / 1.302 GB, free: 97.95 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-05/7.04, allocations: 12.59 kB / 1.302 GB, free: 97.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01474/7.054, allocations: 3.64 MB / 1.305 GB, free: 95.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/7.054, allocations: 4.094 kB / 1.305 GB, free: 95.7 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01007/7.065, allocations: 1.491 MB / 1.307 GB, free: 95.04 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01169/7.076, allocations: 2.276 MB / 1.309 GB, free: 93.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001039/7.077, allocations: 283.7 kB / 1.309 GB, free: 93.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004181/7.078, allocations: 3.531 kB / 1.309 GB, free: 93.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/7.08, allocations: 107.2 kB / 1.309 GB, free: 93.61 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/7.08, allocations: 48.23 kB / 1.309 GB, free: 93.6 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/7.08, allocations: 23.36 kB / 1.309 GB, free: 93.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.001941/7.082, allocations: 0.8263 MB / 1.31 GB, free: 93.25 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.007169/7.09, allocations: 0.8883 MB / 1.311 GB, free: 92.97 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (pump_dp.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 7,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.002357/7.092, allocations: 0.7937 MB / 1.312 GB, free: 92.74 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.007064/7.099, allocations: 1.679 MB / 1.314 GB, free: 92.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/7.099, allocations: 0 / 1.314 GB, free: 92.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.003881/7.103, allocations: 0.5783 MB / 1.314 GB, free: 91.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004707/7.108, allocations: 0.5116 MB / 1.315 GB, free: 91.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00751/7.115, allocations: 1.926 MB / 1.316 GB, free: 91 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00166/7.117, allocations: 1.405 MB / 1.318 GB, free: 90.21 MB / 0.6042 GB Notification: Performance of SimCode: time 1.312e-06/7.117, allocations: 1.156 kB / 1.318 GB, free: 90.21 MB / 0.6042 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2/Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2.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_3_0_0_Buildings_Fluid_Examples_Performance_Example2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_FMU.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_FMU.c Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_FMU.c:151:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_FMU.c:151:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_FMU.c:152:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ In file included from Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_FMU.c:596: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_FMU.c:595:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_setupDataStruc ^ In file included from Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_FMU.c:596: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_FMU.c:595:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_setupDataStruc ^ 3 warnings and 2 errors generated. : recipe for target 'Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_FMU.o' failed make: *** [Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_FMU.o] Error 1 make: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Buildings_3.0.0_Buildings.Fluid.Examples.Performance.Example2/Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2.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_3_0_0_Buildings_Fluid_Examples_Performance_Example2.def Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2.a Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2.so Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_FMU.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_functions.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_records.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_01exo.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_02nls.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_03lsy.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_04set.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_05evt.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_06inz.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_07dly.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_08bnd.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_09alg.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_10asr.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_11mix.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_12jac.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_13opt.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_14lnz.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_15syn.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_16dae.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_17inl.o Buildings_3_0_0_Buildings_Fluid_Examples_Performance_Example2_init_fmu.o