Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json 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/IBPSA 4.0.0-master/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009215/0.0009216, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4868/0.4868, allocations: 90.91 MB / 99.35 MB, free: 2.23 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 221.5 MB / 343.2 MB, free: 1.566 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009816/0.0009814, allocations: 95.83 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.437e-05/1.44e-05, allocations: 4 kB / 494.6 MB, free: 52.32 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1599, allocations: 72.31 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.169/1.329, allocations: 405.1 MB / 0.9493 GB, free: 76.22 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/1.329, allocations: 91.02 kB / 0.9494 GB, free: 76.18 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.354/4.683, allocations: 0.9726 GB / 1.922 GB, free: 33.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/4.683, allocations: 0 / 1.922 GB, free: 33.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001642/4.683, allocations: 51.98 kB / 1.922 GB, free: 33.52 MB / 0.6198 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.003767/4.687, allocations: 2.242 MB / 1.924 GB, free: 31.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/4.687, allocations: 12.03 kB / 1.924 GB, free: 31.21 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005966/4.688, allocations: 261.9 kB / 1.924 GB, free: 30.96 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03144/4.719, allocations: 16.66 MB / 1.941 GB, free: 14.25 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/4.719, allocations: 40 kB / 1.941 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001602/4.72, allocations: 80 kB / 1.941 GB, free: 14.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001442/4.721, allocations: 0.8683 MB / 1.942 GB, free: 13.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001683/4.723, allocations: 1.215 MB / 1.943 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.805e-05/4.723, allocations: 11.84 kB / 1.943 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.631e-05/4.723, allocations: 7.953 kB / 1.943 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/4.723, allocations: 35.98 kB / 1.943 GB, free: 11.91 MB / 0.6198 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.00661/4.729, allocations: 7.787 MB / 1.951 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009582/4.73, allocations: 0.678 MB / 1.951 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003581/4.731, allocations: 339.7 kB / 1.951 GB, free: 2.441 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001595/4.732, allocations: 2.819 MB / 1.954 GB, free: 15 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/4.732, allocations: 47.34 kB / 1.954 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=83): time 3.587e-06/4.732, allocations: 3.844 kB / 1.954 GB, free: 14.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=83): time 0.002854/4.735, allocations: 0.9821 MB / 1.955 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.08e-05/4.735, allocations: 60.19 kB / 1.955 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001492/4.737, allocations: 1.18 MB / 1.956 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.058e-05/4.737, allocations: 25.7 kB / 1.956 GB, free: 12.67 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006666/4.738, allocations: 0.9422 MB / 1.957 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/4.738, allocations: 283.7 kB / 1.958 GB, free: 11.44 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.296e-05/4.738, allocations: 4 kB / 1.958 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001179/4.738, allocations: 349.9 kB / 1.958 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004215/4.738, allocations: 286.5 kB / 1.958 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006366/4.739, allocations: 0.6592 MB / 1.959 GB, free: 9.98 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002012/4.741, allocations: 0.6015 MB / 1.96 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/4.741, allocations: 4 kB / 1.96 GB, free: 9.375 MB / 0.6355 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003161/4.744, allocations: 1.295 MB / 1.961 GB, free: 8.066 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001278/4.746, allocations: 4.424 MB / 1.965 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.451e-05/4.746, allocations: 15.98 kB / 1.965 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/4.746, allocations: 20 kB / 1.965 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008243/4.747, allocations: 263.6 kB / 1.965 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.869e-05/4.747, allocations: 27.83 kB / 1.965 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/4.748, allocations: 158.7 kB / 1.966 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/4.748, allocations: 67.97 kB / 1.966 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 8.666e-06/4.748, allocations: 4 kB / 1.966 GB, free: 2.727 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002823/4.751, allocations: 1.085 MB / 1.967 GB, free: 1.641 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.68e-05/4.751, allocations: 19.98 kB / 1.967 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.203e-05/4.751, allocations: 24.16 kB / 1.967 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007701/4.752, allocations: 263.2 kB / 1.967 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.583e-05/4.752, allocations: 23.84 kB / 1.967 GB, free: 1.324 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/4.753, allocations: 139 kB / 1.967 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/4.753, allocations: 63.97 kB / 1.967 GB, free: 1.125 MB / 0.6355 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.00021/4.753, allocations: 144.5 kB / 1.967 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.393/5.146, allocations: 0.9764 MB / 1.968 GB, free: 56.88 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007766/5.147, allocations: 175.4 kB / 1.968 GB, free: 56.88 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00449/5.152, allocations: 1.688 MB / 1.97 GB, free: 56.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.384e-05/5.152, allocations: 20.5 kB / 1.97 GB, free: 56.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/5.152, allocations: 0.75 kB / 1.97 GB, free: 56.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002641/5.154, allocations: 1.163 MB / 1.971 GB, free: 56.61 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00712/5.162, allocations: 3.231 MB / 1.974 GB, free: 56.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.349e-05/5.162, allocations: 14.16 kB / 1.974 GB, free: 56.01 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007741/5.162, allocations: 209.1 kB / 1.975 GB, free: 56.01 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.087e-05/5.162, allocations: 10.41 kB / 1.975 GB, free: 56.01 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.434e-05/5.163, allocations: 30.33 kB / 1.975 GB, free: 56.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.757e-05/5.163, allocations: 12.39 kB / 1.975 GB, free: 56.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.44e-05/5.163, allocations: 12.92 kB / 1.975 GB, free: 56.01 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004359/5.167, allocations: 2.595 MB / 1.977 GB, free: 55.05 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009767/5.168, allocations: 442.9 kB / 1.978 GB, free: 54.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002291/5.168, allocations: 13.14 kB / 1.978 GB, free: 54.85 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009349/5.169, allocations: 75.58 kB / 1.978 GB, free: 54.85 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001593/5.169, allocations: 105.8 kB / 1.978 GB, free: 54.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001112/5.169, allocations: 62.44 kB / 1.978 GB, free: 54.84 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001335/5.171, allocations: 0.8765 MB / 1.979 GB, free: 54.73 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.21e-07/5.171, allocations: 0.875 kB / 1.979 GB, free: 54.73 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003132/5.174, allocations: 1.144 MB / 1.98 GB, free: 54.67 MB / 0.6355 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.005945/5.18, allocations: 5.944 MB / 1.986 GB, free: 51.45 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002299/5.182, allocations: 1.711 MB / 1.987 GB, free: 51.17 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/5.182, allocations: 3.875 kB / 1.987 GB, free: 51.17 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008221/5.183, allocations: 0.698 MB / 1.988 GB, free: 51.04 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00386/5.187, allocations: 0.7634 MB / 1.989 GB, free: 51.03 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008566/5.195, allocations: 3.898 MB / 1.993 GB, free: 50.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009961/5.197, allocations: 1.484 MB / 1.994 GB, free: 49.34 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002635/5.199, allocations: 0.6035 MB / 1.995 GB, free: 49.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008864/5.2, allocations: 0.8129 MB / 1.995 GB, free: 49.32 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/5.2, allocations: 0 / 1.995 GB, free: 49.32 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1017/5.302, allocations: 57.73 MB / 2.052 GB, free: 46.28 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001626/5.302, allocations: 178.2 kB / 2.052 GB, free: 46.08 MB / 0.6355 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:9: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c: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); ^~~~ include/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. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c:7: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c:551: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 */); ^ IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c:852: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 */); ^ IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c:1201: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 */); ^ IBPSA_latest_IBPSA_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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c:1: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_records.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_records.c:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ IBPSA_latest_IBPSA_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 */); ^ IBPSA_latest_IBPSA_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 */); ^ IBPSA_latest_IBPSA_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 */); ^ IBPSA_latest_IBPSA_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 */); ^ IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:7724: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 */); ^ IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:7750: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 */); ^ IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:7838: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 */); ^ IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:7864: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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.c:1: In file included from include/simulation_data.h:39: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.so IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Fluid/FixedResistances/Examples" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_756': IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0xabb): undefined reference to `spatialDistribution' /usr/bin/ld: IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_779': IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x1876): undefined reference to `spatialDistribution' /usr/bin/ld: IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_805': IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x209a): undefined reference to `spatialDistribution' /usr/bin/ld: IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_826': IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x2aa3): undefined reference to `spatialDistribution' /usr/bin/ld: IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o: in function `IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_52': IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0xbb1): undefined reference to `spatialDistribution' /usr/bin/ld: IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o:IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0xcc0): more undefined references to `spatialDistribution' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:44: nozip] Error 1