Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified1.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.Simplified1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified1,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1",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.7276/0.7276, allocations: 141.8 MB / 149.1 MB, free: 14.23 MB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.00114, allocations: 183 kB / 182 MB, free: 10.76 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.34/1.34, allocations: 221.3 MB / 436 MB, free: 3.316 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.001033/0.001033, allocations: 100.1 kB / 0.507 GB, free: 18.19 MB / 378.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001896/0.001896, allocations: 282 kB / 0.5885 GB, free: 4.73 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.3863/0.3883, allocations: 89.64 MB / 0.676 GB, free: 137.5 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.5562, allocations: 82.78 MB / 0.7568 GB, free: 84.86 MB / 0.5107 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.037/1.594, allocations: 420.9 MB / 1.168 GB, free: 274.9 MB / 0.7138 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/1.594, allocations: 93.44 kB / 1.168 GB, free: 274.9 MB / 0.7138 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 33.06/34.66, allocations: 8.769 GB / 9.937 GB, free: 63.37 MB / 0.9638 GB Notification: Performance of prepare preOptimizeDAE: time 5.096e-05/34.66, allocations: 8.656 kB / 9.937 GB, free: 63.37 MB / 0.9638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0181/34.67, allocations: 2.227 MB / 9.939 GB, free: 62.41 MB / 0.9638 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08622/34.76, allocations: 25.05 MB / 9.963 GB, free: 59.53 MB / 0.9638 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008457/34.76, allocations: 253.3 kB / 9.963 GB, free: 59.53 MB / 0.9638 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007032/34.77, allocations: 0.584 MB / 9.964 GB, free: 59.52 MB / 0.9638 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04382/34.81, allocations: 19.93 MB / 9.983 GB, free: 59.48 MB / 0.9638 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05067/34.86, allocations: 14.61 MB / 9.998 GB, free: 58.67 MB / 0.9638 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007734/34.86, allocations: 10.69 kB / 9.998 GB, free: 58.66 MB / 0.9638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005222/34.87, allocations: 13.97 kB / 9.998 GB, free: 58.66 MB / 0.9638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000615/34.87, allocations: 387 kB / 9.998 GB, free: 58.63 MB / 0.9638 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1807/35.05, allocations: 83.57 MB / 10.08 GB, free: 22.89 MB / 0.9638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0193/35.07, allocations: 10.56 MB / 10.09 GB, free: 22.73 MB / 0.9638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01561/35.09, allocations: 9.58 MB / 10.1 GB, free: 20.21 MB / 0.9638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09084/35.18, allocations: 36.24 MB / 10.13 GB, free: 13.67 MB / 0.9794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01972/35.2, allocations: 9.264 MB / 10.14 GB, free: 6.531 MB / 0.9794 GB Notification: Performance of pre-optimization done (n=616): time 1.286e-05/35.2, allocations: 0 / 10.14 GB, free: 6.531 MB / 0.9794 GB Notification: Performance of matching and sorting (n=618): time 1.339/36.54, allocations: 150.4 MB / 10.29 GB, free: 116.5 MB / 0.9794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.423e-05/36.54, allocations: 117.1 kB / 10.29 GB, free: 116.4 MB / 0.9794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0313/36.57, allocations: 13.63 MB / 10.3 GB, free: 115.7 MB / 0.9794 GB Notification: Performance of collectPreVariables (initialization): time 0.003804/36.57, allocations: 43.89 kB / 10.3 GB, free: 115.6 MB / 0.9794 GB Notification: Performance of collectInitialEqns (initialization): time 0.007154/36.58, allocations: 3.674 MB / 10.31 GB, free: 114.5 MB / 0.9794 GB Notification: Performance of collectInitialBindings (initialization): time 0.01205/36.59, allocations: 2.114 MB / 10.31 GB, free: 113.3 MB / 0.9794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002791/36.59, allocations: 1.594 kB / 10.31 GB, free: 113.3 MB / 0.9794 GB Notification: Performance of setup shared object (initialization): time 0.0008599/36.59, allocations: 0.6433 MB / 10.31 GB, free: 113 MB / 0.9794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01405/36.61, allocations: 8.287 MB / 10.32 GB, free: 113 MB / 0.9794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01746/36.63, allocations: 11.06 MB / 10.33 GB, free: 109.8 MB / 0.9794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01932/36.65, allocations: 9.692 MB / 10.34 GB, free: 109.6 MB / 0.9794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001217/36.65, allocations: 12.72 kB / 10.34 GB, free: 109.6 MB / 0.9794 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.6378/37.28, allocations: 133.8 MB / 10.47 GB, free: 81.83 MB / 0.9794 GB Notification: Performance of prepare postOptimizeDAE: time 0.006066/37.29, allocations: 35.09 MB / 10.5 GB, free: 44.66 MB / 0.9794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002652/37.29, allocations: 52 kB / 10.5 GB, free: 44.61 MB / 0.9794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295/38.58, allocations: 161.4 MB / 10.66 GB, free: 110.1 MB / 0.9794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01564/38.6, allocations: 2.512 MB / 10.66 GB, free: 110.1 MB / 0.9794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1461/38.75, allocations: 67.57 MB / 10.73 GB, free: 103 MB / 0.9794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02347/38.77, allocations: 0.9276 MB / 10.73 GB, free: 103 MB / 0.9794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004764/38.77, allocations: 0.7936 MB / 10.73 GB, free: 103 MB / 0.9794 GB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/38.77, allocations: 7.5 kB / 10.73 GB, free: 103 MB / 0.9794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6278/39.4, allocations: 131.1 MB / 10.86 GB, free: 76.62 MB / 0.9794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002525/39.4, allocations: 56.03 kB / 10.86 GB, free: 76.57 MB / 0.9794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37/40.77, allocations: 161.2 MB / 11.02 GB, free: 107.6 MB / 0.9794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01376/40.79, allocations: 2.472 MB / 11.02 GB, free: 107.6 MB / 0.9794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.155/40.94, allocations: 68.51 MB / 11.09 GB, free: 103.8 MB / 0.9794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02176/40.96, allocations: 0.8984 MB / 11.09 GB, free: 103.7 MB / 0.9794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004859/40.97, allocations: 0.7573 MB / 11.09 GB, free: 103.7 MB / 0.9794 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 {39 65} Notification: Performance of prepare postOptimizeDAE: time 0.005315/40.97, allocations: 314.8 kB / 11.09 GB, free: 103.6 MB / 0.9794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005727/40.98, allocations: 1.388 MB / 11.09 GB, free: 103.6 MB / 0.9794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.218/41.2, allocations: 58.11 MB / 11.15 GB, free: 96.11 MB / 0.9794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000195/41.2, allocations: 69.25 kB / 11.15 GB, free: 96.11 MB / 0.9794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.39e-05/41.2, allocations: 33.19 kB / 11.15 GB, free: 96.1 MB / 0.9794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1887/41.39, allocations: 52 MB / 11.2 GB, free: 79.32 MB / 0.9794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2314/41.62, allocations: 71.83 MB / 11.27 GB, free: 35.06 MB / 0.9794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-05/41.62, allocations: 0 / 11.27 GB, free: 35.06 MB / 0.9794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008008/41.63, allocations: 1.162 MB / 11.27 GB, free: 34.18 MB / 0.9794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.9846/42.61, allocations: 70.34 MB / 11.34 GB, free: 104.4 MB / 0.9794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00289/42.61, allocations: 162.5 kB / 11.34 GB, free: 104.4 MB / 0.9794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06453/42.68, allocations: 26.46 MB / 11.36 GB, free: 97.82 MB / 0.9794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.204e-05/42.68, allocations: 11.58 kB / 11.36 GB, free: 97.82 MB / 0.9794 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2202/42.9, allocations: 62.8 MB / 11.42 GB, free: 90.2 MB / 0.9794 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2313/43.13, allocations: 72.66 MB / 11.5 GB, free: 81.56 MB / 0.9794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01784/43.15, allocations: 3.255 MB / 11.5 GB, free: 80.68 MB / 0.9794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008496/43.16, allocations: 81.28 kB / 11.5 GB, free: 80.68 MB / 0.9794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01927/43.18, allocations: 0.7822 MB / 11.5 GB, free: 80.59 MB / 0.9794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003734/43.18, allocations: 377.5 kB / 11.5 GB, free: 80.58 MB / 0.9794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002742/43.18, allocations: 273.2 kB / 11.5 GB, free: 80.58 MB / 0.9794 GB Notification: Performance of sort global known variables: time 0.02913/43.21, allocations: 10.25 MB / 11.51 GB, free: 80.14 MB / 0.9794 GB Notification: Performance of remove unused functions: time 0.06338/43.28, allocations: 9.349 MB / 11.52 GB, free: 80.14 MB / 0.9794 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 {39 65} Notification: Performance of Backend phase and start with SimCode phase: time 0.01262/43.29, allocations: 5.257 MB / 11.52 GB, free: 77.88 MB / 0.9794 GB Notification: Performance of simCode: created initialization part: time 0.08038/43.37, allocations: 33.29 MB / 11.56 GB, free: 73.18 MB / 0.9794 GB Notification: Performance of simCode: created event and clocks part: time 1.51e-05/43.37, allocations: 0 / 11.56 GB, free: 73.18 MB / 0.9794 GB Notification: Performance of simCode: created simulation system equations: time 0.02053/43.39, allocations: 9.064 MB / 11.57 GB, free: 68.24 MB / 0.9794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04394/43.43, allocations: 6.848 MB / 11.57 GB, free: 64.39 MB / 0.9794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09359/43.53, allocations: 27.59 MB / 11.6 GB, free: 43.7 MB / 0.9794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02662/43.55, allocations: 9.941 MB / 11.61 GB, free: 37.33 MB / 0.9794 GB Notification: Performance of SimCode: time 1.853e-06/43.55, allocations: 0 / 11.61 GB, free: 37.33 MB / 0.9794 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified1/BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1.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_Simplified1 -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 BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_FMU.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_FMU.c In file included from BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_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_Simplified1_FMU.c:1114:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_FMU.c:1114:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_FMU.c:1115:70: warning: missing terminating '"' character [-Winvalid-pp-token] and for default pressure curve if not specified in record per" ^ BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_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 BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_FMU.c:6196: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_FMU.c:6195:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_setupDataStruc ^ In file included from BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_FMU.c:6196: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_FMU.c:6195:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_setupDataStruc ^ 6 warnings and 2 errors generated. make: *** [: BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified1/BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1.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_Simplified1.def BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1.a BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1.so BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_FMU.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_functions.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_records.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_01exo.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_02nls.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_03lsy.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_04set.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_05evt.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_06inz.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_07dly.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_08bnd.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_09alg.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_10asr.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_11mix.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_12jac.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_13opt.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_14lnz.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_15syn.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_16dae.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_17inl.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified1_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