Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8477/0.8477, allocations: 141.8 MB / 149.3 MB, free: 9.199 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009882/0.0009882, allocations: 180.8 kB / 182.2 MB, free: 9.441 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.499/1.499, allocations: 221.5 MB / 436.4 MB, free: 13.33 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.0009434/0.0009434, allocations: 91.84 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00176/0.00176, allocations: 285.1 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.112e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4624/0.4625, allocations: 82.77 MB / 0.7575 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.95/1.412, allocations: 412.1 MB / 1.16 GB, free: 2.25 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/1.413, allocations: 89.58 kB / 1.16 GB, free: 2.207 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.827/5.24, allocations: 0.9703 GB / 2.13 GB, free: 74.8 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.685e-06/5.24, allocations: 0 / 2.13 GB, free: 74.8 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001843/5.24, allocations: 52.7 kB / 2.13 GB, free: 74.8 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.004597/5.245, allocations: 2.235 MB / 2.132 GB, free: 73.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/5.245, allocations: 10.19 kB / 2.133 GB, free: 73.66 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007527/5.246, allocations: 260.8 kB / 2.133 GB, free: 73.54 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0348/5.28, allocations: 16.66 MB / 2.149 GB, free: 72.36 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.417e-05/5.281, allocations: 44.81 kB / 2.149 GB, free: 72.36 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/5.281, allocations: 81.19 kB / 2.149 GB, free: 72.36 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001745/5.283, allocations: 0.8684 MB / 2.15 GB, free: 72.34 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/5.284, allocations: 1.216 MB / 2.151 GB, free: 72.09 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.094e-05/5.285, allocations: 3.5 kB / 2.151 GB, free: 72.09 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001022/5.285, allocations: 7 kB / 2.151 GB, free: 72.09 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.92e-05/5.285, allocations: 32.81 kB / 2.151 GB, free: 72.09 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008377/5.293, allocations: 7.78 MB / 2.159 GB, free: 67.29 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001082/5.294, allocations: 0.6872 MB / 2.159 GB, free: 67.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004038/5.295, allocations: 341 kB / 2.16 GB, free: 67.24 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001684/5.296, allocations: 2.818 MB / 2.163 GB, free: 64.05 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.81e-05/5.296, allocations: 46.12 kB / 2.163 GB, free: 64.01 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=83): time 3.386e-06/5.296, allocations: 3.938 kB / 2.163 GB, free: 64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=83): time 0.002982/5.299, allocations: 0.9806 MB / 2.164 GB, free: 63.87 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/5.299, allocations: 59.03 kB / 2.164 GB, free: 63.8 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00162/5.301, allocations: 1.181 MB / 2.165 GB, free: 63.63 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.958e-05/5.301, allocations: 25.7 kB / 2.165 GB, free: 63.6 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007437/5.302, allocations: 0.9287 MB / 2.166 GB, free: 63.24 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/5.302, allocations: 285.4 kB / 2.166 GB, free: 63.06 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/5.302, allocations: 0 / 2.166 GB, free: 63.06 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001129/5.302, allocations: 354.3 kB / 2.166 GB, free: 62.75 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000405/5.303, allocations: 286.1 kB / 2.167 GB, free: 62.75 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006363/5.303, allocations: 0.6549 MB / 2.167 GB, free: 62.29 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/5.305, allocations: 0.6017 MB / 2.168 GB, free: 62.28 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.335e-06/5.305, allocations: 3.219 kB / 2.168 GB, free: 62.28 MB / 0.7136 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003249/5.309, allocations: 1.291 MB / 2.169 GB, free: 62.09 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009392/5.31, allocations: 4.421 MB / 2.173 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.895e-05/5.31, allocations: 21.17 kB / 2.173 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.641e-05/5.31, allocations: 18.53 kB / 2.173 GB, free: 57.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008412/5.311, allocations: 270.6 kB / 2.174 GB, free: 57.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/5.311, allocations: 22.48 kB / 2.174 GB, free: 57.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/5.312, allocations: 154.7 kB / 2.174 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001529/5.312, allocations: 70.17 kB / 2.174 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/5.312, allocations: 5.5 kB / 2.174 GB, free: 57.34 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002805/5.315, allocations: 1.083 MB / 2.175 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/5.315, allocations: 19.88 kB / 2.175 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/5.315, allocations: 16.62 kB / 2.175 GB, free: 57.01 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007759/5.316, allocations: 264.8 kB / 2.175 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.77e-05/5.316, allocations: 24 kB / 2.175 GB, free: 56.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001562/5.318, allocations: 136.1 kB / 2.175 GB, free: 56.92 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/5.318, allocations: 67.31 kB / 2.175 GB, free: 56.91 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003131/5.318, allocations: 138.6 kB / 2.176 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002905/5.321, allocations: 0.9809 MB / 2.177 GB, free: 56.44 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003733/5.321, allocations: 175.6 kB / 2.177 GB, free: 56.35 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003793/5.325, allocations: 1.692 MB / 2.178 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.75e-05/5.325, allocations: 17.17 kB / 2.178 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/5.325, allocations: 2.156 kB / 2.178 GB, free: 55.8 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002276/5.328, allocations: 1.169 MB / 2.18 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006844/5.334, allocations: 3.226 MB / 2.183 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/5.335, allocations: 17.69 kB / 2.183 GB, free: 53.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007196/5.335, allocations: 204.5 kB / 2.183 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.889e-05/5.335, allocations: 9.594 kB / 2.183 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.827e-05/5.335, allocations: 27.53 kB / 2.183 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.085e-05/5.335, allocations: 10.62 kB / 2.183 GB, free: 53.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.168e-05/5.335, allocations: 13.31 kB / 2.183 GB, free: 53.74 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004169/5.34, allocations: 2.594 MB / 2.186 GB, free: 52.11 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00115/5.341, allocations: 444.9 kB / 2.186 GB, free: 51.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000545/5.341, allocations: 10.98 kB / 2.186 GB, free: 51.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001443/5.343, allocations: 78.97 kB / 2.186 GB, free: 51.79 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/5.343, allocations: 100.5 kB / 2.186 GB, free: 51.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/5.343, allocations: 62.22 kB / 2.186 GB, free: 51.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001752/5.345, allocations: 0.8774 MB / 2.187 GB, free: 51.37 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.8e-07/5.345, allocations: 0 / 2.187 GB, free: 51.37 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004816/5.35, allocations: 1.143 MB / 2.188 GB, free: 51.09 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007537/5.357, allocations: 5.954 MB / 2.194 GB, free: 46.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002929/5.36, allocations: 1.709 MB / 2.196 GB, free: 46.17 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.227e-06/5.36, allocations: 0 / 2.196 GB, free: 46.17 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0008776/5.361, allocations: 0.7061 MB / 2.196 GB, free: 45.83 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004514/5.366, allocations: 0.7658 MB / 2.197 GB, free: 45.65 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01001/5.376, allocations: 3.886 MB / 2.201 GB, free: 43.95 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/5.377, allocations: 1.473 MB / 2.202 GB, free: 43.17 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002784/5.38, allocations: 0.6122 MB / 2.203 GB, free: 43.01 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008766/5.38, allocations: 0.8167 MB / 2.204 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of SimCode: time 6.91e-07/5.381, allocations: 0 / 2.204 GB, free: 42.35 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1077/5.488, allocations: 57.65 MB / 2.26 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001776/5.488, allocations: 182.7 kB / 2.26 GB, free: 2.738 MB / 0.7292 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:9: In file included from 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 BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:7: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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); ^ BuildingSystems_BuildingSystems_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 */); ^ BuildingSystems_BuildingSystems_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 */); ^ BuildingSystems_BuildingSystems_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 */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:1484:84: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[168] /* pipNoMix.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[211] /* souNoMix.ports[1].h_outflow variable */, data->localData[0]->realVars[202] /* sin.ports[2].h_outflow variable */, (0.01) * (data->localData[0]->realVars[4] /* pipNoMix.del.x STATE(1,pipNoMix.v) */), tmp46, tmp47, tmp48 ,&data->localData[0]->realVars[144] /* pipNoMix.del.port_b.h_outflow variable */); ^ 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c:1: In file included from ./BuildingSystems_BuildingSystems_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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_records.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_records.c: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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:564:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[173] /* pipNoMix.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipNoMix.timDel.x STATE(1,pipNoMix.timDel.u) */, tmp3, tmp4, tmp5 ,&data->localData[0]->realVars[172] /* pipNoMix.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:601:84: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[168] /* pipNoMix.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[211] /* souNoMix.ports[1].h_outflow variable */, data->localData[0]->realVars[202] /* sin.ports[2].h_outflow variable */, (0.01) * (data->localData[0]->realVars[4] /* pipNoMix.del.x STATE(1,pipNoMix.v) */), tmp6, tmp7, tmp8 ,&data->localData[0]->realVars[144] /* pipNoMix.del.port_b.h_outflow variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:964:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[103] /* pip.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pip.timDel.x STATE(1) */, tmp9, tmp10, tmp11 ,&data->localData[0]->realVars[102] /* pip.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:1001:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[98] /* pip.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[93] /* pip.port_a.h_outflow variable */, data->localData[0]->realVars[94] /* pip.port_b.h_outflow variable */, (0.01) * (data->localData[0]->realVars[0] /* pip.del.x STATE(1,pip.v) */), tmp12, tmp13, tmp14 ,&data->localData[0]->realVars[75] /* pip.del.port_b.h_outflow variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:7672:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[173] /* pipNoMix.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipNoMix.timDel.x STATE(1,pipNoMix.timDel.u) */, tmp16, tmp17, tmp18 ,&data->localData[0]->realVars[172] /* pipNoMix.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:7698:84: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[168] /* pipNoMix.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[211] /* souNoMix.ports[1].h_outflow variable */, data->localData[0]->realVars[202] /* sin.ports[2].h_outflow variable */, (0.01) * (data->localData[0]->realVars[4] /* pipNoMix.del.x STATE(1,pipNoMix.v) */), tmp19, tmp20, tmp21 ,&data->localData[0]->realVars[144] /* pipNoMix.del.port_b.h_outflow variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:7786:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[103] /* pip.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pip.timDel.x STATE(1) */, tmp22, tmp23, tmp24 ,&data->localData[0]->realVars[102] /* pip.timDel.time_out_des variable */); ^ BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:7812: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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c:2: In file included from ./BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from 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=BuildingSystems_BuildingSystems_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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.c In file included from BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.c:1: In file included from 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 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.so BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.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: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_752': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0xabb): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_775': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x1876): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_801': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x209a): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_822': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x2aa3): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o: in function `BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_52': BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0xbb1): undefined reference to `spatialDistribution' /usr/bin/ld: BuildingSystems_BuildingSystems_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o:BuildingSystems_BuildingSystems_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