[: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.495/2.495, allocations: 251 MB / 258 MB, free: 6.133 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1666/2.661, allocations: 59.96 MB / 318 MB, free: 10.62 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/3.035, allocations: 57.66 MB / 375.6 MB, free: 14.26 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7717/3.807, allocations: 347.8 MB / 0.7064 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003301/3.807, allocations: 94.5 kB / 0.7065 GB, free: 8.652 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: 195 * Number of variables: 195 Notification: Performance of Generate backend data structure: time 2.533/6.341, allocations: 455 MB / 1.151 GB, free: 86.19 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/6.341, allocations: 7.781 kB / 1.151 GB, free: 86.19 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003033/6.344, allocations: 295.8 kB / 1.151 GB, free: 86.11 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007948/6.352, allocations: 1.982 MB / 1.153 GB, free: 85.76 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.945e-05/6.352, allocations: 22.75 kB / 1.153 GB, free: 85.76 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/6.352, allocations: 54.88 kB / 1.153 GB, free: 85.76 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001942/6.354, allocations: 0.6489 MB / 1.154 GB, free: 85.75 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002035/6.356, allocations: 0.8732 MB / 1.155 GB, free: 85.55 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.883e-05/6.356, allocations: 4.25 kB / 1.155 GB, free: 85.55 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001263/6.356, allocations: 0 / 1.155 GB, free: 85.55 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/6.356, allocations: 26.56 kB / 1.155 GB, free: 85.55 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008967/6.365, allocations: 4.918 MB / 1.16 GB, free: 82.71 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008842/6.366, allocations: 388.2 kB / 1.16 GB, free: 82.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007611/6.367, allocations: 302.6 kB / 1.16 GB, free: 82.69 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002951/6.37, allocations: 1.289 MB / 1.161 GB, free: 82 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006963/6.371, allocations: 337 kB / 1.162 GB, free: 81.93 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=46): time 2.915e-06/6.371, allocations: 0 / 1.162 GB, free: 81.93 MB / 0.4948 GB Notification: Performance of matching and sorting (n=47): time 0.01176/6.382, allocations: 2.02 MB / 1.164 GB, free: 81.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/6.382, allocations: 136.6 kB / 1.164 GB, free: 81.24 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001981/6.384, allocations: 0.9932 MB / 1.165 GB, free: 81.09 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.000184/6.385, allocations: 32.95 kB / 1.165 GB, free: 81.06 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003963/6.385, allocations: 452.5 kB / 1.165 GB, free: 80.81 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/6.385, allocations: 152.8 kB / 1.165 GB, free: 80.71 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.804e-05/6.385, allocations: 0 / 1.165 GB, free: 80.71 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.668e-05/6.385, allocations: 339.1 kB / 1.166 GB, free: 80.41 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006774/6.386, allocations: 262.3 kB / 1.166 GB, free: 80.41 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008925/6.387, allocations: 0.6208 MB / 1.167 GB, free: 79.96 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001597/6.389, allocations: 393.7 kB / 1.167 GB, free: 79.96 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/6.389, allocations: 0 / 1.167 GB, free: 79.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.006583/6.395, allocations: 1.194 MB / 1.168 GB, free: 79.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006578/6.396, allocations: 3.173 MB / 1.171 GB, free: 76.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/6.396, allocations: 6.844 kB / 1.171 GB, free: 76.57 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000841/6.397, allocations: 247.8 kB / 1.171 GB, free: 76.57 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001347/6.398, allocations: 165.7 kB / 1.172 GB, free: 76.56 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004941/6.403, allocations: 1.057 MB / 1.173 GB, free: 76.04 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/6.406, allocations: 81.09 kB / 1.173 GB, free: 76.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/6.406, allocations: 53.08 kB / 1.173 GB, free: 76.04 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/6.406, allocations: 6.281 kB / 1.173 GB, free: 76.04 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002895/6.409, allocations: 0.8188 MB / 1.174 GB, free: 75.92 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.158e-05/6.409, allocations: 13.3 kB / 1.174 GB, free: 75.92 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003385/6.409, allocations: 108.7 kB / 1.174 GB, free: 75.9 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/6.41, allocations: 158.8 kB / 1.174 GB, free: 75.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/6.413, allocations: 1.977 MB / 1.176 GB, free: 74.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/6.415, allocations: 61.2 kB / 1.176 GB, free: 74.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/6.415, allocations: 40.75 kB / 1.176 GB, free: 74.62 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (78): * Single equations (assignments): 75 * Array equations: 1 * Algorithm blocks: 1 * 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.0003687/6.416, allocations: 127.6 kB / 1.176 GB, free: 74.51 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002558/6.416, allocations: 121.2 kB / 1.176 GB, free: 74.45 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0063/6.422, allocations: 1.1 MB / 1.177 GB, free: 74.36 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.657e-05/6.422, allocations: 7.375 kB / 1.177 GB, free: 74.36 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/6.422, allocations: 3.5 kB / 1.177 GB, free: 74.36 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005277/6.428, allocations: 1.072 MB / 1.178 GB, free: 73.98 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008484/6.436, allocations: 2.022 MB / 1.18 GB, free: 73.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/6.436, allocations: 0 / 1.18 GB, free: 73.59 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008583/6.437, allocations: 76.11 kB / 1.18 GB, free: 73.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009216/6.438, allocations: 280.2 kB / 1.181 GB, free: 73.58 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.716e-05/6.438, allocations: 17.31 kB / 1.181 GB, free: 73.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01336/6.451, allocations: 3.636 MB / 1.184 GB, free: 71.78 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.736e-06/6.452, allocations: 3.5 kB / 1.184 GB, free: 71.78 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.006599/6.458, allocations: 1.465 MB / 1.186 GB, free: 71.46 MB / 0.4948 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.007737/6.466, allocations: 2.239 MB / 1.188 GB, free: 70.79 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001048/6.467, allocations: 269.6 kB / 1.188 GB, free: 70.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003234/6.467, allocations: 13.02 kB / 1.188 GB, free: 70.63 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001844/6.469, allocations: 74.66 kB / 1.188 GB, free: 70.62 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/6.469, allocations: 44.11 kB / 1.188 GB, free: 70.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/6.47, allocations: 28.2 kB / 1.188 GB, free: 70.62 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.001678/6.471, allocations: 0.7724 MB / 1.189 GB, free: 70.51 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.006617/6.478, allocations: 0.8043 MB / 1.19 GB, free: 70.46 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (39): * Single equations (assignments): 33 * 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.002047/6.48, allocations: 0.7211 MB / 1.19 GB, free: 70.28 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.006322/6.486, allocations: 1.366 MB / 1.192 GB, free: 70.09 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/6.486, allocations: 3.188 kB / 1.192 GB, free: 70.09 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.003718/6.49, allocations: 0.5756 MB / 1.192 GB, free: 69.98 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004549/6.495, allocations: 496.4 kB / 1.193 GB, free: 69.97 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00589/6.501, allocations: 1.795 MB / 1.195 GB, free: 69.52 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/6.502, allocations: 1.406 MB / 1.196 GB, free: 68.79 MB / 0.4948 GB Notification: Performance of SimCode: time 2.335e-06/6.502, allocations: 0 / 1.196 GB, free: 68.79 MB / 0.4948 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.Examples.Performance.Example2/Annex60_1_0_0_Annex60_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=Annex60_1_0_0_Annex60_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 Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_FMU.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_FMU.c Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_FMU.c:153:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_FMU.c:153:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_FMU.c:154: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_Examples_Performance_Example2_FMU.c:590: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_FMU.c:589:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_setupDataStruc ^ In file included from Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_FMU.c:590: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_FMU.c:589:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_setupDataStruc ^ 3 warnings and 2 errors generated. : recipe for target 'Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_FMU.o' failed make: *** [Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_FMU.o] Error 1 make: Leaving directory '/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelicaLibraryTesting/Annex60_1.0.0_Annex60.Fluid.Examples.Performance.Example2/Annex60_1_0_0_Annex60_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 Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2.def Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2.a Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2.so Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_FMU.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_functions.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_records.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_01exo.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_02nls.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_03lsy.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_04set.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_05evt.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_06inz.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_07dly.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_08bnd.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_09alg.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_10asr.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_11mix.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_12jac.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_13opt.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_14lnz.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_15syn.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_16dae.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_17inl.o Annex60_1_0_0_Annex60_Fluid_Examples_Performance_Example2_init_fmu.o