[: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(Annex60): time 2.544/2.544, allocations: 251 MB / 258 MB, free: 6.316 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1787/2.723, allocations: 59.97 MB / 318 MB, free: 10.81 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3513/3.075, allocations: 57.65 MB / 375.6 MB, free: 14.33 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.035/4.11, allocations: 380.3 MB / 0.7382 GB, free: 134.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000351/4.11, allocations: 89.38 kB / 0.7383 GB, free: 134.2 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 4.104/8.214, allocations: 0.8766 GB / 1.615 GB, free: 40.13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/8.214, allocations: 10.53 kB / 1.615 GB, free: 40.13 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00867/8.223, allocations: 0.7771 MB / 1.616 GB, free: 39.92 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1016/8.324, allocations: 21.98 MB / 1.637 GB, free: 38.52 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/8.325, allocations: 57.03 kB / 1.637 GB, free: 38.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009931/8.326, allocations: 113.5 kB / 1.637 GB, free: 38.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007896/8.334, allocations: 1.559 MB / 1.639 GB, free: 38.5 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008819/8.342, allocations: 1.894 MB / 1.641 GB, free: 38.14 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001073/8.343, allocations: 6.031 kB / 1.641 GB, free: 38.14 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004445/8.343, allocations: 7.078 kB / 1.641 GB, free: 38.14 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/8.343, allocations: 58.12 kB / 1.641 GB, free: 38.14 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03408/8.377, allocations: 10.6 MB / 1.651 GB, free: 33.06 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002786/8.38, allocations: 0.7652 MB / 1.652 GB, free: 33.04 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002288/8.382, allocations: 0.6458 MB / 1.653 GB, free: 33.03 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01191/8.394, allocations: 2.994 MB / 1.655 GB, free: 31.61 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.69e-05/8.395, allocations: 49.31 kB / 1.655 GB, free: 31.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=93): time 7.204e-06/8.395, allocations: 1.438 kB / 1.655 GB, free: 31.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=105): time 0.03056/8.425, allocations: 4.292 MB / 1.66 GB, free: 29.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.181e-05/8.425, allocations: 124.6 kB / 1.66 GB, free: 29.63 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01201/8.437, allocations: 2.911 MB / 1.663 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006108/8.438, allocations: 27.83 kB / 1.663 GB, free: 28.47 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002269/8.44, allocations: 0.9316 MB / 1.664 GB, free: 27.84 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001214/8.442, allocations: 360.9 kB / 1.664 GB, free: 27.57 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000261/8.442, allocations: 1 kB / 1.664 GB, free: 27.57 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000241/8.442, allocations: 371.6 kB / 1.664 GB, free: 27.23 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002709/8.445, allocations: 0.6583 MB / 1.665 GB, free: 26.99 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003533/8.448, allocations: 1.375 MB / 1.666 GB, free: 25.81 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007122/8.456, allocations: 0.9812 MB / 1.667 GB, free: 25.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.449e-05/8.456, allocations: 8.188 kB / 1.667 GB, free: 25.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.01587/8.472, allocations: 2.576 MB / 1.67 GB, free: 24.59 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.002578/8.474, allocations: 8.587 MB / 1.678 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001352/8.474, allocations: 22.62 kB / 1.678 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003206/8.478, allocations: 464.5 kB / 1.679 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00684/8.485, allocations: 445.2 kB / 1.679 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007249/8.492, allocations: 3.667 MB / 1.683 GB, free: 12.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006399/8.498, allocations: 124.4 kB / 1.683 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008878/8.499, allocations: 129.3 kB / 1.683 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.168e-05/8.499, allocations: 4.25 kB / 1.683 GB, free: 12.1 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00941/8.509, allocations: 2.004 MB / 1.685 GB, free: 11.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.071e-05/8.509, allocations: 23.91 kB / 1.685 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00222/8.511, allocations: 489.2 kB / 1.685 GB, free: 10.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/8.514, allocations: 342.7 kB / 1.686 GB, free: 10.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01213/8.526, allocations: 5.742 MB / 1.691 GB, free: 4.922 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00388/8.53, allocations: 106.4 kB / 1.691 GB, free: 4.84 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003778/8.53, allocations: 110.1 kB / 1.691 GB, free: 4.742 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 88 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (178): * Single equations (assignments): 170 * 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.0006458/8.531, allocations: 175.7 kB / 1.692 GB, free: 4.566 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008082/8.532, allocations: 304.1 kB / 1.692 GB, free: 4.266 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007893/8.54, allocations: 2.105 MB / 1.694 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-05/8.54, allocations: 19.66 kB / 1.694 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/8.54, allocations: 0 / 1.694 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004915/8.545, allocations: 1.679 MB / 1.696 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/8.56, allocations: 4.3 MB / 1.7 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/8.56, allocations: 11.47 kB / 1.7 GB, free: 13.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004262/8.564, allocations: 331.8 kB / 1.7 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004616/8.565, allocations: 112.4 kB / 1.7 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001855/8.565, allocations: 19.55 kB / 1.7 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003549/8.569, allocations: 2.095 MB / 1.702 GB, free: 11.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.229e-05/8.569, allocations: 11.55 kB / 1.702 GB, free: 11 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.008967/8.578, allocations: 2.749 MB / 1.705 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01316/8.591, allocations: 4.055 MB / 1.709 GB, free: 4.676 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00276/8.594, allocations: 0.6018 MB / 1.71 GB, free: 4.125 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001172/8.595, allocations: 4 kB / 1.71 GB, free: 4.121 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003589/8.599, allocations: 109.1 kB / 1.71 GB, free: 4.043 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003046/8.599, allocations: 73.78 kB / 1.71 GB, free: 4 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002413/8.599, allocations: 58.03 kB / 1.71 GB, free: 3.953 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.00664/8.606, allocations: 2.2 MB / 1.712 GB, free: 2.008 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01243/8.618, allocations: 1.903 MB / 1.714 GB, free: 136 kB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (124): * Single equations (assignments): 113 * 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.2557/8.874, allocations: 1.763 MB / 1.716 GB, free: 101.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01026/8.884, allocations: 2.913 MB / 1.718 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/8.884, allocations: 0 / 1.718 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004828/8.889, allocations: 0.8255 MB / 1.719 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0122/8.902, allocations: 1.448 MB / 1.721 GB, free: 101.7 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0159/8.917, allocations: 4.577 MB / 1.725 GB, free: 100.6 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005567/8.923, allocations: 2.527 MB / 1.728 GB, free: 99.88 MB / 0.5417 GB Notification: Performance of SimCode: time 1.724e-06/8.923, allocations: 0 / 1.728 GB, free: 99.88 MB / 0.5417 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Annex60_1.0.0_Annex60.Fluid.Movers.Validation.PowerSimplified/Annex60_1_0_0_Annex60_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=Annex60_1_0_0_Annex60_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 Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_FMU.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_FMU.c Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_FMU.c:539:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_FMU.c:539:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_FMU.c:540:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ In file included from Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_FMU.c:1434: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_FMU.c:1433:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_setupDataStruc ^ In file included from Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_FMU.c:1434: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_FMU.c:1433:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_setupDataStruc ^ 3 warnings and 2 errors generated. : recipe for target 'Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_FMU.o' failed make: *** [Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_FMU.o] Error 1 make: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Annex60_1.0.0_Annex60.Fluid.Movers.Validation.PowerSimplified/Annex60_1_0_0_Annex60_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 Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified.def Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified.a Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified.so Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_FMU.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_functions.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_records.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_01exo.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_02nls.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_03lsy.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_04set.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_05evt.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_06inz.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_07dly.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_08bnd.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_09alg.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_10asr.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_11mix.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_12jac.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_13opt.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_14lnz.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_15syn.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_16dae.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_17inl.o Annex60_1_0_0_Annex60_Fluid_Movers_Validation_PowerSimplified_init_fmu.o