[: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 2.864/2.864, allocations: 320.9 MB / 327.9 MB, free: 5.562 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.363/3.227, allocations: 75.73 MB / 403.6 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/3.406, allocations: 73.39 MB / 477 MB, free: 7.016 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.801/9.207, allocations: 2.176 GB / 2.642 GB, free: 186.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003376/9.207, allocations: 88.78 kB / 2.642 GB, free: 186.6 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 651 * Number of variables: 651 Notification: Performance of Generate backend data structure: time 21.05/30.25, allocations: 4.098 GB / 6.74 GB, free: 49.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/30.25, allocations: 7.875 kB / 6.74 GB, free: 49.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01937/30.27, allocations: 1.683 MB / 6.741 GB, free: 48.83 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0245/30.3, allocations: 4.944 MB / 6.746 GB, free: 48.04 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002742/30.3, allocations: 404.5 kB / 6.747 GB, free: 48.03 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001952/30.3, allocations: 172.3 kB / 6.747 GB, free: 48.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01233/30.31, allocations: 2.896 MB / 6.75 GB, free: 48.01 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01296/30.33, allocations: 2.972 MB / 6.752 GB, free: 47.57 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.44e-05/30.33, allocations: 9.312 kB / 6.753 GB, free: 47.56 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007992/30.33, allocations: 3.938 kB / 6.753 GB, free: 47.56 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/30.33, allocations: 97.5 kB / 6.753 GB, free: 47.55 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04774/30.38, allocations: 17.4 MB / 6.77 GB, free: 38.51 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006384/30.38, allocations: 2.075 MB / 6.772 GB, free: 38.47 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004904/30.39, allocations: 1.104 MB / 6.773 GB, free: 38.45 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000714/30.39, allocations: 363.9 kB / 6.773 GB, free: 38.07 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004938/30.39, allocations: 1.199 MB / 6.774 GB, free: 37.9 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=103): time 9.638e-06/30.39, allocations: 0 / 6.774 GB, free: 37.9 MB / 0.7761 GB Notification: Performance of matching and sorting (n=103): time 0.02161/30.42, allocations: 2.867 MB / 6.777 GB, free: 37.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001298/30.42, allocations: 379.3 kB / 6.777 GB, free: 37.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01033/30.43, allocations: 2.936 MB / 6.78 GB, free: 36.9 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.001264/30.43, allocations: 40.02 kB / 6.78 GB, free: 36.87 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.003227/30.43, allocations: 1.25 MB / 6.782 GB, free: 36.23 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.001499/30.43, allocations: 340.4 kB / 6.782 GB, free: 36.01 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007617/30.43, allocations: 9.188 kB / 6.782 GB, free: 36.01 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000286/30.43, allocations: 383.1 kB / 6.782 GB, free: 35.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005369/30.44, allocations: 1.255 MB / 6.783 GB, free: 35.7 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00683/30.45, allocations: 2.059 MB / 6.785 GB, free: 34.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007789/30.45, allocations: 1.528 MB / 6.787 GB, free: 34.73 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.197e-05/30.45, allocations: 2.156 kB / 6.787 GB, free: 34.73 MB / 0.7761 GB Notification: Performance of matching and sorting (n=246) (initialization): time 0.02979/30.48, allocations: 4.1 MB / 6.791 GB, free: 34.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.002197/30.49, allocations: 6.669 MB / 6.797 GB, free: 27.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/30.49, allocations: 14.94 kB / 6.797 GB, free: 27.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003937/30.49, allocations: 0.5627 MB / 6.798 GB, free: 27.43 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007653/30.5, allocations: 495.2 kB / 6.798 GB, free: 27.41 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00903/30.51, allocations: 2.721 MB / 6.801 GB, free: 25.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01749/30.52, allocations: 0.7425 MB / 6.802 GB, free: 25.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001517/30.53, allocations: 182.1 kB / 6.802 GB, free: 25.72 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/30.53, allocations: 5.656 kB / 6.802 GB, free: 25.72 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01523/30.54, allocations: 3.368 MB / 6.805 GB, free: 25.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.384e-05/30.54, allocations: 15.28 kB / 6.805 GB, free: 25.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00489/30.55, allocations: 0.7012 MB / 6.806 GB, free: 25.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004714/30.55, allocations: 464.6 kB / 6.806 GB, free: 25.43 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005276/30.56, allocations: 3.296 MB / 6.81 GB, free: 22.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009961/30.57, allocations: 0.6046 MB / 6.81 GB, free: 22.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001265/30.57, allocations: 163.7 kB / 6.81 GB, free: 22.59 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 67 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (163): * Single equations (assignments): 155 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 4,1 8,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.001034/30.57, allocations: 160.2 kB / 6.811 GB, free: 22.45 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001412/30.57, allocations: 350.4 kB / 6.811 GB, free: 22.26 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/30.58, allocations: 2.157 MB / 6.813 GB, free: 21.55 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.784e-05/30.58, allocations: 11.69 kB / 6.813 GB, free: 21.55 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/30.58, allocations: 0.9688 kB / 6.813 GB, free: 21.55 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.247e-05/30.58, allocations: 4.297 kB / 6.813 GB, free: 21.55 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00957/30.59, allocations: 2.871 MB / 6.816 GB, free: 20.26 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.659e-05/30.59, allocations: 3.906 kB / 6.816 GB, free: 20.25 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003899/30.59, allocations: 352.3 kB / 6.816 GB, free: 20.24 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/30.6, allocations: 330.8 kB / 6.817 GB, free: 20.13 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003482/30.6, allocations: 19.66 kB / 6.817 GB, free: 20.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006516/30.6, allocations: 3.155 MB / 6.82 GB, free: 17.48 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.256e-06/30.6, allocations: 0.9375 kB / 6.82 GB, free: 17.48 MB / 0.7761 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.009442/30.61, allocations: 2.097 MB / 6.822 GB, free: 16.16 MB / 0.7761 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01126/30.62, allocations: 3.076 MB / 6.825 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003035/30.63, allocations: 0.6401 MB / 6.825 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001407/30.63, allocations: 3.469 kB / 6.825 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007946/30.64, allocations: 0.4968 MB / 6.826 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004866/30.64, allocations: 66.2 kB / 6.826 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002665/30.64, allocations: 49.94 kB / 6.826 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of sort global known variables: time 0.006382/30.64, allocations: 2.173 MB / 6.828 GB, free: 10.33 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.02503/30.67, allocations: 4.924 MB / 6.833 GB, free: 5.457 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 8,1 4,1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.02325/30.69, allocations: 11.76 MB / 6.844 GB, free: 10.34 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.01574/30.71, allocations: 4.824 MB / 6.849 GB, free: 5.789 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.085e-06/30.71, allocations: 0 / 6.849 GB, free: 5.789 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.003116/30.71, allocations: 0.839 MB / 6.85 GB, free: 5.012 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0169/30.73, allocations: 1.556 MB / 6.851 GB, free: 3.824 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5743/31.3, allocations: 5.751 MB / 6.857 GB, free: 106.8 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009146/31.31, allocations: 2.769 MB / 6.86 GB, free: 106.1 MB / 0.7917 GB Notification: Performance of SimCode: time 2.615e-06/31.31, allocations: 0 / 6.86 GB, free: 106.1 MB / 0.7917 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.Movers.Validation.ControlledFlowMachine/Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine.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_Movers_Validation_ControlledFlowMachine -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=8 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_FMU.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_FMU.c Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_FMU.c:628:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_FMU.c:628:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_FMU.c:629: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_Movers_Validation_ControlledFlowMachine_FMU.c:1694: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_FMU.c:1693:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_setupDataStruc ^ In file included from Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_FMU.c:1694: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_FMU.c:1693:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_setupDataStruc ^ 3 warnings and 2 errors generated. : recipe for target 'Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_FMU.o' failed make: *** [Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_FMU.o] Error 1 make: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Buildings_3.0.0_Buildings.Fluid.Movers.Validation.ControlledFlowMachine/Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine.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_Movers_Validation_ControlledFlowMachine.def Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine.a Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine.so Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_FMU.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_functions.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_records.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_01exo.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_02nls.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_03lsy.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_04set.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_05evt.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_06inz.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_07dly.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_08bnd.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_09alg.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_10asr.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_11mix.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_12jac.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_13opt.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_14lnz.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_15syn.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_16dae.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_17inl.o Buildings_3_0_0_Buildings_Fluid_Movers_Validation_ControlledFlowMachine_init_fmu.o