Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.338/2.338, allocations: 387.4 MB / 394.9 MB, free: 13.44 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.001326/0.001326, allocations: 188.6 kB / 487.4 MB, free: 5.074 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.567/1.567, allocations: 221.5 MB / 0.7824 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001017/0.001017, allocations: 105.2 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.454e-05/2.462e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2707, allocations: 142.4 MB / 1.206 GB, free: 43.9 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.206/1.477, allocations: 452.9 MB / 1.648 GB, free: 2.395 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/1.477, allocations: 93.7 kB / 1.648 GB, free: 2.348 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 3.172/4.649, allocations: 0.9726 GB / 2.621 GB, free: 12.55 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.372e-06/4.649, allocations: 0 / 2.621 GB, free: 12.55 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002699/4.649, allocations: 59.92 kB / 2.621 GB, free: 12.49 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: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.00481/4.654, allocations: 2.24 MB / 2.623 GB, free: 10.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/4.654, allocations: 8.031 kB / 2.623 GB, free: 10.19 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000993/4.655, allocations: 261 kB / 2.624 GB, free: 9.934 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7275/5.382, allocations: 16.66 MB / 2.64 GB, free: 144.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.701e-05/5.382, allocations: 43.5 kB / 2.64 GB, free: 144.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002061/5.383, allocations: 79.89 kB / 2.64 GB, free: 144.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001872/5.385, allocations: 0.8645 MB / 2.641 GB, free: 144.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002224/5.387, allocations: 1.214 MB / 2.642 GB, free: 144.1 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.12e-05/5.387, allocations: 8.062 kB / 2.642 GB, free: 144.1 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/5.387, allocations: 3.75 kB / 2.642 GB, free: 144.1 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.569e-05/5.387, allocations: 48.64 kB / 2.642 GB, free: 144.1 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.009228/5.396, allocations: 7.773 MB / 2.65 GB, free: 139.4 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00125/5.398, allocations: 0.6842 MB / 2.65 GB, free: 139.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005293/5.398, allocations: 335 kB / 2.651 GB, free: 139.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0018/5.4, allocations: 2.827 MB / 2.653 GB, free: 136.2 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.021e-05/5.4, allocations: 48.81 kB / 2.653 GB, free: 136.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=83): time 2.956e-06/5.4, allocations: 0 / 2.653 GB, free: 136.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=83): time 0.003111/5.403, allocations: 0.9857 MB / 2.654 GB, free: 136 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.928e-05/5.403, allocations: 60.19 kB / 2.654 GB, free: 136 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001629/5.405, allocations: 1.178 MB / 2.656 GB, free: 135.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.724e-05/5.405, allocations: 26.98 kB / 2.656 GB, free: 135.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005479/5.405, allocations: 0.9432 MB / 2.657 GB, free: 135.5 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/5.406, allocations: 291.3 kB / 2.657 GB, free: 135.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/5.406, allocations: 0 / 2.657 GB, free: 135.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.329e-05/5.406, allocations: 344 kB / 2.657 GB, free: 135 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004781/5.406, allocations: 286.2 kB / 2.657 GB, free: 135 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006443/5.407, allocations: 0.6555 MB / 2.658 GB, free: 134.6 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002048/5.409, allocations: 0.6075 MB / 2.659 GB, free: 134.6 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.868e-06/5.409, allocations: 3.719 kB / 2.659 GB, free: 134.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003205/5.412, allocations: 1.297 MB / 2.66 GB, free: 134.4 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007774/5.413, allocations: 4.423 MB / 2.664 GB, free: 129.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.285e-05/5.413, allocations: 19.62 kB / 2.664 GB, free: 129.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.027e-05/5.413, allocations: 21.56 kB / 2.664 GB, free: 129.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007826/5.414, allocations: 255.5 kB / 2.664 GB, free: 129.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.987e-05/5.414, allocations: 31.66 kB / 2.665 GB, free: 129.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00155/5.415, allocations: 158.7 kB / 2.665 GB, free: 129.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/5.416, allocations: 68.75 kB / 2.665 GB, free: 129.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/5.416, allocations: 7.953 kB / 2.665 GB, free: 129.8 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002602/5.418, allocations: 1.082 MB / 2.666 GB, free: 129.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/5.418, allocations: 13.94 kB / 2.666 GB, free: 129.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/5.418, allocations: 24.44 kB / 2.666 GB, free: 129.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007445/5.419, allocations: 259.5 kB / 2.666 GB, free: 129.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.593e-05/5.419, allocations: 25.62 kB / 2.666 GB, free: 129.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/5.421, allocations: 138 kB / 2.666 GB, free: 129.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/5.421, allocations: 62.02 kB / 2.666 GB, free: 129.7 MB / 1.151 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.0002821/5.421, allocations: 143.8 kB / 2.666 GB, free: 129.6 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003041/5.424, allocations: 0.9814 MB / 2.667 GB, free: 129.5 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002703/5.424, allocations: 175.3 kB / 2.668 GB, free: 129.4 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003714/5.428, allocations: 1.699 MB / 2.669 GB, free: 129.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.641e-05/5.428, allocations: 23.67 kB / 2.669 GB, free: 129.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/5.428, allocations: 0 / 2.669 GB, free: 129.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002258/5.43, allocations: 1.16 MB / 2.67 GB, free: 129.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007259/5.438, allocations: 3.244 MB / 2.674 GB, free: 128.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.751e-05/5.438, allocations: 10.86 kB / 2.674 GB, free: 128.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007142/5.438, allocations: 202.7 kB / 2.674 GB, free: 128.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/5.438, allocations: 13.97 kB / 2.674 GB, free: 128.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.441e-05/5.439, allocations: 32.73 kB / 2.674 GB, free: 128.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.235e-05/5.439, allocations: 13.81 kB / 2.674 GB, free: 128.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/5.439, allocations: 4.438 kB / 2.674 GB, free: 128.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003754/5.442, allocations: 2.604 MB / 2.676 GB, free: 127.4 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007328/5.443, allocations: 442.5 kB / 2.677 GB, free: 127.2 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002115/5.443, allocations: 10.53 kB / 2.677 GB, free: 127.2 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008802/5.444, allocations: 76.47 kB / 2.677 GB, free: 127.2 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/5.444, allocations: 104.3 kB / 2.677 GB, free: 127.2 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.786e-05/5.444, allocations: 62.12 kB / 2.677 GB, free: 127.2 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001074/5.446, allocations: 0.8781 MB / 2.678 GB, free: 127.1 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.8e-07/5.446, allocations: 0 / 2.678 GB, free: 127.1 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002979/5.449, allocations: 1.135 MB / 2.679 GB, free: 127.1 MB / 1.151 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.00661/5.455, allocations: 5.951 MB / 2.685 GB, free: 123.8 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002765/5.458, allocations: 1.719 MB / 2.686 GB, free: 123.6 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.5e-05/5.458, allocations: 2.812 kB / 2.686 GB, free: 123.6 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007895/5.459, allocations: 0.7004 MB / 2.687 GB, free: 123.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004131/5.463, allocations: 0.7697 MB / 2.688 GB, free: 123.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008234/5.471, allocations: 3.889 MB / 2.692 GB, free: 122.4 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/5.472, allocations: 1.477 MB / 2.693 GB, free: 121.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002716/5.475, allocations: 0.6175 MB / 2.694 GB, free: 121.7 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008412/5.476, allocations: 0.8123 MB / 2.695 GB, free: 121.7 MB / 1.151 GB Notification: Performance of SimCode: time 7.51e-07/5.476, allocations: 1.062 kB / 2.695 GB, free: 121.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09215/5.568, allocations: 57.74 MB / 2.751 GB, free: 119.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001445/5.568, allocations: 181.1 kB / 2.751 GB, free: 119.6 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_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c In file included from Buildings_9_Buildings_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 Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c:7: In file included from ./Buildings_9_Buildings_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); ^ Buildings_9_Buildings_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 */); ^ Buildings_9_Buildings_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 */); ^ Buildings_9_Buildings_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 */); ^ Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c:1: In file included from ./Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_records.c In file included from Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c:2: In file included from ./Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c:2: In file included from ./Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c:2: In file included from ./Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c:2: In file included from ./Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c:2: In file included from ./Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2: In file included from ./Buildings_9_Buildings_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); ^ Buildings_9_Buildings_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 */); ^ Buildings_9_Buildings_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 */); ^ Buildings_9_Buildings_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 */); ^ Buildings_9_Buildings_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 */); ^ Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:7724:83: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[173] /* pipNoMix.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[5] /* pipNoMix.timDel.x STATE(1,pipNoMix.timDel.u) */, tmp16, tmp17, tmp18 ,&data->localData[0]->realVars[172] /* pipNoMix.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:7750:84: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[168] /* pipNoMix.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[211] /* souNoMix.ports[1].h_outflow variable */, data->localData[0]->realVars[202] /* sin.ports[2].h_outflow variable */, (0.01) * (data->localData[0]->realVars[4] /* pipNoMix.del.x STATE(1,pipNoMix.v) */), tmp19, tmp20, tmp21 ,&data->localData[0]->realVars[144] /* pipNoMix.del.port_b.h_outflow variable */); ^ Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:7838:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[103] /* pip.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pip.timDel.x STATE(1) */, tmp22, tmp23, tmp24 ,&data->localData[0]->realVars[102] /* pip.timDel.time_out_des variable */); ^ Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:7864:78: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[98] /* pip.res.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[93] /* pip.port_a.h_outflow variable */, data->localData[0]->realVars[94] /* pip.port_b.h_outflow variable */, (0.01) * (data->localData[0]->realVars[0] /* pip.del.x STATE(1,pip.v) */), tmp25, tmp26, tmp27 ,&data->localData[0]->realVars[75] /* pip.del.port_b.h_outflow variable */); ^ 10 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c:2: In file included from ./Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c:2: In file included from ./Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c:2: In file included from ./Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c:2: In file included from ./Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c:2: In file included from ./Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c:2: In file included from ./Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c:2: In file included from ./Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c:2: In file included from ./Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c:2: In file included from ./Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c:2: In file included from ./Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c In file included from Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c:2: In file included from ./Buildings_9_Buildings_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=Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.c In file included from Buildings_9_Buildings_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 Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.so Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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: Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_756': Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0xabb): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_779': Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x1876): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_805': Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x209a): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_826': Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x2aa3): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o: in function `Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_52': Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0xbb1): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_9_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o:Buildings_9_Buildings_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