Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,fileNamePrefix="Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.268/2.268, allocations: 390.5 MB / 398 MB, free: 10.91 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00109/0.001089, allocations: 180.8 kB / 491.2 MB, free: 1.539 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.511/1.511, allocations: 221.5 MB / 0.7868 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009838/0.0009838, allocations: 107.4 kB / 0.9269 GB, free: 13.73 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.37e-05/2.373e-05, allocations: 4 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3167/0.3168, allocations: 143 MB / 1.212 GB, free: 39.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.354/1.671, allocations: 452.6 MB / 1.654 GB, free: 10.92 MB / 1.073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/1.671, allocations: 100.6 kB / 1.655 GB, free: 10.87 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 1.826/3.497, allocations: 0.5333 GB / 2.188 GB, free: 11.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.562e-06/3.497, allocations: 0 / 2.188 GB, free: 11.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001192/3.497, allocations: 28 kB / 2.188 GB, free: 11.07 MB / 1.151 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002614/3.499, allocations: 1.527 MB / 2.189 GB, free: 9.496 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.949e-05/3.499, allocations: 12.03 kB / 2.189 GB, free: 9.484 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004965/3.5, allocations: 162.2 kB / 2.19 GB, free: 9.324 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.8013/4.301, allocations: 10.21 MB / 2.2 GB, free: 232.9 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.918e-05/4.301, allocations: 27.5 kB / 2.2 GB, free: 232.9 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002139/4.302, allocations: 54.44 kB / 2.2 GB, free: 232.9 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001554/4.303, allocations: 0.5699 MB / 2.2 GB, free: 232.9 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001603/4.305, allocations: 0.7985 MB / 2.201 GB, free: 232.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.334e-05/4.305, allocations: 7.5 kB / 2.201 GB, free: 232.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.479e-05/4.305, allocations: 3.125 kB / 2.201 GB, free: 232.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/4.305, allocations: 25.66 kB / 2.201 GB, free: 232.7 MB / 1.151 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.006862/4.312, allocations: 4.992 MB / 2.206 GB, free: 229.8 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000775/4.313, allocations: 365.9 kB / 2.206 GB, free: 229.8 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003632/4.313, allocations: 223.4 kB / 2.206 GB, free: 229.8 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001248/4.314, allocations: 1.598 MB / 2.208 GB, free: 228 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/4.314, allocations: 44.41 kB / 2.208 GB, free: 228 MB / 1.151 GB Notification: Performance of pre-optimization done (n=54): time 3.437e-06/4.314, allocations: 3.062 kB / 2.208 GB, free: 228 MB / 1.151 GB Notification: Performance of matching and sorting (n=54): time 0.002751/4.317, allocations: 0.6897 MB / 2.209 GB, free: 227.8 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/4.317, allocations: 57.12 kB / 2.209 GB, free: 227.8 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/4.319, allocations: 0.7548 MB / 2.209 GB, free: 227.6 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.462e-05/4.319, allocations: 27.33 kB / 2.209 GB, free: 227.6 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004916/4.319, allocations: 0.5816 MB / 2.21 GB, free: 227.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001936/4.319, allocations: 186.5 kB / 2.21 GB, free: 227.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/4.319, allocations: 0.6875 kB / 2.21 GB, free: 227.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.969e-05/4.319, allocations: 335 kB / 2.211 GB, free: 227 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/4.32, allocations: 172.9 kB / 2.211 GB, free: 227 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004442/4.32, allocations: 386.8 kB / 2.211 GB, free: 226.8 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001279/4.322, allocations: 353.8 kB / 2.211 GB, free: 226.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/4.322, allocations: 5.031 kB / 2.211 GB, free: 226.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002637/4.324, allocations: 0.8571 MB / 2.212 GB, free: 226.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004782/4.325, allocations: 2.178 MB / 2.214 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.363e-05/4.325, allocations: 11.92 kB / 2.214 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003917/4.325, allocations: 77.52 kB / 2.214 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005009/4.326, allocations: 144.8 kB / 2.215 GB, free: 224.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004946/4.326, allocations: 0.6087 MB / 2.215 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/4.327, allocations: 99.72 kB / 2.215 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.837e-05/4.327, allocations: 42.58 kB / 2.215 GB, free: 223.9 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.004e-05/4.327, allocations: 3.406 kB / 2.215 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002208/4.33, allocations: 0.7107 MB / 2.216 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/4.33, allocations: 12.86 kB / 2.216 GB, free: 223.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002953/4.33, allocations: 73.61 kB / 2.216 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005239/4.331, allocations: 151.1 kB / 2.216 GB, free: 223.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004057/4.331, allocations: 0.6072 MB / 2.217 GB, free: 223.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/4.332, allocations: 89.47 kB / 2.217 GB, free: 223.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.103e-05/4.332, allocations: 39.97 kB / 2.217 GB, free: 223.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002478/4.332, allocations: 133.8 kB / 2.217 GB, free: 223.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002395/4.335, allocations: 0.6839 MB / 2.218 GB, free: 223.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002104/4.335, allocations: 106.3 kB / 2.218 GB, free: 223 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002906/4.338, allocations: 1.054 MB / 2.219 GB, free: 223 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.369e-05/4.338, allocations: 15.61 kB / 2.219 GB, free: 223 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/4.338, allocations: 0 / 2.219 GB, free: 223 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001868/4.34, allocations: 0.8074 MB / 2.22 GB, free: 222.8 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004964/4.345, allocations: 1.95 MB / 2.222 GB, free: 222.4 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/4.345, allocations: 4.312 kB / 2.222 GB, free: 222.4 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/4.345, allocations: 106.3 kB / 2.222 GB, free: 222.4 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001694/4.346, allocations: 44.47 kB / 2.222 GB, free: 222.4 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/4.346, allocations: 14.84 kB / 2.222 GB, free: 222.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003874/4.346, allocations: 0.6041 MB / 2.222 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/4.346, allocations: 2.875 kB / 2.222 GB, free: 221.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002863/4.349, allocations: 1.333 MB / 2.224 GB, free: 221.6 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007545/4.35, allocations: 307 kB / 2.224 GB, free: 221.5 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/4.35, allocations: 9.797 kB / 2.224 GB, free: 221.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008456/4.351, allocations: 72.66 kB / 2.224 GB, free: 221.5 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/4.351, allocations: 46.03 kB / 2.224 GB, free: 221.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-05/4.351, allocations: 32.53 kB / 2.224 GB, free: 221.5 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001111/4.352, allocations: 0.5795 MB / 2.225 GB, free: 221.3 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.5e-07/4.352, allocations: 3.375 kB / 2.225 GB, free: 221.3 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.00338/4.355, allocations: 0.738 MB / 2.225 GB, free: 221.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (66): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.004865/4.36, allocations: 2.746 MB / 2.228 GB, free: 220.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002195/4.363, allocations: 1.013 MB / 2.229 GB, free: 220.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.982e-06/4.363, allocations: 1.031 kB / 2.229 GB, free: 220.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006569/4.363, allocations: 400.9 kB / 2.229 GB, free: 220 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003463/4.367, allocations: 0.5067 MB / 2.23 GB, free: 220 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005723/4.373, allocations: 1.916 MB / 2.232 GB, free: 219.5 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001105/4.374, allocations: 1.158 MB / 2.233 GB, free: 218.8 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002213/4.376, allocations: 363.3 kB / 2.233 GB, free: 218.8 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007295/4.377, allocations: 482.3 kB / 2.234 GB, free: 218.8 MB / 1.151 GB Notification: Performance of SimCode: time 1.122e-06/4.377, allocations: 0 / 2.234 GB, free: 218.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08667/4.463, allocations: 36.31 MB / 2.269 GB, free: 218.3 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/4.464, allocations: 214.2 kB / 2.269 GB, free: 218.1 MB / 1.151 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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.c:7: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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); ^ Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.c:162:77: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[63] /* 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,pip.timDel.u) */, tmp1, tmp2, tmp3 ,&data->localData[0]->realVars[62] /* pip.timDel.time_out_des variable */); ^ Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.c:583:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[60] /* pip.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[56] /* pip.port_a.h_outflow variable */, data->localData[0]->realVars[57] /* pip.port_b.h_outflow variable */, (0.005) * (data->localData[0]->realVars[0] /* pip.del.x STATE(1,pip.v) */), tmp14, tmp15, tmp16 ,&data->localData[0]->realVars[41] /* pip.del.port_b.h_outflow variable */); ^ 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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_functions.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_functions.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_functions.c:1: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_records.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_records.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_01exo.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_01exo.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_01exo.c:2: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_02nls.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_02nls.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_02nls.c:2: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_03lsy.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_03lsy.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_03lsy.c:2: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_04set.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_04set.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_04set.c:2: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_05evt.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_05evt.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_05evt.c:2: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:2: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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); ^ Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:568:77: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[63] /* 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,pip.timDel.u) */, tmp2, tmp3, tmp4 ,&data->localData[0]->realVars[62] /* pip.timDel.time_out_des variable */); ^ Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:605:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[60] /* pip.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[56] /* pip.port_a.h_outflow variable */, data->localData[0]->realVars[57] /* pip.port_b.h_outflow variable */, (0.005) * (data->localData[0]->realVars[0] /* pip.del.x STATE(1,pip.v) */), tmp5, tmp6, tmp7 ,&data->localData[0]->realVars[41] /* pip.del.port_b.h_outflow variable */); ^ Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:4673:77: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[63] /* 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,pip.timDel.u) */, tmp12, tmp13, tmp14 ,&data->localData[0]->realVars[62] /* pip.timDel.time_out_des variable */); ^ Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:4699:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[60] /* pip.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[56] /* pip.port_a.h_outflow variable */, data->localData[0]->realVars[57] /* pip.port_b.h_outflow variable */, (0.005) * (data->localData[0]->realVars[0] /* pip.del.x STATE(1,pip.v) */), tmp15, tmp16, tmp17 ,&data->localData[0]->realVars[41] /* pip.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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_07dly.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_07dly.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_07dly.c:2: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_08bnd.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_08bnd.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_08bnd.c:2: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_09alg.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_09alg.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_09alg.c:2: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_10asr.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_10asr.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_10asr.c:2: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_11mix.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_11mix.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_11mix.c:2: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_12jac.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_12jac.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_12jac.c:2: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_13opt.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_13opt.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_13opt.c:2: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_14lnz.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_14lnz.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_14lnz.c:2: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_15syn.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_15syn.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_15syn.c:2: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_16dae.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_16dae.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_16dae.c:2: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_17inl.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_17inl.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_17inl.c:2: In file included from ./Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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=Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=3 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_init_fmu.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_init_fmu.c In file included from Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_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 Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.so Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_FMU.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_functions.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_records.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_01exo.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_02nls.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_03lsy.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_04set.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_05evt.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_07dly.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_08bnd.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_09alg.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_10asr.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_11mix.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_12jac.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_13opt.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_14lnz.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_15syn.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_16dae.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_17inl.o Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_init_fmu.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/Fluid/FixedResistances/Validation/PlugFlowPipes" "-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: Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.o: in function `Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_eqFunction_442': Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.c:(.text+0x296): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.o: in function `Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_eqFunction_474': Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal.c:(.text+0x1331): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.o: in function `Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_eqFunction_55': Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:(.text+0xa9c): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.o: in function `Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_eqFunction_59': Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:(.text+0xbaa): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.o: in function `Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_eqFunction_405': Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:(.text+0x3f78): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.o:Buildings_latest_Buildings_Fluid_FixedResistances_Validation_PlugFlowPipes_FlowReversal_06inz.c:(.text+0x4073): 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