Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6",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/BuildSysPro 3.5.0/package.mo): time 0.7618/0.7618, allocations: 127.4 MB / 134.6 MB, free: 4.137 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001147/0.001146, allocations: 189.2 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.1 MB / 399.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 89.27 kB / 476.3 MB, free: 8.84 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.3231/0.3242, allocations: 82.88 MB / 0.546 GB, free: 42.67 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.5125, allocations: 76.75 MB / 0.621 GB, free: 13.85 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.164/1.676, allocations: 429.5 MB / 1.04 GB, free: 53.87 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002749/1.677, allocations: 105.6 kB / 1.041 GB, free: 53.82 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: 1489 * Number of variables: 1489 Notification: Performance of Generate backend data structure: time 46.88/48.56, allocations: 10.12 GB / 11.16 GB, free: 41.76 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.768e-05/48.56, allocations: 7.094 kB / 11.16 GB, free: 41.76 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0228/48.58, allocations: 2.326 MB / 11.17 GB, free: 40.98 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0921/48.67, allocations: 19.17 MB / 11.19 GB, free: 38.86 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007017/48.67, allocations: 190.2 kB / 11.19 GB, free: 38.86 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004029/48.68, allocations: 428.4 kB / 11.19 GB, free: 38.86 MB / 0.9167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02077/48.7, allocations: 6.897 MB / 11.19 GB, free: 38.83 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0209/48.72, allocations: 7.447 MB / 11.2 GB, free: 37.79 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001441/48.72, allocations: 23.12 kB / 11.2 GB, free: 37.79 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000873/48.72, allocations: 19.33 kB / 11.2 GB, free: 37.79 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001277/48.72, allocations: 152.9 kB / 11.2 GB, free: 37.79 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08474/48.8, allocations: 50.26 MB / 11.25 GB, free: 25.93 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005235/48.81, allocations: 3.413 MB / 11.25 GB, free: 25.87 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005372/48.82, allocations: 3.913 MB / 11.26 GB, free: 25.79 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0347/48.85, allocations: 11.98 MB / 11.27 GB, free: 22.89 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006227/48.86, allocations: 3.202 MB / 11.27 GB, free: 22.78 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=322): time 7.264e-06/48.86, allocations: 0 / 11.27 GB, free: 22.78 MB / 0.9323 GB Notification: Performance of matching and sorting (n=324): time 0.1218/48.98, allocations: 27.2 MB / 11.3 GB, free: 19.92 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001164/48.98, allocations: 87.77 kB / 11.3 GB, free: 19.85 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03336/49.01, allocations: 11.47 MB / 11.31 GB, free: 19.12 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.002251/49.01, allocations: 42.56 kB / 11.31 GB, free: 19.09 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.006875/49.02, allocations: 3.23 MB / 11.31 GB, free: 17.66 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.003919/49.02, allocations: 1.073 MB / 11.31 GB, free: 16.95 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002129/49.03, allocations: 0.5312 kB / 11.31 GB, free: 16.95 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0009716/49.03, allocations: 0.5343 MB / 11.31 GB, free: 16.63 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007963/49.04, allocations: 3.648 MB / 11.32 GB, free: 16.61 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01273/49.05, allocations: 6.4 MB / 11.32 GB, free: 13.29 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01281/49.06, allocations: 4.543 MB / 11.33 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001785/49.06, allocations: 17.47 kB / 11.33 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of matching and sorting (n=768) (initialization): time 0.09103/49.15, allocations: 19.91 MB / 11.35 GB, free: 12.38 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.01987/49.17, allocations: 38.83 MB / 11.39 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003766/49.17, allocations: 60.25 kB / 11.39 GB, free: 4.117 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01448/49.19, allocations: 4.222 MB / 11.39 GB, free: 3.918 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01045/49.2, allocations: 1.523 MB / 11.39 GB, free: 3.902 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02662/49.22, allocations: 14.34 MB / 11.41 GB, free: 14.22 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01908/49.24, allocations: 1.034 MB / 11.41 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003372/49.25, allocations: 476.3 kB / 11.41 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/49.25, allocations: 3.75 kB / 11.41 GB, free: 14.09 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03534/49.28, allocations: 10.01 MB / 11.42 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003618/49.28, allocations: 59.91 kB / 11.42 GB, free: 13.79 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01345/49.3, allocations: 3.061 MB / 11.42 GB, free: 13.61 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007623/49.3, allocations: 1.361 MB / 11.42 GB, free: 13.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02872/49.33, allocations: 13.26 MB / 11.43 GB, free: 9.855 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01731/49.35, allocations: 0.6667 MB / 11.43 GB, free: 9.77 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003023/49.35, allocations: 417.8 kB / 11.44 GB, free: 9.766 MB / 0.9792 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pmpNorth.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: spl1.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real spl3.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real pumpCoo.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pumpHea.vol.heaFloSen.Q_flow:VARIABLE(unit = "W" protected = true ) "Heat flow from port_a to port_b as output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 271 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition2,booleanToInteger.u,booleanToInteger.y,$PRE.stepPump.pulseStart,stepPump.pulseStart,$PRE.stepValve.T_start,stepValve.T_start,$PRE.stepValve.count,stepValve.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (621): * Single equations (assignments): 606 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 2,9 12,1 2,1 2,6 79} Notification: Performance of prepare postOptimizeDAE: time 0.005507/49.36, allocations: 309.6 kB / 11.44 GB, free: 9.613 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00597/49.37, allocations: 1.133 MB / 11.44 GB, free: 8.988 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.08098/49.45, allocations: 15.62 MB / 11.45 GB, free: 8.246 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001609/49.45, allocations: 41.69 kB / 11.45 GB, free: 8.246 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-05/49.45, allocations: 0 / 11.45 GB, free: 8.246 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.06597/49.51, allocations: 13.21 MB / 11.46 GB, free: 4.387 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 1.654/51.17, allocations: 23.71 MB / 11.49 GB, free: 140.8 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.761e-05/51.17, allocations: 0 / 11.49 GB, free: 140.8 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005155/51.17, allocations: 0.7874 MB / 11.49 GB, free: 140.8 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007638/51.18, allocations: 3.077 MB / 11.49 GB, free: 140.7 MB / 0.9793 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00106/51.18, allocations: 76.84 kB / 11.49 GB, free: 140.7 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09791/51.28, allocations: 35.83 MB / 11.53 GB, free: 133.8 MB / 0.9793 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.292e-06/51.28, allocations: 0.9375 kB / 11.53 GB, free: 133.8 MB / 0.9793 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06204/51.34, allocations: 18.21 MB / 11.54 GB, free: 133.2 MB / 0.9793 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06901/51.41, allocations: 23.03 MB / 11.57 GB, free: 132.3 MB / 0.9793 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009491/51.42, allocations: 2.186 MB / 11.57 GB, free: 131.7 MB / 0.9793 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007013/51.43, allocations: 0 / 11.57 GB, free: 131.7 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01453/51.44, allocations: 0.9462 MB / 11.57 GB, free: 131.7 MB / 0.9793 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001244/51.44, allocations: 235.9 kB / 11.57 GB, free: 131.7 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006887/51.44, allocations: 193.7 kB / 11.57 GB, free: 131.7 MB / 0.9793 GB Notification: Performance of sort global known variables: time 0.0172/51.46, allocations: 8.568 MB / 11.58 GB, free: 131.3 MB / 0.9793 GB Notification: Performance of remove unused functions: time 0.04156/51.5, allocations: 6.755 MB / 11.59 GB, free: 131.3 MB / 0.9793 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (valSouth.vol.dynBal.U,valNorth.vol.dynBal.U,heater.outCon.T) * Number of discrete variables: 7 ($whenCondition2,$whenCondition1,booleanToInteger.u,booleanToInteger.y,stepPump.pulseStart,stepValve.T_start,stepValve.count) * Number of discrete states: 1 (stepValve.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (285): * Single equations (assignments): 263 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 2,9 12,1 2,1 2,7 78} Notification: Performance of Backend phase and start with SimCode phase: time 0.007467/51.51, allocations: 4.832 MB / 11.59 GB, free: 129.6 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.03377/51.54, allocations: 14.04 MB / 11.6 GB, free: 129.2 MB / 0.9793 GB Notification: Performance of simCode: created event and clocks part: time 1.077e-05/51.54, allocations: 4.25 kB / 11.6 GB, free: 129.2 MB / 0.9793 GB Notification: Performance of simCode: created simulation system equations: time 0.01222/51.55, allocations: 4.246 MB / 11.61 GB, free: 129 MB / 0.9793 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.03076/51.59, allocations: 5.491 MB / 11.61 GB, free: 129 MB / 0.9793 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08164/51.67, allocations: 23.55 MB / 11.64 GB, free: 125.4 MB / 0.9793 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01442/51.68, allocations: 7.604 MB / 11.64 GB, free: 124.4 MB / 0.9793 GB Notification: Performance of SimCode: time 1.333e-06/51.68, allocations: 1.688 kB / 11.64 GB, free: 124.4 MB / 0.9793 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6/BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6.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. -DOMC_MODEL_PREFIX=BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=1 -DOMC_NUM_NONLINEAR_SYSTEMS=24 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_FMU.c In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_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); ^ BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_FMU.c:748:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_FMU.c:748:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_FMU.c:749:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_FMU.c:1018:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_FMU.c:5087: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_FMU.c:5086:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_setupDataStruc ^ In file included from BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_FMU.c:5087: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_FMU.c:5086:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_setupDataStruc ^ 6 warnings and 2 errors generated. make: *** [: BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.FlowSystem.Simplified6/BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6.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 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6.def BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6.a BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6.so BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_FMU.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_functions.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_records.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_01exo.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_02nls.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_03lsy.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_04set.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_05evt.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_06inz.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_07dly.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_08bnd.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_09alg.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_10asr.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_11mix.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_12jac.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_13opt.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_14lnz.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_15syn.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_16dae.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_17inl.o BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_FlowSystem_Simplified6_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/linearSystem.o include/./simulation/solver/linearSolverLapack.o include/./simulation/solver/linearSolverTotalPivot.o include/./simulation/solver/nonlinearSystem.o include/./simulation/solver/nonlinearValuesList.o include/./simulation/solver/nonlinearSolverHybrd.o include/./simulation/solver/nonlinearSolverHomotopy.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 include/./external_solvers/enorm_.o include/./external_solvers/hybrj_.o include/./external_solvers/dpmpar_.o include/./external_solvers/qrfac_.o include/./external_solvers/qform_.o include/./external_solvers/dogleg_.o include/./external_solvers/r1updt_.o include/./external_solvers/r1mpyq_.o include/./external_solvers/dgesv.o include/./external_solvers/dgetrf.o include/./external_solvers/dlamch.o include/./external_solvers/ilaenv.o include/./external_solvers/xerbla.o include/./external_solvers/dgetf2.o include/./external_solvers/dgetrs.o include/./external_solvers/dlaswp.o include/./external_solvers/ieeeck.o include/./external_solvers/iparmq.o include/./external_solvers/dgemm.o include/./external_solvers/dger.o include/./external_solvers/dscal.o include/./external_solvers/dswap.o include/./external_solvers/dtrsm.o include/./external_solvers/idamax.o include/./external_solvers/lsame.o include/./external_solvers/i_nint.o include/./external_solvers/pow_di.o include/./external_solvers/s_cmp.o include/./external_solvers/s_copy.o