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.6988/0.6988, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009767/0.0009767, allocations: 185.2 kB / 187.3 MB, free: 11.86 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.245/1.245, allocations: 221.3 MB / 441.4 MB, free: 4.59 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.0008151/0.0008151, allocations: 104.9 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001655/0.001655, allocations: 273.5 kB / 0.5939 GB, free: 7.957 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.202e-05/3.213e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3265/0.3265, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6526/0.9791, allocations: 412.8 MB / 1.167 GB, free: 10.62 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001964/0.9793, allocations: 93.94 kB / 1.168 GB, free: 10.58 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.028/4.007, allocations: 0.9749 GB / 2.142 GB, free: 73.01 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.224e-06/4.007, allocations: 1.219 kB / 2.142 GB, free: 73.01 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002301/4.008, allocations: 52.91 kB / 2.142 GB, free: 73 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.004534/4.012, allocations: 2.236 MB / 2.145 GB, free: 71.81 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.065e-05/4.012, allocations: 9.938 kB / 2.145 GB, free: 71.81 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004288/4.013, allocations: 201 kB / 2.145 GB, free: 71.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008373/4.013, allocations: 258.8 kB / 2.145 GB, free: 71.64 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0321/4.046, allocations: 16.71 MB / 2.161 GB, free: 70.43 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.41e-05/4.046, allocations: 103.6 kB / 2.162 GB, free: 70.43 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003433/4.046, allocations: 145.1 kB / 2.162 GB, free: 70.42 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/4.049, allocations: 1.403 MB / 2.163 GB, free: 70.16 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.062e-05/4.049, allocations: 0 / 2.163 GB, free: 70.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/4.049, allocations: 58.47 kB / 2.163 GB, free: 70.16 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.693e-05/4.049, allocations: 41.19 kB / 2.163 GB, free: 70.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001572/4.05, allocations: 0.947 MB / 2.164 GB, free: 70.13 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.007378/4.058, allocations: 8.066 MB / 2.172 GB, free: 65.23 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001095/4.059, allocations: 0.7126 MB / 2.173 GB, free: 65.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000422/4.059, allocations: 356.7 kB / 2.173 GB, free: 65.19 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001689/4.061, allocations: 2.824 MB / 2.176 GB, free: 62 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/4.061, allocations: 43.94 kB / 2.176 GB, free: 61.96 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=83): time 3.106e-06/4.061, allocations: 0 / 2.176 GB, free: 61.96 MB / 0.7136 GB Notification: Performance of matching and sorting (n=83): time 0.001588/4.063, allocations: 0.8311 MB / 2.177 GB, free: 61.8 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.219e-05/4.063, allocations: 63.5 kB / 2.177 GB, free: 61.74 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001752/4.064, allocations: 1.378 MB / 2.178 GB, free: 61.17 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.489e-05/4.065, allocations: 48.64 kB / 2.178 GB, free: 61.12 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000559/4.065, allocations: 0.9357 MB / 2.179 GB, free: 60.38 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002043/4.065, allocations: 304.2 kB / 2.179 GB, free: 60.15 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/4.065, allocations: 20.84 kB / 2.179 GB, free: 60.14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.992e-05/4.066, allocations: 350.8 kB / 2.18 GB, free: 59.81 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005023/4.066, allocations: 306.2 kB / 2.18 GB, free: 59.71 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006349/4.067, allocations: 0.6935 MB / 2.181 GB, free: 59.09 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006374/4.067, allocations: 422.6 kB / 2.181 GB, free: 58.93 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.462e-06/4.067, allocations: 3.125 kB / 2.181 GB, free: 58.93 MB / 0.7136 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001881/4.069, allocations: 1.207 MB / 2.182 GB, free: 58.44 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007506/4.07, allocations: 4.457 MB / 2.186 GB, free: 53.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.098e-05/4.07, allocations: 14.88 kB / 2.186 GB, free: 53.69 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.951e-05/4.07, allocations: 21.41 kB / 2.187 GB, free: 53.69 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009115/4.071, allocations: 264.6 kB / 2.187 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.427e-05/4.071, allocations: 25.72 kB / 2.187 GB, free: 53.66 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001535/4.073, allocations: 201.3 kB / 2.187 GB, free: 53.56 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/4.073, allocations: 65.53 kB / 2.187 GB, free: 53.55 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/4.073, allocations: 8.719 kB / 2.187 GB, free: 53.55 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001775/4.074, allocations: 1.007 MB / 2.188 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.151e-05/4.075, allocations: 17.67 kB / 2.188 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.29e-05/4.075, allocations: 27.7 kB / 2.188 GB, free: 53.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008922/4.075, allocations: 255.9 kB / 2.188 GB, free: 53.14 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.218e-05/4.075, allocations: 25.64 kB / 2.188 GB, free: 53.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001639/4.077, allocations: 174.2 kB / 2.189 GB, free: 53.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/4.077, allocations: 65.16 kB / 2.189 GB, free: 53.05 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 () * 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.0002942/4.078, allocations: 182.3 kB / 2.189 GB, free: 52.88 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003023/4.078, allocations: 185.5 kB / 2.189 GB, free: 52.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003067/4.081, allocations: 1.676 MB / 2.191 GB, free: 52.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.277e-05/4.081, allocations: 23.72 kB / 2.191 GB, free: 52.18 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/4.081, allocations: 0 / 2.191 GB, free: 52.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/4.082, allocations: 1.11 MB / 2.192 GB, free: 51.68 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004077/4.086, allocations: 3.396 MB / 2.195 GB, free: 50 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.93e-05/4.086, allocations: 9.562 kB / 2.195 GB, free: 50 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/4.087, allocations: 201.3 kB / 2.195 GB, free: 49.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.236e-05/4.087, allocations: 16.31 kB / 2.195 GB, free: 49.98 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.215e-05/4.087, allocations: 42.61 kB / 2.195 GB, free: 49.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/4.087, allocations: 14 kB / 2.195 GB, free: 49.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/4.087, allocations: 11.59 kB / 2.195 GB, free: 49.96 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002254/4.089, allocations: 2.602 MB / 2.198 GB, free: 48.19 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000673/4.09, allocations: 455.5 kB / 2.198 GB, free: 47.88 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001998/4.09, allocations: 35.31 kB / 2.198 GB, free: 47.86 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008613/4.091, allocations: 103 kB / 2.198 GB, free: 47.83 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/4.091, allocations: 108.5 kB / 2.198 GB, free: 47.8 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.391e-05/4.091, allocations: 58.94 kB / 2.199 GB, free: 47.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001126/4.092, allocations: 1.055 MB / 2.2 GB, free: 47.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.1e-07/4.092, allocations: 0 / 2.2 GB, free: 47.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002463/4.095, allocations: 1.172 MB / 2.201 GB, free: 47.02 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 () * 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.004137/4.099, allocations: 5.946 MB / 2.207 GB, free: 42.86 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002079/4.101, allocations: 1.823 MB / 2.208 GB, free: 42 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/4.101, allocations: 0 / 2.208 GB, free: 42 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00068/4.102, allocations: 0.7339 MB / 2.209 GB, free: 41.29 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003607/4.106, allocations: 0.891 MB / 2.21 GB, free: 40.63 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006889/4.112, allocations: 4.018 MB / 2.214 GB, free: 37.07 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006369/4.113, allocations: 1.476 MB / 2.215 GB, free: 35.86 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002216/4.115, allocations: 0.6539 MB / 2.216 GB, free: 35.36 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007106/4.116, allocations: 0.8194 MB / 2.217 GB, free: 34.54 MB / 0.7136 GB Notification: Performance of SimCode: time 6.21e-07/4.116, allocations: 4 kB / 2.217 GB, free: 34.53 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4583/4.574, allocations: 69.26 MB / 2.284 GB, free: 87.03 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001389/4.574, allocations: 210.8 kB / 2.285 GB, free: 86.8 MB / 0.7292 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:563: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:861: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:1205: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:1484: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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:8192: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) */, tmp16, tmp17, tmp18 ,&data->localData[0]->realVars[172] /* pipNoMix.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:8218: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) */), tmp19, tmp20, tmp21 ,&data->localData[0]->realVars[144] /* pipNoMix.del.port_b.h_outflow variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:8306: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) */, tmp22, tmp23, tmp24 ,&data->localData[0]->realVars[102] /* pip.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:8332: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) */), tmp25, tmp26, tmp27 ,&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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221: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:54: ./fmi-export/fmu2_model_interface.c.inc:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:162: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_792': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0xb20): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_815': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x1918): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_841': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x219d): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_862': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x2bf6): 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:32: nozip] Error 1