Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_dev_IDEAS_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.001696/0.001696, allocations: 172.5 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.2/1.2, allocations: 133.6 MB / 141.6 MB, free: 2.875 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.627/2.627, allocations: 221.5 MB / 395.4 MB, free: 10.78 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.001291/0.001291, allocations: 98.2 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 4.636e-05/4.676e-05, allocations: 4 kB / 0.5535 GB, free: 8.957 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7846/0.7846, allocations: 82.31 MB / 0.6339 GB, free: 40.73 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.289/2.074, allocations: 414.8 MB / 1.039 GB, free: 3.133 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/2.074, allocations: 88.39 kB / 1.039 GB, free: 3.09 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.222/8.296, allocations: 0.9707 GB / 2.01 GB, free: 71.81 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/8.296, allocations: 3.156 kB / 2.01 GB, free: 71.81 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.000293/8.296, allocations: 58.72 kB / 2.01 GB, free: 71.8 MB / 0.698 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.007641/8.304, allocations: 2.251 MB / 2.012 GB, free: 70.64 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/8.304, allocations: 11.03 kB / 2.012 GB, free: 70.64 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001569/8.306, allocations: 254.3 kB / 2.012 GB, free: 70.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05009/8.356, allocations: 16.67 MB / 2.029 GB, free: 69.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.156e-05/8.356, allocations: 50.92 kB / 2.029 GB, free: 69.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003506/8.356, allocations: 83.75 kB / 2.029 GB, free: 69.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002583/8.359, allocations: 0.8684 MB / 2.03 GB, free: 69.31 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002859/8.362, allocations: 1.215 MB / 2.031 GB, free: 69.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.364e-05/8.362, allocations: 0 / 2.031 GB, free: 69.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001559/8.362, allocations: 8.844 kB / 2.031 GB, free: 69.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-05/8.362, allocations: 41.38 kB / 2.031 GB, free: 69.05 MB / 0.698 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.01173/8.374, allocations: 7.771 MB / 2.038 GB, free: 64.25 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001643/8.376, allocations: 0.6863 MB / 2.039 GB, free: 64.21 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000629/8.376, allocations: 334 kB / 2.039 GB, free: 64.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002275/8.379, allocations: 2.818 MB / 2.042 GB, free: 61.02 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/8.379, allocations: 44.62 kB / 2.042 GB, free: 60.98 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 4.909e-06/8.379, allocations: 0 / 2.042 GB, free: 60.98 MB / 0.698 GB Notification: Performance of matching and sorting (n=83): time 0.004783/8.383, allocations: 0.9835 MB / 2.043 GB, free: 60.83 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/8.383, allocations: 65.27 kB / 2.043 GB, free: 60.77 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/8.386, allocations: 1.184 MB / 2.044 GB, free: 60.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001475/8.386, allocations: 33.45 kB / 2.044 GB, free: 60.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008382/8.387, allocations: 0.9322 MB / 2.045 GB, free: 60.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003494/8.387, allocations: 298.1 kB / 2.046 GB, free: 60.02 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.703e-05/8.387, allocations: 0 / 2.046 GB, free: 60.02 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001012/8.387, allocations: 348.6 kB / 2.046 GB, free: 59.71 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006218/8.388, allocations: 284 kB / 2.046 GB, free: 59.71 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008666/8.389, allocations: 0.654 MB / 2.047 GB, free: 59.14 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003439/8.392, allocations: 0.6058 MB / 2.047 GB, free: 58.95 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.377e-05/8.392, allocations: 2.688 kB / 2.047 GB, free: 58.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.005512/8.398, allocations: 1.29 MB / 2.049 GB, free: 58.51 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001055/8.399, allocations: 4.425 MB / 2.053 GB, free: 53.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-05/8.399, allocations: 23.92 kB / 2.053 GB, free: 53.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.993e-05/8.399, allocations: 18.16 kB / 2.053 GB, free: 53.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00129/8.4, allocations: 258.5 kB / 2.053 GB, free: 53.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.038e-05/8.401, allocations: 28.95 kB / 2.053 GB, free: 53.72 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002498/8.403, allocations: 160.7 kB / 2.053 GB, free: 53.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002234/8.403, allocations: 66.12 kB / 2.054 GB, free: 53.64 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/8.403, allocations: 5.062 kB / 2.054 GB, free: 53.64 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004734/8.408, allocations: 1.086 MB / 2.055 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-05/8.408, allocations: 14.19 kB / 2.055 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.889e-05/8.408, allocations: 16.69 kB / 2.055 GB, free: 53.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/8.409, allocations: 263.5 kB / 2.055 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.573e-05/8.409, allocations: 24.03 kB / 2.055 GB, free: 53.29 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002366/8.412, allocations: 131.2 kB / 2.055 GB, free: 53.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002119/8.412, allocations: 66.88 kB / 2.055 GB, free: 53.22 MB / 0.698 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.0004004/8.412, allocations: 146 kB / 2.055 GB, free: 53.09 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005158/8.418, allocations: 0.9795 MB / 2.056 GB, free: 52.75 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004234/8.418, allocations: 177 kB / 2.056 GB, free: 52.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005686/8.424, allocations: 1.697 MB / 2.058 GB, free: 52.11 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.181e-05/8.424, allocations: 21.97 kB / 2.058 GB, free: 52.1 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/8.424, allocations: 3.906 kB / 2.058 GB, free: 52.1 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003578/8.428, allocations: 1.159 MB / 2.059 GB, free: 51.63 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009984/8.438, allocations: 3.236 MB / 2.062 GB, free: 50.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.771e-05/8.438, allocations: 11.19 kB / 2.062 GB, free: 50.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001102/8.439, allocations: 200.2 kB / 2.063 GB, free: 50.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.327e-05/8.439, allocations: 13.31 kB / 2.063 GB, free: 50.06 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/8.439, allocations: 29.02 kB / 2.063 GB, free: 50.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.574e-05/8.439, allocations: 22.25 kB / 2.063 GB, free: 50.05 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.125e-05/8.439, allocations: 6.438 kB / 2.063 GB, free: 50.05 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006323/8.445, allocations: 2.592 MB / 2.065 GB, free: 48.42 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001758/8.447, allocations: 444.5 kB / 2.066 GB, free: 48.12 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005694/8.448, allocations: 6.906 kB / 2.066 GB, free: 48.12 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/8.449, allocations: 80.19 kB / 2.066 GB, free: 48.1 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002204/8.45, allocations: 102.4 kB / 2.066 GB, free: 48.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/8.45, allocations: 65.06 kB / 2.066 GB, free: 48.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.00195/8.452, allocations: 0.8783 MB / 2.067 GB, free: 47.68 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.5e-07/8.452, allocations: 3.938 kB / 2.067 GB, free: 47.67 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.006197/8.458, allocations: 1.137 MB / 2.068 GB, free: 47.4 MB / 0.698 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.009534/8.468, allocations: 5.953 MB / 2.074 GB, free: 43.27 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003798/8.471, allocations: 1.714 MB / 2.075 GB, free: 42.48 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/8.471, allocations: 2.562 kB / 2.075 GB, free: 42.48 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001318/8.473, allocations: 0.6983 MB / 2.076 GB, free: 42.13 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006305/8.479, allocations: 0.7678 MB / 2.077 GB, free: 41.95 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/8.493, allocations: 3.887 MB / 2.08 GB, free: 39.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001207/8.494, allocations: 1.479 MB / 2.082 GB, free: 37.57 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004255/8.498, allocations: 0.6123 MB / 2.083 GB, free: 37.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001741/8.5, allocations: 0.8156 MB / 2.083 GB, free: 36.19 MB / 0.698 GB Notification: Performance of SimCode: time 1.863e-06/8.5, allocations: 0 / 2.083 GB, free: 36.19 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9143/9.414, allocations: 57.7 MB / 2.14 GB, free: 81.5 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002335/9.415, allocations: 166.1 kB / 2.14 GB, free: 81.31 MB / 0.7136 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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c In file included from IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:7: In file included from ./IDEAS_dev_IDEAS_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); ^ IDEAS_dev_IDEAS_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 */); ^ IDEAS_dev_IDEAS_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 */); ^ IDEAS_dev_IDEAS_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 */); ^ IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c:1: In file included from ./IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_records.c In file included from IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c:2: In file included from ./IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c:2: In file included from ./IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c:2: In file included from ./IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c:2: In file included from ./IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c:2: In file included from ./IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2: In file included from ./IDEAS_dev_IDEAS_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); ^ IDEAS_dev_IDEAS_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 */); ^ IDEAS_dev_IDEAS_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 */); ^ IDEAS_dev_IDEAS_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 */); ^ IDEAS_dev_IDEAS_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 */); ^ IDEAS_dev_IDEAS_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 */); ^ IDEAS_dev_IDEAS_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 */); ^ IDEAS_dev_IDEAS_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 */); ^ IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c:2: In file included from ./IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c:2: In file included from ./IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c:2: In file included from ./IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c:2: In file included from ./IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c:2: In file included from ./IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c:2: In file included from ./IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c:2: In file included from ./IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c:2: In file included from ./IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c:2: In file included from ./IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c:2: In file included from ./IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c:2: In file included from ./IDEAS_dev_IDEAS_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=IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.c In file included from IDEAS_dev_IDEAS_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 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.so IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_756': IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0xabb): undefined reference to `spatialDistribution' /usr/bin/ld: IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_779': IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x1876): undefined reference to `spatialDistribution' /usr/bin/ld: IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_805': IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x209a): undefined reference to `spatialDistribution' /usr/bin/ld: IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_826': IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x2aa3): undefined reference to `spatialDistribution' /usr/bin/ld: IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o: in function `IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_52': IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0xbb1): undefined reference to `spatialDistribution' /usr/bin/ld: IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o:IDEAS_dev_IDEAS_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