Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3.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.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified3,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3",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.7678/0.7678, allocations: 141.8 MB / 149.1 MB, free: 1.559 MB / 114.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 183 kB / 182 MB, free: 2.391 MB / 146.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.335/1.335, allocations: 221.3 MB / 436.1 MB, free: 2.738 MB / 338.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009991/0.000999, allocations: 101.5 kB / 0.507 GB, free: 0.707 MB / 386.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001833/0.001833, allocations: 275 kB / 0.5884 GB, free: 13.3 MB / 482.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3407/0.3426, allocations: 89.64 MB / 0.676 GB, free: 137.2 MB / 498.9 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.4987, allocations: 82.78 MB / 0.7568 GB, free: 54.83 MB / 498.9 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.016/1.514, allocations: 421.2 MB / 1.168 GB, free: 187.4 MB / 0.6903 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/1.515, allocations: 88.59 kB / 1.168 GB, free: 187.3 MB / 0.6903 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.19/37.7, allocations: 9.571 GB / 10.74 GB, free: 53.4 MB / 0.9717 GB Notification: Performance of prepare preOptimizeDAE: time 5.503e-05/37.7, allocations: 11.27 kB / 10.74 GB, free: 53.4 MB / 0.9717 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01721/37.72, allocations: 2.225 MB / 10.74 GB, free: 52.44 MB / 0.9717 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07874/37.8, allocations: 25.04 MB / 10.77 GB, free: 50 MB / 0.9717 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005605/37.8, allocations: 254.3 kB / 10.77 GB, free: 50 MB / 0.9717 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005139/37.8, allocations: 0.5827 MB / 10.77 GB, free: 49.99 MB / 0.9717 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03364/37.84, allocations: 19.87 MB / 10.79 GB, free: 49.96 MB / 0.9717 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03716/37.88, allocations: 14.57 MB / 10.8 GB, free: 49.2 MB / 0.9717 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003228/37.88, allocations: 16.39 kB / 10.8 GB, free: 49.2 MB / 0.9717 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002967/37.88, allocations: 7.844 kB / 10.8 GB, free: 49.2 MB / 0.9717 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002865/37.88, allocations: 376.7 kB / 10.8 GB, free: 49.18 MB / 0.9717 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1518/38.03, allocations: 83.92 MB / 10.88 GB, free: 13.62 MB / 0.9717 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01888/38.05, allocations: 10.4 MB / 10.89 GB, free: 13.47 MB / 0.9717 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02438/38.07, allocations: 9.884 MB / 10.9 GB, free: 13.34 MB / 0.9717 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1012/38.18, allocations: 35.98 MB / 10.94 GB, free: 4.102 MB / 0.9717 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01756/38.19, allocations: 9.167 MB / 10.95 GB, free: 3.945 MB / 0.9717 GB Notification: Performance of pre-optimization done (n=595): time 1.376e-05/38.19, allocations: 1.781 kB / 10.95 GB, free: 3.945 MB / 0.9717 GB Notification: Performance of matching and sorting (n=597): time 1.497/39.69, allocations: 152.5 MB / 11.1 GB, free: 130.3 MB / 1.003 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/39.69, allocations: 118.4 kB / 11.1 GB, free: 130.3 MB / 1.003 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03383/39.72, allocations: 13.64 MB / 11.11 GB, free: 129.6 MB / 1.003 GB Notification: Performance of collectPreVariables (initialization): time 0.003936/39.73, allocations: 43.72 kB / 11.11 GB, free: 129.6 MB / 1.003 GB Notification: Performance of collectInitialEqns (initialization): time 0.007495/39.74, allocations: 3.706 MB / 11.11 GB, free: 129.3 MB / 1.003 GB Notification: Performance of collectInitialBindings (initialization): time 0.01127/39.75, allocations: 2.039 MB / 11.11 GB, free: 129.3 MB / 1.003 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002903/39.75, allocations: 3.031 kB / 11.11 GB, free: 129.3 MB / 1.003 GB Notification: Performance of setup shared object (initialization): time 0.0007591/39.75, allocations: 0.6393 MB / 11.12 GB, free: 129 MB / 1.003 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01327/39.76, allocations: 8.23 MB / 11.12 GB, free: 129 MB / 1.003 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01814/39.78, allocations: 10.99 MB / 11.13 GB, free: 125.8 MB / 1.003 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01845/39.8, allocations: 9.631 MB / 11.14 GB, free: 125.6 MB / 1.003 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.931e-05/39.8, allocations: 16.5 kB / 11.14 GB, free: 125.6 MB / 1.003 GB Notification: Performance of matching and sorting (n=1091) (initialization): time 0.639/40.44, allocations: 133.4 MB / 11.27 GB, free: 115.4 MB / 1.003 GB Notification: Performance of prepare postOptimizeDAE: time 0.005703/40.45, allocations: 36.6 MB / 11.31 GB, free: 76.74 MB / 1.003 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001876/40.45, allocations: 56 kB / 11.31 GB, free: 76.74 MB / 1.003 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4/41.85, allocations: 160.9 MB / 11.47 GB, free: 122.8 MB / 1.003 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0147/41.86, allocations: 2.505 MB / 11.47 GB, free: 122.8 MB / 1.003 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1423/42, allocations: 65.66 MB / 11.53 GB, free: 118.1 MB / 1.003 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02265/42.03, allocations: 0.927 MB / 11.53 GB, free: 118.1 MB / 1.003 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005032/42.03, allocations: 0.798 MB / 11.54 GB, free: 118.1 MB / 1.003 GB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/42.03, allocations: 3.906 kB / 11.54 GB, free: 118.1 MB / 1.003 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6305/42.66, allocations: 130.9 MB / 11.66 GB, free: 111.1 MB / 1.003 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002842/42.66, allocations: 52.91 kB / 11.66 GB, free: 111.1 MB / 1.003 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.6965/43.36, allocations: 161 MB / 11.82 GB, free: 46.45 MB / 1.003 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01335/43.37, allocations: 2.483 MB / 11.82 GB, free: 44.12 MB / 1.003 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.833/44.21, allocations: 67.31 MB / 11.89 GB, free: 119.4 MB / 1.003 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02234/44.23, allocations: 0.8971 MB / 11.89 GB, free: 119.4 MB / 1.003 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004736/44.23, allocations: 0.7533 MB / 11.89 GB, free: 119.4 MB / 1.003 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * 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 (915): * Single equations (assignments): 903 * 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: 2 * 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: 1 {(28,89.3%) 28} * Non-linear torn systems: 1 {5 80} Notification: Performance of prepare postOptimizeDAE: time 0.007008/44.24, allocations: 327.3 kB / 11.89 GB, free: 119.3 MB / 1.003 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006814/44.25, allocations: 1.387 MB / 11.89 GB, free: 119.3 MB / 1.003 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2107/44.46, allocations: 57.75 MB / 11.95 GB, free: 114.3 MB / 1.003 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001909/44.46, allocations: 67.56 kB / 11.95 GB, free: 114.3 MB / 1.003 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.884e-05/44.46, allocations: 29.38 kB / 11.95 GB, free: 114.3 MB / 1.003 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1901/44.65, allocations: 51.66 MB / 12 GB, free: 107.2 MB / 1.003 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.231/44.88, allocations: 70.61 MB / 12.07 GB, free: 97.18 MB / 1.003 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.813e-05/44.88, allocations: 0 / 12.07 GB, free: 97.18 MB / 1.003 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007838/44.89, allocations: 1.138 MB / 12.07 GB, free: 97.18 MB / 1.003 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2125/45.1, allocations: 66.51 MB / 12.13 GB, free: 74.78 MB / 1.003 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002712/45.1, allocations: 157.5 kB / 12.13 GB, free: 74.7 MB / 1.003 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05891/45.16, allocations: 24.68 MB / 12.16 GB, free: 58.88 MB / 1.003 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.987e-06/45.16, allocations: 0 / 12.16 GB, free: 58.88 MB / 1.003 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.9193/46.08, allocations: 62.45 MB / 12.22 GB, free: 112.8 MB / 1.003 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2194/46.3, allocations: 72.12 MB / 12.29 GB, free: 106.7 MB / 1.003 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01384/46.31, allocations: 3.23 MB / 12.29 GB, free: 106.6 MB / 1.003 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007489/46.32, allocations: 83.05 kB / 12.29 GB, free: 106.6 MB / 1.003 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01924/46.34, allocations: 0.7193 MB / 12.29 GB, free: 106.5 MB / 1.003 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003425/46.34, allocations: 370.9 kB / 12.29 GB, free: 106.5 MB / 1.003 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001588/46.35, allocations: 264.3 kB / 12.29 GB, free: 106.5 MB / 1.003 GB Notification: Performance of sort global known variables: time 0.02511/46.37, allocations: 10.26 MB / 12.3 GB, free: 106.1 MB / 1.003 GB Notification: Performance of remove unused functions: time 0.06228/46.43, allocations: 9.327 MB / 12.31 GB, free: 106.1 MB / 1.003 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 (554): * Single equations (assignments): 534 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 3 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * 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: 5 {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 {5 80} Notification: Performance of Backend phase and start with SimCode phase: time 0.01132/46.44, allocations: 5.241 MB / 12.32 GB, free: 103.8 MB / 1.003 GB Notification: Performance of simCode: created initialization part: time 0.07668/46.52, allocations: 32.47 MB / 12.35 GB, free: 102.9 MB / 1.003 GB Notification: Performance of simCode: created event and clocks part: time 1.507e-05/46.52, allocations: 2.719 kB / 12.35 GB, free: 102.9 MB / 1.003 GB Notification: Performance of simCode: created simulation system equations: time 0.01989/46.54, allocations: 8.68 MB / 12.36 GB, free: 102.6 MB / 1.003 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04164/46.58, allocations: 6.705 MB / 12.36 GB, free: 102.3 MB / 1.003 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08655/46.67, allocations: 27.5 MB / 12.39 GB, free: 96.98 MB / 1.003 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02352/46.69, allocations: 9.92 MB / 12.4 GB, free: 95.75 MB / 1.003 GB Notification: Performance of SimCode: time 1.393e-06/46.69, allocations: 0 / 12.4 GB, free: 95.75 MB / 1.003 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3/BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3.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_Examples_FlowSystem_Simplified3 -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=12 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_FMU.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_FMU.c In file included from BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_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_Examples_FlowSystem_Simplified3_FMU.c:1097:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_FMU.c:1097:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_FMU.c:1098:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_FMU.c:1372:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ In file included from BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_FMU.c:6190: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_FMU.c:6189:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_setupDataStruc ^ In file included from BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_FMU.c:6190: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_FMU.c:6189:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_setupDataStruc ^ 6 warnings and 2 errors generated. make: *** [: BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified3/BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3.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_Examples_FlowSystem_Simplified3.def BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3.a BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3.so BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_FMU.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_functions.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_records.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_01exo.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_02nls.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_03lsy.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_04set.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_05evt.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_06inz.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_07dly.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_08bnd.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_09alg.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_10asr.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_11mix.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_12jac.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_13opt.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_14lnz.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_15syn.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_16dae.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_17inl.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified3_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