Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) [: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 loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.722/0.722, allocations: 141.8 MB / 149.1 MB, free: 4.309 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 186.4 kB / 181.9 MB, free: 15.96 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.374/1.374, allocations: 221.3 MB / 436 MB, free: 9.152 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009699/0.0009699, allocations: 98.67 kB / 0.507 GB, free: 24.15 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001814/0.001814, allocations: 283.3 kB / 0.5884 GB, free: 12.16 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2109/0.2128, allocations: 89.65 MB / 0.676 GB, free: 2.43 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4728/0.6857, allocations: 82.76 MB / 0.7568 GB, free: 112.7 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8113/1.497, allocations: 412 MB / 1.159 GB, free: 3.195 MB / 0.6825 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/1.497, allocations: 97.53 kB / 1.159 GB, free: 3.152 MB / 0.6825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 3.526/5.024, allocations: 0.9783 GB / 2.138 GB, free: 71.45 MB / 0.7294 GB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/5.024, allocations: 10.66 kB / 2.138 GB, free: 71.45 MB / 0.7294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001315/5.025, allocations: 261.9 kB / 2.138 GB, free: 71.32 MB / 0.7294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04383/5.069, allocations: 16.75 MB / 2.154 GB, free: 70.17 MB / 0.7294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.454e-05/5.069, allocations: 41.41 kB / 2.154 GB, free: 70.17 MB / 0.7294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001687/5.069, allocations: 85.66 kB / 2.154 GB, free: 70.16 MB / 0.7294 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001649/5.071, allocations: 0.8721 MB / 2.155 GB, free: 70.16 MB / 0.7294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001779/5.073, allocations: 1.219 MB / 2.156 GB, free: 69.9 MB / 0.7294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.993e-05/5.073, allocations: 6.719 kB / 2.156 GB, free: 69.9 MB / 0.7294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/5.073, allocations: 2.688 kB / 2.156 GB, free: 69.9 MB / 0.7294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.063e-05/5.073, allocations: 35.5 kB / 2.156 GB, free: 69.9 MB / 0.7294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008201/5.081, allocations: 8.224 MB / 2.164 GB, free: 64.76 MB / 0.7294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007242/5.082, allocations: 480.6 kB / 2.165 GB, free: 64.73 MB / 0.7294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004132/5.082, allocations: 348.6 kB / 2.165 GB, free: 64.71 MB / 0.7294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001685/5.084, allocations: 2.823 MB / 2.168 GB, free: 61.52 MB / 0.7294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/5.084, allocations: 49.81 kB / 2.168 GB, free: 61.48 MB / 0.7294 GB Notification: Performance of pre-optimization done (n=83): time 2.765e-06/5.084, allocations: 0 / 2.168 GB, free: 61.48 MB / 0.7294 GB Notification: Performance of matching and sorting (n=83): time 0.002912/5.087, allocations: 1.011 MB / 2.169 GB, free: 61.34 MB / 0.7294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/5.087, allocations: 59.59 kB / 2.169 GB, free: 61.28 MB / 0.7294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001377/5.088, allocations: 1.168 MB / 2.17 GB, free: 61.12 MB / 0.7294 GB Notification: Performance of collectPreVariables (initialization): time 6.485e-05/5.088, allocations: 30.58 kB / 2.17 GB, free: 61.09 MB / 0.7294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003406/5.089, allocations: 0.6374 MB / 2.171 GB, free: 60.73 MB / 0.7294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/5.089, allocations: 287.2 kB / 2.171 GB, free: 60.54 MB / 0.7294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.27e-05/5.089, allocations: 0 / 2.171 GB, free: 60.54 MB / 0.7294 GB Notification: Performance of setup shared object (initialization): time 9.329e-05/5.089, allocations: 352.2 kB / 2.171 GB, free: 60.23 MB / 0.7294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000416/5.09, allocations: 292.4 kB / 2.172 GB, free: 60.23 MB / 0.7294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005552/5.09, allocations: 0.6594 MB / 2.172 GB, free: 59.78 MB / 0.7294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/5.092, allocations: 0.6192 MB / 2.173 GB, free: 59.75 MB / 0.7294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/5.092, allocations: 5.969 kB / 2.173 GB, free: 59.75 MB / 0.7294 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003156/5.095, allocations: 1.315 MB / 2.174 GB, free: 59.57 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008971/5.096, allocations: 4.418 MB / 2.179 GB, free: 54.93 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.766e-05/5.096, allocations: 16.81 kB / 2.179 GB, free: 54.93 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.371e-05/5.096, allocations: 19.34 kB / 2.179 GB, free: 54.93 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008635/5.097, allocations: 265.9 kB / 2.179 GB, free: 54.91 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.833e-05/5.097, allocations: 25.62 kB / 2.179 GB, free: 54.91 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001503/5.099, allocations: 156 kB / 2.179 GB, free: 54.85 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/5.099, allocations: 68 kB / 2.179 GB, free: 54.85 MB / 0.7294 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/5.099, allocations: 8.547 kB / 2.179 GB, free: 54.85 MB / 0.7294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002785/5.102, allocations: 1.109 MB / 2.18 GB, free: 54.78 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.661e-05/5.102, allocations: 18.12 kB / 2.18 GB, free: 54.78 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/5.102, allocations: 16.09 kB / 2.18 GB, free: 54.78 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007957/5.103, allocations: 269.8 kB / 2.181 GB, free: 54.76 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.575e-05/5.103, allocations: 28.91 kB / 2.181 GB, free: 54.75 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/5.104, allocations: 137 kB / 2.181 GB, free: 54.71 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/5.104, allocations: 67.88 kB / 2.181 GB, free: 54.71 MB / 0.7294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002319/5.104, allocations: 138.4 kB / 2.181 GB, free: 54.58 MB / 0.7294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/5.104, allocations: 171.6 kB / 2.181 GB, free: 54.49 MB / 0.7294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004062/5.108, allocations: 1.951 MB / 2.183 GB, free: 54.29 MB / 0.7294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.758e-05/5.109, allocations: 19.48 kB / 2.183 GB, free: 54.29 MB / 0.7294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/5.109, allocations: 0 / 2.183 GB, free: 54.29 MB / 0.7294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002298/5.111, allocations: 1.202 MB / 2.184 GB, free: 54.1 MB / 0.7294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005859/5.117, allocations: 3.261 MB / 2.187 GB, free: 53.43 MB / 0.7294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-05/5.117, allocations: 11.14 kB / 2.187 GB, free: 53.43 MB / 0.7294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007375/5.117, allocations: 206.7 kB / 2.188 GB, free: 53.41 MB / 0.7294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.486e-05/5.118, allocations: 11.72 kB / 2.188 GB, free: 53.41 MB / 0.7294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.848e-05/5.118, allocations: 28.61 kB / 2.188 GB, free: 53.41 MB / 0.7294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.104e-05/5.118, allocations: 15.66 kB / 2.188 GB, free: 53.41 MB / 0.7294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.224e-06/5.118, allocations: 11.75 kB / 2.188 GB, free: 53.41 MB / 0.7294 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003703/5.121, allocations: 2.65 MB / 2.19 GB, free: 52.39 MB / 0.7294 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004712/5.126, allocations: 3.76 MB / 2.194 GB, free: 50.62 MB / 0.7294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009714/5.127, allocations: 434.7 kB / 2.194 GB, free: 50.34 MB / 0.7294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002604/5.127, allocations: 9.031 kB / 2.194 GB, free: 50.34 MB / 0.7294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009964/5.128, allocations: 78.08 kB / 2.194 GB, free: 50.32 MB / 0.7294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000143/5.128, allocations: 92.11 kB / 2.194 GB, free: 50.3 MB / 0.7294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.738e-05/5.129, allocations: 60.09 kB / 2.195 GB, free: 50.3 MB / 0.7294 GB Notification: Performance of sort global known variables: time 0.00122/5.13, allocations: 0.8764 MB / 2.195 GB, free: 49.91 MB / 0.7294 GB Notification: Performance of remove unused functions: time 0.005112/5.135, allocations: 1.575 MB / 2.197 GB, free: 49.21 MB / 0.7294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002056/5.137, allocations: 1.294 MB / 2.198 GB, free: 48.82 MB / 0.7294 GB Notification: Performance of simCode: created initialization part: time 0.002605/5.14, allocations: 1.746 MB / 2.2 GB, free: 48.03 MB / 0.7294 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/5.14, allocations: 9.344 kB / 2.2 GB, free: 48.02 MB / 0.7294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008259/5.14, allocations: 0.7053 MB / 2.201 GB, free: 47.69 MB / 0.7294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003747/5.144, allocations: 0.7389 MB / 2.201 GB, free: 47.5 MB / 0.7294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008027/5.152, allocations: 3.488 MB / 2.205 GB, free: 46.01 MB / 0.7294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/5.154, allocations: 1.684 MB / 2.206 GB, free: 45.21 MB / 0.7294 GB Notification: Performance of SimCode: time 1.443e-06/5.154, allocations: 0 / 2.206 GB, free: 45.21 MB / 0.7294 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe/BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.fmutmp/sources' clang -fPIC -O0 -falign-functions -march=native -fno-stack-protector -Wno-parentheses-equality -Wno-unused-variable -fPIC -fdollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:186:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:190:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:288:5: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] fac=dp_nominal/dpStraightPipe_nominal" ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:288:42: warning: missing terminating '"' character [-Winvalid-pp-token] fac=dp_nominal/dpStraightPipe_nominal" ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:288:9: error: use of undeclared identifier 'dp_nominal' fac=dp_nominal/dpStraightPipe_nominal" ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:288:20: error: use of undeclared identifier 'dpStraightPipe_nominal' fac=dp_nominal/dpStraightPipe_nominal" ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:432:42: warning: missing terminating '"' character [-Winvalid-pp-token] fac=dp_nominal/dpStraightPipe_nominal" ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:786:42: warning: missing terminating '"' character [-Winvalid-pp-token] to the heat capacity of the pipe wall" ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:789:33: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] which improve performances, but reduces dynamic accuracy." ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:789:36: error: expected ';' after top level declarator which improve performances, but reduces dynamic accuracy." ^ ; BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:789:62: warning: missing terminating '"' character [-Winvalid-pp-token] which improve performances, but reduces dynamic accuracy." ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:830:42: warning: missing terminating '"' character [-Winvalid-pp-token] to the heat capacity of the pipe wall" ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:833:62: warning: missing terminating '"' character [-Winvalid-pp-token] which improve performances, but reduces dynamic accuracy." ^ In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:896: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:895:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_setupDataStruc ^ In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:896: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:895:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_setupDataStruc ^ 12 warnings and 3 errors generated. make: *** [: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe/BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.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... /usr/bin/grep checking for egrep... /usr/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... yes checking for strdup... yes checking for strerror... yes checking LAPACK/BLAS flags... not found checking for static pthreads... no checking for pthread_mutex_lock in -lpthread... yes checking for cos in -lm... yes checking for filesystem access... OK configure: creating ./config.status config.status: creating Makefile rm -f BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.def BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.a BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.so BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o include/./gc/memory_pool.o include/./util/base_array.o include/./util/boolean_array.o include/./util/omc_error.o include/./util/division.o include/./util/generic_array.o include/./util/index_spec.o include/./util/integer_array.o include/./util/list.o include/./util/modelica_string.o include/./util/real_array.o include/./util/ringbuffer.o include/./util/string_array.o include/./util/utility.o include/./util/varinfo.o include/./util/ModelicaUtilities.o include/./util/omc_msvc.o include/./util/simulation_options.o include/./util/cJSON.o include/./util/rational.o include/./util/modelica_string_lit.o include/./util/omc_init.o include/./util/omc_mmap.o include/./math-support/pivot.o include/./simulation/simulation_info_json.o include/./simulation/options.o include/./simulation/simulation_omc_assert.o include/./simulation/solver/delay.o include/./simulation/solver/omc_math.o include/./simulation/solver/model_help.o include/./simulation/solver/stateset.o include/./simulation/solver/synchronous.o include/./simulation/solver/initialization/initialization.o include/./meta/meta_modelica_catch.o