Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified2.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified2,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.FlowSystem.Simplified2,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2",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/Complex 4.0.0+maint.om/package.mo): time 0.005864/0.005863, allocations: 178 kB / 7.453 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7193/0.7193, allocations: 133.5 MB / 141.4 MB, free: 15.66 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 221.3 MB / 395 MB, free: 10.24 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000878/0.0008779, allocations: 100.9 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4266/0.4275, allocations: 88.42 MB / 0.5529 GB, free: 89.2 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.191/0.6185, allocations: 82.31 MB / 0.6333 GB, free: 14.03 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.261/1.879, allocations: 423.4 MB / 1.047 GB, free: 210.6 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/1.879, allocations: 87.95 kB / 1.047 GB, free: 210.5 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2029 * Number of variables: 2029 Notification: Performance of Generate backend data structure: time 36.65/38.53, allocations: 8.774 GB / 9.82 GB, free: 49.55 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/38.53, allocations: 10.06 kB / 9.82 GB, free: 49.55 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02085/38.55, allocations: 2.236 MB / 9.823 GB, free: 48.58 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08725/38.64, allocations: 25.19 MB / 9.847 GB, free: 46.14 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000991/38.64, allocations: 255 kB / 9.847 GB, free: 46.14 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007065/38.65, allocations: 0.5861 MB / 9.848 GB, free: 46.13 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03982/38.69, allocations: 19.92 MB / 9.868 GB, free: 46.1 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04935/38.74, allocations: 14.61 MB / 9.882 GB, free: 45.33 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007141/38.74, allocations: 21.41 kB / 9.882 GB, free: 45.33 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005292/38.74, allocations: 11.91 kB / 9.882 GB, free: 45.33 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005611/38.75, allocations: 379.7 kB / 9.882 GB, free: 45.31 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1797/38.93, allocations: 83.61 MB / 9.964 GB, free: 10.23 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01969/38.95, allocations: 10.56 MB / 9.974 GB, free: 10.07 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01669/38.96, allocations: 9.583 MB / 9.984 GB, free: 9.996 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09549/39.06, allocations: 36.21 MB / 10.02 GB, free: 0.8047 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.02104/39.08, allocations: 9.262 MB / 10.03 GB, free: 0.6484 MB / 0.948 GB Notification: Performance of pre-optimization done (n=616): time 1.108e-05/39.08, allocations: 0 / 10.03 GB, free: 0.6484 MB / 0.948 GB Notification: Performance of matching and sorting (n=618): time 2.361/41.44, allocations: 152.9 MB / 10.18 GB, free: 123.8 MB / 0.9793 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.388e-05/41.44, allocations: 114.8 kB / 10.18 GB, free: 123.7 MB / 0.9793 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03502/41.47, allocations: 13.68 MB / 10.19 GB, free: 123.1 MB / 0.9793 GB Notification: Performance of collectPreVariables (initialization): time 0.004678/41.48, allocations: 43.64 kB / 10.19 GB, free: 123 MB / 0.9793 GB Notification: Performance of collectInitialEqns (initialization): time 0.009539/41.49, allocations: 3.687 MB / 10.19 GB, free: 122.8 MB / 0.9793 GB Notification: Performance of collectInitialBindings (initialization): time 0.01219/41.5, allocations: 2.106 MB / 10.2 GB, free: 122.8 MB / 0.9793 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003806/41.51, allocations: 3.594 kB / 10.2 GB, free: 122.8 MB / 0.9793 GB Notification: Performance of setup shared object (initialization): time 0.001083/41.51, allocations: 0.6438 MB / 10.2 GB, free: 122.4 MB / 0.9793 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01625/41.52, allocations: 8.292 MB / 10.21 GB, free: 122.4 MB / 0.9793 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01882/41.54, allocations: 11.05 MB / 10.22 GB, free: 119.2 MB / 0.9793 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02104/41.56, allocations: 9.695 MB / 10.23 GB, free: 119 MB / 0.9793 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001422/41.56, allocations: 15.72 kB / 10.23 GB, free: 119 MB / 0.9793 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.6698/42.23, allocations: 133.7 MB / 10.36 GB, free: 108.8 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 0.008357/42.24, allocations: 35.22 MB / 10.39 GB, free: 71.75 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003412/42.24, allocations: 51.75 kB / 10.39 GB, free: 71.75 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.531/43.77, allocations: 161.2 MB / 10.55 GB, free: 117.8 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01582/43.79, allocations: 2.512 MB / 10.55 GB, free: 117.8 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1448/43.93, allocations: 67.33 MB / 10.62 GB, free: 111.9 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02505/43.96, allocations: 0.9245 MB / 10.62 GB, free: 111.9 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005166/43.96, allocations: 0.8018 MB / 10.62 GB, free: 111.9 MB / 0.9793 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/43.96, allocations: 1.875 kB / 10.62 GB, free: 111.9 MB / 0.9793 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6465/44.61, allocations: 131.1 MB / 10.75 GB, free: 103.1 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003292/44.61, allocations: 49.84 kB / 10.75 GB, free: 103.1 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498/46.11, allocations: 161.2 MB / 10.9 GB, free: 117.4 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01496/46.12, allocations: 2.472 MB / 10.91 GB, free: 117.4 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1563/46.28, allocations: 68.39 MB / 10.97 GB, free: 114.8 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02446/46.3, allocations: 0.8986 MB / 10.97 GB, free: 114.8 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004696/46.31, allocations: 0.7553 MB / 10.97 GB, free: 114.8 MB / 0.9793 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * 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 (907): * Single equations (assignments): 893 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {14 90} Notification: Performance of prepare postOptimizeDAE: time 0.006747/46.32, allocations: 312.6 kB / 10.97 GB, free: 114.7 MB / 0.9793 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.008795/46.32, allocations: 1.401 MB / 10.98 GB, free: 114.7 MB / 0.9793 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2224/46.55, allocations: 58.09 MB / 11.03 GB, free: 108.6 MB / 0.9793 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000189/46.55, allocations: 76.47 kB / 11.03 GB, free: 108.6 MB / 0.9793 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001054/46.55, allocations: 29.89 kB / 11.03 GB, free: 108.6 MB / 0.9793 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1959/46.74, allocations: 51.99 MB / 11.08 GB, free: 101.5 MB / 0.9793 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2555/47, allocations: 71.84 MB / 11.15 GB, free: 91.38 MB / 0.9793 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001157/47, allocations: 3.062 kB / 11.15 GB, free: 91.38 MB / 0.9793 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0091/47.01, allocations: 1.167 MB / 11.15 GB, free: 91.37 MB / 0.9793 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2129/47.22, allocations: 66.78 MB / 11.22 GB, free: 44.03 MB / 0.9793 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003069/47.22, allocations: 161.9 kB / 11.22 GB, free: 43.95 MB / 0.9793 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05948/47.28, allocations: 26.35 MB / 11.25 GB, free: 26.51 MB / 0.9793 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.849e-06/47.28, allocations: 3.281 kB / 11.25 GB, free: 26.51 MB / 0.9793 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 1.056/48.34, allocations: 63.81 MB / 11.31 GB, free: 113.7 MB / 0.9793 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2336/48.57, allocations: 72.68 MB / 11.38 GB, free: 105.4 MB / 0.9793 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01554/48.59, allocations: 3.259 MB / 11.38 GB, free: 104.6 MB / 0.9793 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.009523/48.6, allocations: 88.2 kB / 11.38 GB, free: 104.6 MB / 0.9793 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02009/48.62, allocations: 0.7808 MB / 11.38 GB, free: 104.5 MB / 0.9793 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002908/48.62, allocations: 383.3 kB / 11.38 GB, free: 104.4 MB / 0.9793 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001712/48.62, allocations: 274.7 kB / 11.38 GB, free: 104.4 MB / 0.9793 GB Notification: Performance of sort global known variables: time 0.02552/48.65, allocations: 10.29 MB / 11.39 GB, free: 104 MB / 0.9793 GB Notification: Performance of remove unused functions: time 0.06422/48.71, allocations: 9.346 MB / 11.4 GB, free: 104 MB / 0.9793 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 74 (pmpSouth.vol.dynBal.U,pmpSouth.filter.s[1],pmpSouth.filter.s[2],pmpNorth.vol.dynBal.U,pmpNorth.filter.s[1],pmpNorth.filter.s[2],valSouth1[1].filter.s[1],valSouth1[1].filter.s[2],valSouth1[2].filter.s[1],valSouth1[2].filter.s[2],valSouth1[3].filter.s[1],valSouth1[3].filter.s[2],valSouth1[4].filter.s[1],valSouth1[4].filter.s[2],valSouth2[1].filter.s[1],valSouth2[1].filter.s[2],valSouth2[2].filter.s[1],valSouth2[2].filter.s[2],valSouth2[3].filter.s[1],valSouth2[3].filter.s[2],valSouth2[4].filter.s[1],valSouth2[4].filter.s[2],valSouth2[5].filter.s[1],valSouth2[5].filter.s[2],valSouth2[6].filter.s[1],valSouth2[6].filter.s[2],valSouth2[7].filter.s[1],valSouth2[7].filter.s[2],valSouth2[8].filter.s[1],valSouth2[8].filter.s[2],valNorth1[1].filter.s[1],valNorth1[1].filter.s[2],valNorth1[2].filter.s[1],valNorth1[2].filter.s[2],valNorth1[3].filter.s[1],valNorth1[3].filter.s[2],valNorth1[4].filter.s[1],valNorth1[4].filter.s[2],valNorth2[1].filter.s[1],valNorth2[1].filter.s[2],valNorth2[2].filter.s[1],valNorth2[2].filter.s[2],valNorth2[3].filter.s[1],valNorth2[3].filter.s[2],valNorth2[4].filter.s[1],valNorth2[4].filter.s[2],valNorth2[5].filter.s[1],valNorth2[5].filter.s[2],valNorth2[6].filter.s[1],valNorth2[6].filter.s[2],valNorth2[7].filter.s[1],valNorth2[7].filter.s[2],valNorth2[8].filter.s[1],valNorth2[8].filter.s[2],valSouth.vol.dynBal.U,valSouth.filter.s[1],valSouth.filter.s[2],valNorth.vol.dynBal.U,valNorth.filter.s[1],valNorth.filter.s[2],spl.vol.dynBal.U,spl1.vol.dynBal.U,pumpHea.vol.dynBal.U,pumpHea.filter.s[1],pumpHea.filter.s[2],valHea.filter.s[1],valHea.filter.s[2],valCoo.filter.s[1],valCoo.filter.s[2],spl2.vol.dynBal.U,spl3.vol.dynBal.U,pumpCoo.vol.dynBal.U,pumpCoo.filter.s[1],pumpCoo.filter.s[2]) * 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 (562): * Single equations (assignments): 540 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {14 90} Notification: Performance of Backend phase and start with SimCode phase: time 0.01089/48.72, allocations: 5.23 MB / 11.41 GB, free: 101.8 MB / 0.9793 GB Notification: Performance of simCode: created initialization part: time 0.08145/48.81, allocations: 32.85 MB / 11.44 GB, free: 100.8 MB / 0.9793 GB Notification: Performance of simCode: created event and clocks part: time 1.437e-05/48.81, allocations: 3.438 kB / 11.44 GB, free: 100.8 MB / 0.9793 GB Notification: Performance of simCode: created simulation system equations: time 0.02155/48.83, allocations: 8.87 MB / 11.45 GB, free: 100.5 MB / 0.9793 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04552/48.87, allocations: 6.836 MB / 11.46 GB, free: 100.1 MB / 0.9793 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1024/48.98, allocations: 27.67 MB / 11.48 GB, free: 94.8 MB / 0.9793 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02871/49, allocations: 9.973 MB / 11.49 GB, free: 93.57 MB / 0.9793 GB Notification: Performance of SimCode: time 2.605e-06/49, allocations: 0 / 11.49 GB, free: 93.57 MB / 0.9793 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified2/IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2.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=IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=16 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_FMU.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_FMU.c In file included from IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_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); ^ IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_FMU.c:1114:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_FMU.c:1114:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_FMU.c:1115:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_FMU.c:1389:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ In file included from IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_FMU.c:6226: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_FMU.c:6225:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_setupDataStruc ^ In file included from IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_FMU.c:6226: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_FMU.c:6225:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_setupDataStruc ^ 6 warnings and 2 errors generated. make: *** [: IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/IDEAS_IDEAS.Fluid.Examples.FlowSystem.Simplified2/IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2.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 IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2.def IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2.a IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2.so IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_FMU.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_functions.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_records.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_01exo.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_02nls.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_03lsy.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_04set.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_05evt.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_06inz.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_07dly.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_08bnd.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_09alg.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_10asr.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_11mix.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_12jac.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_13opt.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_14lnz.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_15syn.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_16dae.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_17inl.o IDEAS_IDEAS_Fluid_Examples_FlowSystem_Simplified2_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