Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.607/1.607, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 179.5 kB / 326.5 MB, free: 2.258 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.093/2.093, allocations: 205.4 MB / 0.5775 GB, free: 20.26 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000995/0.0009954, allocations: 87.95 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004673, allocations: 13.5 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3164, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.145/1.461, allocations: 433 MB / 1.323 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002949/1.462, allocations: 96.08 kB / 1.323 GB, free: 15.54 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.123/3.585, allocations: 455.5 MB / 1.768 GB, free: 176 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.983e-06/3.585, allocations: 4.062 kB / 1.768 GB, free: 176 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.000124/3.585, allocations: 30.34 kB / 1.768 GB, free: 176 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.004244/3.59, allocations: 1.642 MB / 1.77 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.732e-05/3.59, allocations: 10.78 kB / 1.77 GB, free: 175.6 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001754/3.59, allocations: 107.6 kB / 1.77 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003911/3.59, allocations: 137.2 kB / 1.77 GB, free: 175.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0197/3.61, allocations: 9.089 MB / 1.779 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/3.61, allocations: 52.78 kB / 1.779 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001149/3.61, allocations: 68.34 kB / 1.779 GB, free: 175 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001317/3.612, allocations: 0.7527 MB / 1.78 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.325e-05/3.612, allocations: 6.25 kB / 1.78 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.266e-05/3.612, allocations: 26.41 kB / 1.78 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.638e-05/3.612, allocations: 21.92 kB / 1.78 GB, free: 174.9 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009265/3.613, allocations: 0.5642 MB / 1.78 GB, free: 174.8 MB / 0.8855 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.004986/3.618, allocations: 3.906 MB / 1.784 GB, free: 172.9 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008378/3.618, allocations: 469.8 kB / 1.784 GB, free: 172.8 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00101/3.619, allocations: 1.513 MB / 1.786 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/3.62, allocations: 40.44 kB / 1.786 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=44): time 3.867e-06/3.62, allocations: 0 / 1.786 GB, free: 171.1 MB / 0.8855 GB Notification: Performance of matching and sorting (n=44): time 0.001356/3.621, allocations: 0.8357 MB / 1.787 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.887e-05/3.621, allocations: 55.12 kB / 1.787 GB, free: 170.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/3.622, allocations: 0.8778 MB / 1.788 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/3.622, allocations: 32.98 kB / 1.788 GB, free: 170.6 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003237/3.622, allocations: 493.2 kB / 1.788 GB, free: 170.5 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001262/3.623, allocations: 158.6 kB / 1.788 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.682e-05/3.623, allocations: 11.75 kB / 1.788 GB, free: 170.4 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.399e-05/3.623, allocations: 334.7 kB / 1.789 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003408/3.623, allocations: 188.2 kB / 1.789 GB, free: 170.1 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003767/3.623, allocations: 326 kB / 1.789 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003688/3.624, allocations: 236.1 kB / 1.789 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/3.624, allocations: 6.5 kB / 1.789 GB, free: 169.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001041/3.625, allocations: 0.6602 MB / 1.79 GB, free: 169.8 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002293/3.625, allocations: 1.134 MB / 1.791 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/3.625, allocations: 10.78 kB / 1.791 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/3.625, allocations: 7.469 kB / 1.791 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004179/3.626, allocations: 126.2 kB / 1.791 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/3.626, allocations: 10.02 kB / 1.791 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008692/3.626, allocations: 108.5 kB / 1.791 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.877e-05/3.627, allocations: 33.48 kB / 1.791 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 9.618e-06/3.627, allocations: 5.25 kB / 1.791 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008588/3.627, allocations: 0.53 MB / 1.792 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/3.627, allocations: 7.734 kB / 1.792 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/3.627, allocations: 7.812 kB / 1.792 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003879/3.628, allocations: 130.1 kB / 1.792 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.321e-06/3.628, allocations: 7.703 kB / 1.792 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006909/3.629, allocations: 98.19 kB / 1.792 GB, free: 168.6 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.447e-05/3.629, allocations: 29.36 kB / 1.792 GB, free: 168.6 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005207/3.629, allocations: 350 kB / 1.793 GB, free: 168.4 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/3.629, allocations: 102 kB / 1.793 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001527/3.631, allocations: 0.9483 MB / 1.794 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/3.631, allocations: 11.64 kB / 1.794 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/3.631, allocations: 0 / 1.794 GB, free: 168.3 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008824/3.632, allocations: 0.8501 MB / 1.794 GB, free: 167.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002826/3.635, allocations: 1.966 MB / 1.796 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.59e-05/3.635, allocations: 7.703 kB / 1.796 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003938/3.635, allocations: 96.97 kB / 1.796 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/3.635, allocations: 6.938 kB / 1.796 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.819e-05/3.635, allocations: 17.38 kB / 1.796 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/3.635, allocations: 11.06 kB / 1.796 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/3.635, allocations: 6.969 kB / 1.796 GB, free: 167.4 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/3.637, allocations: 1.3 MB / 1.798 GB, free: 167.1 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005295/3.637, allocations: 294 kB / 1.798 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/3.637, allocations: 15.88 kB / 1.798 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005622/3.638, allocations: 43.69 kB / 1.798 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001155/3.638, allocations: 46.23 kB / 1.798 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.118e-05/3.638, allocations: 27.61 kB / 1.798 GB, free: 166.9 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0009498/3.639, allocations: 0.701 MB / 1.799 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.463e-06/3.639, allocations: 0 / 1.799 GB, free: 166.8 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.00196/3.641, allocations: 0.6319 MB / 1.799 GB, free: 166.8 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 5 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U,senTemOut.T,senTemIn.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003859/3.645, allocations: 2.883 MB / 1.802 GB, free: 165.4 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.002126/3.647, allocations: 0.9595 MB / 1.803 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/3.647, allocations: 1.094 kB / 1.803 GB, free: 165.3 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006309/3.648, allocations: 394.8 kB / 1.804 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00277/3.651, allocations: 0.5614 MB / 1.804 GB, free: 165.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004922/3.656, allocations: 5.098 MB / 1.809 GB, free: 161.8 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005106/3.656, allocations: 1.082 MB / 1.81 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001209/3.657, allocations: 295.8 kB / 1.81 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005229/3.658, allocations: 431.6 kB / 1.811 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of SimCode: time 6.31e-07/3.658, allocations: 3.938 kB / 1.811 GB, free: 161.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06509/3.723, allocations: 37.51 MB / 1.848 GB, free: 160.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/3.723, allocations: 235.3 kB / 1.848 GB, free: 159.8 MB / 0.8855 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c:7: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c:297:81: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[60] /* pip.cor.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pip.cor.timDel.x STATE(1,pip.cor.timDel.u) */, tmp10, tmp11, tmp12 ,&data->localData[0]->realVars[59] /* pip.cor.timDel.time_out_des variable */); ^ Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c:522:88: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[58] /* pip.cor.senMasFlo.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[96] /* sou.ports[1].h_outflow variable */, data->localData[0]->realVars[64] /* pip.ports_b[1].h_outflow variable */, (0.01) * (data->localData[0]->realVars[0] /* pip.cor.del.x STATE(1,pip.cor.del.v) */), tmp17, tmp18, tmp19 ,&data->localData[0]->realVars[43] /* pip.cor.del.port_b.h_outflow variable */); ^ 4 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_records.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:415:81: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[60] /* pip.cor.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pip.cor.timDel.x STATE(1,pip.cor.timDel.u) */, tmp2, tmp3, tmp4 ,&data->localData[0]->realVars[59] /* pip.cor.timDel.time_out_des variable */); ^ Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:452:88: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[58] /* pip.cor.senMasFlo.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[96] /* sou.ports[1].h_outflow variable */, data->localData[0]->realVars[64] /* pip.ports_b[1].h_outflow variable */, (0.01) * (data->localData[0]->realVars[0] /* pip.cor.del.x STATE(1,pip.cor.del.v) */), tmp5, tmp6, tmp7 ,&data->localData[0]->realVars[43] /* pip.cor.del.port_b.h_outflow variable */); ^ Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:1059:81: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[60] /* pip.cor.timDel.time_out_rev variable */ = spatialDistribution(data->localData[0]->timeValue, data->localData[0]->timeValue, data->localData[0]->realVars[1] /* pip.cor.timDel.x STATE(1,pip.cor.timDel.u) */, tmp0, tmp1, tmp2 ,&data->localData[0]->realVars[59] /* pip.cor.timDel.time_out_des variable */); ^ Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:1085:88: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[58] /* pip.cor.senMasFlo.port_a.h_outflow variable */ = spatialDistribution(data->localData[0]->realVars[96] /* sou.ports[1].h_outflow variable */, data->localData[0]->realVars[64] /* pip.ports_b[1].h_outflow variable */, (0.01) * (data->localData[0]->realVars[0] /* pip.cor.del.x STATE(1,pip.cor.del.v) */), tmp3, tmp4, tmp5 ,&data->localData[0]->realVars[43] /* pip.cor.del.port_b.h_outflow variable */); ^ 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c:2: In file included from ./Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.c:1: In file included from ./simulation_data.h:39: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:55: ./fmi-export/fmu2_model_interface.c.inc:79:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:168: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); ^~~~ ./gc/../meta/../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. mkdir -p ../binaries/linux64 clang -shared -o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.so Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/FixedResistances/Examples" -Wl,-Bstatic "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../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 3.2.3+maint.om/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library" -lModelicaExternalC -Wl,-Bdynamic -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -Wl,--no-as-needed -Wl,--disable-new-dtags -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_154': Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x873): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_171': Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x1315): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o: in function `Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_39': Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0xd47): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o: in function `Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_43': Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0xe5b): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o: in function `Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_112': Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0x1d5f): undefined reference to `spatialDistribution' /usr/bin/ld: Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o:Buildings_maint_7_0_x_Buildings_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0x1e60): more undefined references to `spatialDistribution' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:58: nozip] Error 1