Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2.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.Simplified2,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.FlowSystem.Simplified2,fileNamePrefix="BuildingSystems_BuildingSystems_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/BuildingSystems 2.0.0-master/package.mo): time 0.7285/0.7285, allocations: 141.8 MB / 149.1 MB, free: 3.953 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 178.2 kB / 181.9 MB, free: 15.67 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.321/1.321, allocations: 221.4 MB / 436 MB, free: 8.789 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.001086/0.001086, allocations: 94.83 kB / 0.507 GB, free: 24.21 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001779/0.001779, allocations: 284.8 kB / 0.5884 GB, free: 11.84 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 0.2007/0.2025, allocations: 89.64 MB / 0.676 GB, free: 2.125 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3961/0.5986, allocations: 82.76 MB / 0.7568 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6656/1.264, allocations: 421.1 MB / 1.168 GB, free: 6.805 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/1.265, allocations: 95.25 kB / 1.168 GB, free: 6.762 MB / 0.6982 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.21/34.48, allocations: 8.769 GB / 9.937 GB, free: 55.02 MB / 0.9638 GB Notification: Performance of prepare preOptimizeDAE: time 4.517e-05/34.48, allocations: 13.11 kB / 9.937 GB, free: 55.02 MB / 0.9638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01538/34.49, allocations: 2.227 MB / 9.94 GB, free: 54.06 MB / 0.9638 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07602/34.57, allocations: 25.04 MB / 9.964 GB, free: 51.64 MB / 0.9638 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005836/34.57, allocations: 259 kB / 9.964 GB, free: 51.64 MB / 0.9638 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005495/34.57, allocations: 0.5904 MB / 9.965 GB, free: 51.62 MB / 0.9638 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03966/34.61, allocations: 19.93 MB / 9.984 GB, free: 51.59 MB / 0.9638 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04319/34.66, allocations: 14.61 MB / 9.999 GB, free: 50.83 MB / 0.9638 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004009/34.66, allocations: 12.5 kB / 9.999 GB, free: 50.83 MB / 0.9638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003594/34.66, allocations: 14.22 kB / 9.999 GB, free: 50.83 MB / 0.9638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003311/34.66, allocations: 378.9 kB / 9.999 GB, free: 50.82 MB / 0.9638 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1535/34.81, allocations: 83.59 MB / 10.08 GB, free: 15.54 MB / 0.9638 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01685/34.83, allocations: 10.57 MB / 10.09 GB, free: 15.37 MB / 0.9638 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01536/34.85, allocations: 9.574 MB / 10.1 GB, free: 15.3 MB / 0.9638 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08508/34.93, allocations: 36.21 MB / 10.14 GB, free: 6.09 MB / 0.9638 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.01726/34.95, allocations: 9.272 MB / 10.14 GB, free: 3.723 MB / 0.9638 GB Notification: Performance of pre-optimization done (n=616): time 9.669e-06/34.95, allocations: 3.312 kB / 10.14 GB, free: 3.723 MB / 0.9638 GB Notification: Performance of matching and sorting (n=618): time 1.438/36.39, allocations: 152.3 MB / 10.29 GB, free: 128.1 MB / 0.995 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/36.39, allocations: 117.4 kB / 10.29 GB, free: 128 MB / 0.995 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.03482/36.42, allocations: 13.63 MB / 10.31 GB, free: 127.3 MB / 0.995 GB Notification: Performance of collectPreVariables (initialization): time 0.003938/36.43, allocations: 45.64 kB / 10.31 GB, free: 127.3 MB / 0.995 GB Notification: Performance of collectInitialEqns (initialization): time 0.007807/36.43, allocations: 3.681 MB / 10.31 GB, free: 127.1 MB / 0.995 GB Notification: Performance of collectInitialBindings (initialization): time 0.01141/36.45, allocations: 2.113 MB / 10.31 GB, free: 127 MB / 0.995 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003013/36.45, allocations: 0 / 10.31 GB, free: 127 MB / 0.995 GB Notification: Performance of setup shared object (initialization): time 0.000791/36.45, allocations: 0.6421 MB / 10.31 GB, free: 126.7 MB / 0.995 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01434/36.46, allocations: 8.289 MB / 10.32 GB, free: 126.7 MB / 0.995 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0171/36.48, allocations: 11.06 MB / 10.33 GB, free: 123.4 MB / 0.995 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02118/36.5, allocations: 9.695 MB / 10.34 GB, free: 123.2 MB / 0.995 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001483/36.5, allocations: 12.91 kB / 10.34 GB, free: 123.2 MB / 0.995 GB Notification: Performance of matching and sorting (n=1102) (initialization): time 0.645/37.15, allocations: 133.8 MB / 10.47 GB, free: 113.1 MB / 0.995 GB Notification: Performance of prepare postOptimizeDAE: time 0.008069/37.16, allocations: 35.09 MB / 10.51 GB, free: 76.01 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003047/37.16, allocations: 54.27 kB / 10.51 GB, free: 76.01 MB / 0.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424/38.58, allocations: 161.2 MB / 10.66 GB, free: 126.3 MB / 0.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01592/38.6, allocations: 2.502 MB / 10.67 GB, free: 126.3 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1439/38.74, allocations: 67.35 MB / 10.73 GB, free: 119.2 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02412/38.76, allocations: 0.9246 MB / 10.73 GB, free: 119.2 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005185/38.77, allocations: 0.7992 MB / 10.73 GB, free: 119.2 MB / 0.995 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/38.77, allocations: 3.375 kB / 10.73 GB, free: 119.2 MB / 0.995 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.6345/39.4, allocations: 131.1 MB / 10.86 GB, free: 110 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002591/39.4, allocations: 47.66 kB / 10.86 GB, free: 110 MB / 0.995 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326/40.73, allocations: 161.2 MB / 11.02 GB, free: 125.8 MB / 0.995 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01339/40.74, allocations: 2.472 MB / 11.02 GB, free: 125.8 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1618/40.91, allocations: 68.39 MB / 11.09 GB, free: 123.2 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02299/40.93, allocations: 0.9 MB / 11.09 GB, free: 123.2 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005026/40.93, allocations: 0.7575 MB / 11.09 GB, free: 123.2 MB / 0.995 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.007417/40.94, allocations: 316.4 kB / 11.09 GB, free: 123.1 MB / 0.995 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.007629/40.95, allocations: 1.392 MB / 11.09 GB, free: 123.1 MB / 0.995 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2129/41.16, allocations: 58.11 MB / 11.15 GB, free: 116.1 MB / 0.995 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001903/41.16, allocations: 70.34 kB / 11.15 GB, free: 116.1 MB / 0.995 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.759e-05/41.16, allocations: 29.59 kB / 11.15 GB, free: 116.1 MB / 0.995 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1933/41.36, allocations: 52.02 MB / 11.2 GB, free: 109 MB / 0.995 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2351/41.59, allocations: 71.85 MB / 11.27 GB, free: 98.2 MB / 0.995 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.423e-05/41.59, allocations: 0 / 11.27 GB, free: 98.2 MB / 0.995 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00748/41.6, allocations: 1.165 MB / 11.27 GB, free: 97.32 MB / 0.995 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.2083/41.81, allocations: 66.79 MB / 11.34 GB, free: 42.04 MB / 0.995 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002533/41.81, allocations: 160.6 kB / 11.34 GB, free: 41.96 MB / 0.995 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6725/42.48, allocations: 26.45 MB / 11.36 GB, free: 124.9 MB / 0.995 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/42.48, allocations: 3.844 kB / 11.36 GB, free: 124.9 MB / 0.995 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.2029/42.68, allocations: 62.81 MB / 11.42 GB, free: 120.9 MB / 0.995 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.216/42.9, allocations: 72.68 MB / 11.49 GB, free: 112.6 MB / 0.995 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01449/42.92, allocations: 3.257 MB / 11.5 GB, free: 111.7 MB / 0.995 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00756/42.92, allocations: 81.27 kB / 11.5 GB, free: 111.7 MB / 0.995 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01768/42.94, allocations: 0.7779 MB / 11.5 GB, free: 111.6 MB / 0.995 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002735/42.94, allocations: 380.7 kB / 11.5 GB, free: 111.6 MB / 0.995 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001652/42.95, allocations: 272.4 kB / 11.5 GB, free: 111.6 MB / 0.995 GB Notification: Performance of sort global known variables: time 0.025/42.97, allocations: 10.26 MB / 11.51 GB, free: 111.2 MB / 0.995 GB Notification: Performance of remove unused functions: time 0.06048/43.03, allocations: 9.349 MB / 11.52 GB, free: 111.1 MB / 0.995 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.01053/43.04, allocations: 5.246 MB / 11.52 GB, free: 108.9 MB / 0.995 GB Notification: Performance of simCode: created initialization part: time 0.0782/43.12, allocations: 32.85 MB / 11.56 GB, free: 107.9 MB / 0.995 GB Notification: Performance of simCode: created event and clocks part: time 1.971e-05/43.12, allocations: 2.625 kB / 11.56 GB, free: 107.9 MB / 0.995 GB Notification: Performance of simCode: created simulation system equations: time 0.02286/43.14, allocations: 8.858 MB / 11.56 GB, free: 107.6 MB / 0.995 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.04273/43.19, allocations: 6.846 MB / 11.57 GB, free: 107.3 MB / 0.995 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08357/43.27, allocations: 27.59 MB / 11.6 GB, free: 102 MB / 0.995 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02281/43.29, allocations: 9.951 MB / 11.61 GB, free: 100.7 MB / 0.995 GB Notification: Performance of SimCode: time 1.062e-06/43.29, allocations: 5.594 kB / 11.61 GB, free: 100.7 MB / 0.995 GB Error: Error building simulator. Build log: make: Entering directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2/BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_FMU.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_FMU.c In file included from BuildingSystems_BuildingSystems_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); ^ BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_FMU.c:1114:9: error: unknown type name 'to' to set default values of constantHead and heads, and ^ BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_FMU.c:1114:15: error: expected ';' after top level declarator to set default values of constantHead and heads, and ^ ; BuildingSystems_BuildingSystems_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" ^ BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_FMU.c:6196: include/fmi2/fmu2_model_interface.c:382:3: warning: implicit declaration of function 'BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_FMU.c:6195:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_setupDataStruc ^ In file included from BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_FMU.c:6196: include/fmi2/fmu2_model_interface.c:580:5: warning: implicit declaration of function 'BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_setupDataStruc' is invalid in C99 [-Wimplicit-function-declaration] fmu2_model_interface_setupDataStruc(comp->fmuData); ^ BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_FMU.c:6195:45: note: expanded from macro 'fmu2_model_interface_setupDataStruc' #define fmu2_model_interface_setupDataStruc BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_setupDataStruc ^ 6 warnings and 2 errors generated. make: *** [: BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_FMU.o] Error 1 make: Leaving directory '/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/BuildingSystems_BuildingSystems.Fluid.Examples.FlowSystem.Simplified2/BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2.def BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2.a BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2.so BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_FMU.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_functions.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_records.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_01exo.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_02nls.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_03lsy.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_04set.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_05evt.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_06inz.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_07dly.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_08bnd.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_09alg.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_10asr.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_11mix.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_12jac.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_13opt.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_14lnz.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_15syn.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_16dae.o BuildingSystems_BuildingSystems_Fluid_Examples_FlowSystem_Simplified2_17inl.o BuildingSystems_BuildingSystems_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