Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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) 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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.785/2.785, allocations: 393.5 MB / 408.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001571/0.00157, allocations: 186.8 kB / 0.4901 GB, free: 2.254 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.713/1.713, allocations: 223.1 MB / 0.7992 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 101.2 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000374/0.0003743, allocations: 13.16 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3338/0.3342, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.137/1.471, allocations: 454.5 MB / 1.673 GB, free: 8.121 MB / 0.9948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/1.472, allocations: 98.55 kB / 1.673 GB, free: 8.07 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.53/5.002, allocations: 0.9802 GB / 2.653 GB, free: 103.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.467e-06/5.002, allocations: 0 / 2.653 GB, free: 103.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003852/5.002, allocations: 55.97 kB / 2.653 GB, free: 103.4 MB / 1.167 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.01018/5.012, allocations: 2.71 MB / 2.656 GB, free: 100.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/5.012, allocations: 8.031 kB / 2.656 GB, free: 100.7 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009213/5.013, allocations: 206.6 kB / 2.656 GB, free: 100.4 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001667/5.015, allocations: 261 kB / 2.657 GB, free: 100.2 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04016/5.055, allocations: 16.87 MB / 2.673 GB, free: 83.27 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001675/5.055, allocations: 106.7 kB / 2.673 GB, free: 83.16 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006311/5.056, allocations: 139.9 kB / 2.673 GB, free: 83.02 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004402/5.061, allocations: 1.438 MB / 2.675 GB, free: 81.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.331e-05/5.061, allocations: 11.98 kB / 2.675 GB, free: 81.48 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002989/5.061, allocations: 52 kB / 2.675 GB, free: 81.43 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.874e-05/5.061, allocations: 43.95 kB / 2.675 GB, free: 81.39 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002515/5.064, allocations: 1.009 MB / 2.676 GB, free: 80.38 MB / 1.167 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.01475/5.078, allocations: 8.052 MB / 2.684 GB, free: 71.65 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001659/5.08, allocations: 0.7534 MB / 2.684 GB, free: 70.89 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002054/5.082, allocations: 2.818 MB / 2.687 GB, free: 67.45 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/5.082, allocations: 43.97 kB / 2.687 GB, free: 67.39 MB / 1.167 GB Notification: Performance of pre-optimization done (n=83): time 3.617e-06/5.082, allocations: 0 / 2.687 GB, free: 67.39 MB / 1.167 GB Notification: Performance of matching and sorting (n=83): time 0.00287/5.085, allocations: 1.473 MB / 2.689 GB, free: 65.84 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/5.085, allocations: 60.06 kB / 2.689 GB, free: 65.77 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003201/5.088, allocations: 1.417 MB / 2.69 GB, free: 64.32 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001496/5.089, allocations: 45.64 kB / 2.69 GB, free: 64.27 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008339/5.089, allocations: 0.9441 MB / 2.691 GB, free: 63.32 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003306/5.09, allocations: 299.7 kB / 2.691 GB, free: 63.02 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/5.09, allocations: 20 kB / 2.691 GB, free: 63 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001237/5.09, allocations: 357.9 kB / 2.692 GB, free: 62.64 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/5.091, allocations: 326.4 kB / 2.692 GB, free: 62.32 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008069/5.091, allocations: 0.7111 MB / 2.693 GB, free: 61.44 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007756/5.092, allocations: 454.7 kB / 2.693 GB, free: 61 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/5.092, allocations: 7.938 kB / 2.693 GB, free: 60.99 MB / 1.167 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002653/5.095, allocations: 1.261 MB / 2.694 GB, free: 59.72 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.001146/5.096, allocations: 4.466 MB / 2.699 GB, free: 54.92 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-05/5.096, allocations: 12 kB / 2.699 GB, free: 54.91 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.415e-05/5.096, allocations: 20 kB / 2.699 GB, free: 54.89 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008631/5.097, allocations: 259.5 kB / 2.699 GB, free: 54.63 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.938e-05/5.097, allocations: 27.92 kB / 2.699 GB, free: 54.61 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/5.1, allocations: 198.6 kB / 2.699 GB, free: 54.41 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000224/5.1, allocations: 63.97 kB / 2.699 GB, free: 54.35 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/5.1, allocations: 4 kB / 2.699 GB, free: 54.34 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002118/5.102, allocations: 1.062 MB / 2.7 GB, free: 53.29 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.378e-05/5.102, allocations: 20.67 kB / 2.7 GB, free: 53.27 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.47e-05/5.102, allocations: 16 kB / 2.7 GB, free: 53.25 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008125/5.103, allocations: 267.6 kB / 2.701 GB, free: 52.99 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.611e-05/5.103, allocations: 19.94 kB / 2.701 GB, free: 52.97 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002271/5.105, allocations: 174.7 kB / 2.701 GB, free: 52.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001833/5.105, allocations: 67.97 kB / 2.701 GB, free: 52.73 MB / 1.167 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.001387/5.107, allocations: 484.6 kB / 2.701 GB, free: 52.25 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007178/5.108, allocations: 185.8 kB / 2.701 GB, free: 52.06 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003374/5.111, allocations: 1.717 MB / 2.703 GB, free: 50.34 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.86e-05/5.111, allocations: 19.98 kB / 2.703 GB, free: 50.32 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.117e-05/5.111, allocations: 0 / 2.703 GB, free: 50.32 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001523/5.113, allocations: 1.17 MB / 2.704 GB, free: 49.13 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006987/5.12, allocations: 3.45 MB / 2.708 GB, free: 45.52 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/5.12, allocations: 8 kB / 2.708 GB, free: 45.51 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007256/5.12, allocations: 208.5 kB / 2.708 GB, free: 45.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-05/5.12, allocations: 12 kB / 2.708 GB, free: 45.29 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/5.121, allocations: 35.98 kB / 2.708 GB, free: 45.26 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-05/5.121, allocations: 15.98 kB / 2.708 GB, free: 45.24 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/5.121, allocations: 11.94 kB / 2.708 GB, free: 45.23 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003967/5.125, allocations: 2.685 MB / 2.711 GB, free: 42.23 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001454/5.126, allocations: 458.1 kB / 2.711 GB, free: 41.76 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006705/5.127, allocations: 35.92 kB / 2.711 GB, free: 41.73 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001613/5.128, allocations: 103.6 kB / 2.711 GB, free: 41.62 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001947/5.129, allocations: 108.7 kB / 2.711 GB, free: 41.52 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/5.129, allocations: 55.97 kB / 2.711 GB, free: 41.46 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00274/5.131, allocations: 1.091 MB / 2.712 GB, free: 40.35 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.71e-07/5.131, allocations: 0 / 2.712 GB, free: 40.35 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.006309/5.138, allocations: 1.174 MB / 2.713 GB, free: 39.18 MB / 1.167 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.007097/5.145, allocations: 6.008 MB / 2.719 GB, free: 33.05 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003113/5.148, allocations: 1.832 MB / 2.721 GB, free: 31.18 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/5.148, allocations: 4 kB / 2.721 GB, free: 31.17 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0009479/5.149, allocations: 0.7472 MB / 2.722 GB, free: 30.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004986/5.154, allocations: 0.9063 MB / 2.723 GB, free: 29.52 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01481/5.169, allocations: 13.53 MB / 2.736 GB, free: 15.68 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00132/5.17, allocations: 1.479 MB / 2.737 GB, free: 14.16 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002715/5.173, allocations: 0.5344 MB / 2.738 GB, free: 13.66 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/5.174, allocations: 0.8507 MB / 2.739 GB, free: 12.81 MB / 1.167 GB Notification: Performance of SimCode: time 1.693e-06/5.174, allocations: 0 / 2.739 GB, free: 12.81 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8784/6.053, allocations: 64.4 MB / 2.802 GB, free: 169.9 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000175/6.053, allocations: 231.3 kB / 2.802 GB, free: 169.6 MB / 1.182 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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c:7: In file included from ./Buildings_latest_Buildings_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); ^ Buildings_latest_Buildings_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 */); ^ Buildings_latest_Buildings_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 */); ^ Buildings_latest_Buildings_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 */); ^ Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_records.c In file included from Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2: In file included from ./Buildings_latest_Buildings_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); ^ Buildings_latest_Buildings_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 */); ^ Buildings_latest_Buildings_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 */); ^ Buildings_latest_Buildings_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 */); ^ Buildings_latest_Buildings_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 */); ^ Buildings_latest_Buildings_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 */); ^ Buildings_latest_Buildings_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 */); ^ Buildings_latest_Buildings_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 */); ^ Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c:2: In file included from ./Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.c In file included from Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c In file included from Buildings_latest_Buildings_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 Buildings_latest_Buildings_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 Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.so Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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: Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_328': Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0xacb): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_351': Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x1890): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_377': Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x20c0): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_398': Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x2ad4): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o: in function `Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_52': Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0xbc4): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_latest_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o:Buildings_latest_Buildings_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