Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.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.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8364/0.8364, allocations: 143.4 MB / 158.3 MB, free: 5.75 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 177 kB / 191.5 MB, free: 5.734 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.644/1.644, allocations: 223.2 MB / 447.7 MB, free: 4.789 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 84.39 kB / 0.5187 GB, free: 1.152 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001731/0.00173, allocations: 270.4 kB / 0.6005 GB, free: 48.72 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005217/0.0005222, allocations: 14.88 kB / 0.6929 GB, free: 59.56 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1944, allocations: 82.8 MB / 0.7738 GB, free: 13.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.43/1.625, allocations: 412.8 MB / 1.177 GB, free: 265.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/1.625, allocations: 91.5 kB / 1.177 GB, free: 265.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.289/4.914, allocations: 0.9779 GB / 2.155 GB, free: 66.9 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.074e-06/4.914, allocations: 5.562 kB / 2.155 GB, free: 66.9 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0003675/4.914, allocations: 50.84 kB / 2.155 GB, free: 66.89 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.008936/4.923, allocations: 2.697 MB / 2.158 GB, free: 65.52 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/4.923, allocations: 8.719 kB / 2.158 GB, free: 65.52 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006793/4.924, allocations: 197.9 kB / 2.158 GB, free: 65.48 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/4.925, allocations: 262.9 kB / 2.158 GB, free: 65.36 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03697/4.962, allocations: 16.86 MB / 2.174 GB, free: 64.07 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/4.962, allocations: 102.7 kB / 2.175 GB, free: 64.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005161/4.963, allocations: 139.3 kB / 2.175 GB, free: 64.06 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003478/4.966, allocations: 1.445 MB / 2.176 GB, free: 63.79 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.809e-05/4.967, allocations: 7.875 kB / 2.176 GB, free: 63.79 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002075/4.967, allocations: 51.19 kB / 2.176 GB, free: 63.79 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.412e-05/4.967, allocations: 36.59 kB / 2.176 GB, free: 63.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002042/4.969, allocations: 1.013 MB / 2.177 GB, free: 63.76 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01023/4.979, allocations: 8.056 MB / 2.185 GB, free: 58.77 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001395/4.981, allocations: 0.7459 MB / 2.186 GB, free: 58.49 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001776/4.982, allocations: 2.819 MB / 2.189 GB, free: 55.26 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/4.982, allocations: 49.45 kB / 2.189 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=83): time 3.226e-06/4.982, allocations: 0 / 2.189 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of matching and sorting (n=83): time 0.002591/4.985, allocations: 1.466 MB / 2.19 GB, free: 54.38 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.424e-05/4.985, allocations: 66.39 kB / 2.19 GB, free: 54.31 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002437/4.988, allocations: 1.418 MB / 2.191 GB, free: 53.73 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/4.988, allocations: 41.64 kB / 2.192 GB, free: 53.68 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006465/4.988, allocations: 0.9329 MB / 2.192 GB, free: 52.95 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/4.989, allocations: 292.1 kB / 2.193 GB, free: 52.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.509e-05/4.989, allocations: 23.22 kB / 2.193 GB, free: 52.71 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.713e-05/4.989, allocations: 346.9 kB / 2.193 GB, free: 52.39 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005376/4.989, allocations: 333.6 kB / 2.193 GB, free: 52.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006953/4.99, allocations: 0.7115 MB / 2.194 GB, free: 51.67 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007029/4.991, allocations: 449.4 kB / 2.195 GB, free: 51.46 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/4.991, allocations: 0 / 2.195 GB, free: 51.46 MB / 0.7136 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002311/4.993, allocations: 1.266 MB / 2.196 GB, free: 50.94 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.001017/4.994, allocations: 4.464 MB / 2.2 GB, free: 46.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.306e-05/4.994, allocations: 15.75 kB / 2.2 GB, free: 46.18 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.736e-05/4.994, allocations: 18.28 kB / 2.2 GB, free: 46.18 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008449/4.995, allocations: 269.5 kB / 2.2 GB, free: 46.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.375e-05/4.995, allocations: 28.72 kB / 2.2 GB, free: 46.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001983/4.997, allocations: 194.3 kB / 2.201 GB, free: 46.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001677/4.997, allocations: 72.11 kB / 2.201 GB, free: 46.04 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/4.997, allocations: 4.188 kB / 2.201 GB, free: 46.04 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00184/4.999, allocations: 1.06 MB / 2.202 GB, free: 45.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.779e-05/4.999, allocations: 20.66 kB / 2.202 GB, free: 45.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/4.999, allocations: 16.44 kB / 2.202 GB, free: 45.63 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000755/5, allocations: 265.1 kB / 2.202 GB, free: 45.6 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.579e-05/5, allocations: 22.84 kB / 2.202 GB, free: 45.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/5.002, allocations: 181.2 kB / 2.202 GB, free: 45.51 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001444/5.002, allocations: 64.09 kB / 2.202 GB, free: 45.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001038/5.003, allocations: 484.1 kB / 2.203 GB, free: 45.14 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005203/5.003, allocations: 188 kB / 2.203 GB, free: 45.04 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/5.007, allocations: 1.715 MB / 2.205 GB, free: 44.35 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.799e-05/5.007, allocations: 27.25 kB / 2.205 GB, free: 44.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/5.007, allocations: 0 / 2.205 GB, free: 44.34 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001557/5.008, allocations: 1.161 MB / 2.206 GB, free: 43.69 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006393/5.015, allocations: 3.447 MB / 2.209 GB, free: 41.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.992e-05/5.015, allocations: 9.25 kB / 2.209 GB, free: 41.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006949/5.016, allocations: 207.7 kB / 2.209 GB, free: 41.29 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.037e-05/5.016, allocations: 11.53 kB / 2.209 GB, free: 41.29 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.53e-05/5.016, allocations: 39.14 kB / 2.209 GB, free: 41.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-05/5.016, allocations: 15.77 kB / 2.209 GB, free: 41.26 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/5.016, allocations: 11.56 kB / 2.209 GB, free: 41.26 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003429/5.019, allocations: 2.672 MB / 2.212 GB, free: 39.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/5.021, allocations: 451.4 kB / 2.212 GB, free: 38.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006194/5.021, allocations: 38.62 kB / 2.212 GB, free: 38.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/5.023, allocations: 98.36 kB / 2.213 GB, free: 38.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/5.023, allocations: 112.5 kB / 2.213 GB, free: 38.74 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/5.023, allocations: 57.16 kB / 2.213 GB, free: 38.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002125/5.025, allocations: 1.079 MB / 2.214 GB, free: 38.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/5.025, allocations: 0 / 2.214 GB, free: 38.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004736/5.03, allocations: 1.187 MB / 2.215 GB, free: 37.78 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006144/5.036, allocations: 5.995 MB / 2.221 GB, free: 33.24 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002972/5.039, allocations: 1.842 MB / 2.223 GB, free: 31.35 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.185e-06/5.039, allocations: 0 / 2.223 GB, free: 31.35 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009932/5.04, allocations: 0.7573 MB / 2.223 GB, free: 30.57 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004569/5.045, allocations: 0.9004 MB / 2.224 GB, free: 29.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/5.059, allocations: 13.53 MB / 2.237 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001219/5.06, allocations: 1.471 MB / 2.239 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002685/5.063, allocations: 0.5276 MB / 2.239 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/5.064, allocations: 0.8578 MB / 2.24 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of SimCode: time 1.322e-06/5.064, allocations: 0 / 2.24 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5855/5.649, allocations: 64.34 MB / 2.303 GB, free: 75.98 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001731/5.65, allocations: 232.6 kB / 2.303 GB, free: 75.75 MB / 0.7292 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:7: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:573:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[103] /* pip.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pip.timDel.x STATE(1) */, 1, tmp14, tmp15 ,&data->localData[0]->realVars[102] /* pip.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:877:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[98] /* pip.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[93] /* pip.port_a.h_outflow variable */, data->localData[0]->realVars[94] /* pip.port_b.h_outflow variable */, (0.01) * (data->localData[0]->realVars[0] /* pip.del.x STATE(1,pip.v) */), tmp22, tmp23, tmp24 ,&data->localData[0]->realVars[75] /* pip.del.port_b.h_outflow variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:1231:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[173] /* pipNoMix.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipNoMix.timDel.x STATE(1,pipNoMix.timDel.u) */, tmp35, tmp36, tmp37 ,&data->localData[0]->realVars[172] /* pipNoMix.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:1518:84: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[168] /* pipNoMix.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[211] /* souNoMix.ports[1].h_outflow variable */, data->localData[0]->realVars[202] /* sin.ports[2].h_outflow variable */, (0.01) * (data->localData[0]->realVars[4] /* pipNoMix.del.x STATE(1,pipNoMix.v) */), tmp46, tmp47, tmp48 ,&data->localData[0]->realVars[144] /* pipNoMix.del.port_b.h_outflow variable */); ^ 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_records.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:564:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[173] /* pipNoMix.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipNoMix.timDel.x STATE(1,pipNoMix.timDel.u) */, tmp3, tmp4, tmp5 ,&data->localData[0]->realVars[172] /* pipNoMix.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:601:84: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[168] /* pipNoMix.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[211] /* souNoMix.ports[1].h_outflow variable */, data->localData[0]->realVars[202] /* sin.ports[2].h_outflow variable */, (0.01) * (data->localData[0]->realVars[4] /* pipNoMix.del.x STATE(1,pipNoMix.v) */), tmp6, tmp7, tmp8 ,&data->localData[0]->realVars[144] /* pipNoMix.del.port_b.h_outflow variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:964:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[103] /* pip.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pip.timDel.x STATE(1) */, tmp9, tmp10, tmp11 ,&data->localData[0]->realVars[102] /* pip.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:1001:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[98] /* pip.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[93] /* pip.port_a.h_outflow variable */, data->localData[0]->realVars[94] /* pip.port_b.h_outflow variable */, (0.01) * (data->localData[0]->realVars[0] /* pip.del.x STATE(1,pip.v) */), tmp12, tmp13, tmp14 ,&data->localData[0]->realVars[75] /* pip.del.port_b.h_outflow variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2116:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[173] /* pipNoMix.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipNoMix.timDel.x STATE(1,pipNoMix.timDel.u) */, tmp0, tmp1, tmp2 ,&data->localData[0]->realVars[172] /* pipNoMix.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2142:84: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[168] /* pipNoMix.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[211] /* souNoMix.ports[1].h_outflow variable */, data->localData[0]->realVars[202] /* sin.ports[2].h_outflow variable */, (0.01) * (data->localData[0]->realVars[4] /* pipNoMix.del.x STATE(1,pipNoMix.v) */), tmp3, tmp4, tmp5 ,&data->localData[0]->realVars[144] /* pipNoMix.del.port_b.h_outflow variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2230:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[103] /* pip.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pip.timDel.x STATE(1) */, tmp6, tmp7, tmp8 ,&data->localData[0]->realVars[102] /* pip.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2256:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[98] /* pip.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[93] /* pip.port_a.h_outflow variable */, data->localData[0]->realVars[94] /* pip.port_b.h_outflow variable */, (0.01) * (data->localData[0]->realVars[0] /* pip.del.x STATE(1,pip.v) */), tmp9, tmp10, tmp11 ,&data->localData[0]->realVars[75] /* pip.del.port_b.h_outflow variable */); ^ 10 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.c:1: In file included from ./simulation_data.h:39: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:55: ./fmi-export/fmu2_model_interface.c.inc:79:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:168:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.so BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Fluid/FixedResistances/Examples" -Wl,-Bstatic "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library" -lModelicaExternalC -Wl,-Bdynamic -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -Wl,--no-as-needed -Wl,--disable-new-dtags -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_328': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0xacb): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_351': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x1890): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_377': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x20c0): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_398': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x2ad4): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_52': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0xbc4): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o:BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0xcda): more undefined references to `spatialDistribution' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:58: nozip] Error 1