Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, allocations: 182.3 kB / 13.19 MB, free: 2.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4956/0.4956, allocations: 90.8 MB / 104.5 MB, free: 13.91 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 221.3 MB / 348.3 MB, free: 12.57 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000961/0.0009611, allocations: 90.7 kB / 421.1 MB, free: 5.711 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.11e-05/3.112e-05, allocations: 4 kB / 0.4897 GB, free: 46.55 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1571/0.1571, allocations: 72.32 MB / 0.5603 GB, free: 6.34 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.196/1.354, allocations: 405.8 MB / 0.9566 GB, free: 65.88 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/1.354, allocations: 94.38 kB / 0.9567 GB, free: 65.83 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.468/4.822, allocations: 0.9772 GB / 1.934 GB, free: 31.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.462e-06/4.822, allocations: 0 / 1.934 GB, free: 31.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002953/4.822, allocations: 55.97 kB / 1.934 GB, free: 31.64 MB / 0.6198 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.005838/4.828, allocations: 2.24 MB / 1.936 GB, free: 29.35 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.776e-05/4.828, allocations: 8.031 kB / 1.936 GB, free: 29.34 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005919/4.828, allocations: 198.6 kB / 1.936 GB, free: 29.14 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/4.83, allocations: 261.9 kB / 1.937 GB, free: 28.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03575/4.865, allocations: 16.72 MB / 1.953 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001401/4.866, allocations: 106.7 kB / 1.953 GB, free: 12.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005467/4.866, allocations: 143.9 kB / 1.953 GB, free: 11.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003411/4.87, allocations: 1.399 MB / 1.954 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.507e-05/4.87, allocations: 7.562 kB / 1.955 GB, free: 10.39 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002129/4.87, allocations: 59.95 kB / 1.955 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.209e-05/4.87, allocations: 39.94 kB / 1.955 GB, free: 10.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/4.872, allocations: 0.951 MB / 1.956 GB, free: 9.34 MB / 0.6198 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.009177/4.881, allocations: 8.059 MB / 1.963 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001332/4.882, allocations: 0.7232 MB / 1.964 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006075/4.883, allocations: 355.1 kB / 1.964 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002863/4.886, allocations: 2.822 MB / 1.967 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.883e-05/4.886, allocations: 43.34 kB / 1.967 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=83): time 3.476e-06/4.886, allocations: 0 / 1.967 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of matching and sorting (n=83): time 0.002536/4.889, allocations: 0.8298 MB / 1.968 GB, free: 11.18 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/4.889, allocations: 60.19 kB / 1.968 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003444/4.892, allocations: 1.39 MB / 1.969 GB, free: 9.68 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.000135/4.892, allocations: 41.7 kB / 1.97 GB, free: 9.633 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000942/4.893, allocations: 0.9471 MB / 1.97 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003226/4.894, allocations: 295.7 kB / 1.971 GB, free: 8.383 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.922e-05/4.894, allocations: 28 kB / 1.971 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001598/4.894, allocations: 350.9 kB / 1.971 GB, free: 8.008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000574/4.894, allocations: 310.5 kB / 1.971 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000801/4.895, allocations: 0.6918 MB / 1.972 GB, free: 6.84 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006945/4.896, allocations: 417.8 kB / 1.972 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/4.896, allocations: 4 kB / 1.972 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002359/4.898, allocations: 1.213 MB / 1.974 GB, free: 5.207 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.001467/4.9, allocations: 4.46 MB / 1.978 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.292e-05/4.9, allocations: 19.98 kB / 1.978 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.434e-05/4.9, allocations: 19.94 kB / 1.978 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008613/4.901, allocations: 263.6 kB / 1.978 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.137e-05/4.901, allocations: 23.88 kB / 1.978 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.443/5.344, allocations: 193 kB / 1.978 GB, free: 54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002212/5.344, allocations: 69.55 kB / 1.979 GB, free: 54 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/5.344, allocations: 5.156 kB / 1.979 GB, free: 54 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002175/5.346, allocations: 1.006 MB / 1.98 GB, free: 54 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.932e-05/5.346, allocations: 16.77 kB / 1.98 GB, free: 54 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.903e-05/5.346, allocations: 17.94 kB / 1.98 GB, free: 54 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000912/5.347, allocations: 261 kB / 1.98 GB, free: 54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.071e-05/5.347, allocations: 22.53 kB / 1.98 GB, free: 54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/5.349, allocations: 176.6 kB / 1.98 GB, free: 54 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001441/5.349, allocations: 71.2 kB / 1.98 GB, free: 54 MB / 0.6355 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.0002964/5.349, allocations: 172.7 kB / 1.98 GB, free: 53.89 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003997/5.35, allocations: 191.7 kB / 1.98 GB, free: 53.89 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00366/5.353, allocations: 1.673 MB / 1.982 GB, free: 53.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.237e-05/5.353, allocations: 21.28 kB / 1.982 GB, free: 53.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/5.353, allocations: 0.9688 kB / 1.982 GB, free: 53.81 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00181/5.355, allocations: 1.114 MB / 1.983 GB, free: 53.62 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005997/5.361, allocations: 3.401 MB / 1.986 GB, free: 52.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.973e-05/5.361, allocations: 11.56 kB / 1.986 GB, free: 52.98 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007622/5.362, allocations: 203.1 kB / 1.987 GB, free: 52.98 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.778e-05/5.362, allocations: 11.59 kB / 1.987 GB, free: 52.98 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.298e-05/5.362, allocations: 38.5 kB / 1.987 GB, free: 52.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-05/5.362, allocations: 16.23 kB / 1.987 GB, free: 52.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.005e-05/5.362, allocations: 12 kB / 1.987 GB, free: 52.98 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003173/5.365, allocations: 2.604 MB / 1.989 GB, free: 51.88 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008235/5.366, allocations: 456.9 kB / 1.99 GB, free: 51.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002153/5.367, allocations: 37.94 kB / 1.99 GB, free: 51.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009177/5.367, allocations: 92.34 kB / 1.99 GB, free: 51.67 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/5.368, allocations: 109.8 kB / 1.99 GB, free: 51.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-05/5.368, allocations: 60.03 kB / 1.99 GB, free: 51.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001445/5.369, allocations: 1.063 MB / 1.991 GB, free: 51.5 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/5.369, allocations: 0 / 1.991 GB, free: 51.5 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003603/5.373, allocations: 1.175 MB / 1.992 GB, free: 51.46 MB / 0.6355 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.005543/5.378, allocations: 5.925 MB / 1.998 GB, free: 48.25 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003884/5.382, allocations: 1.828 MB / 2 GB, free: 47.97 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/5.382, allocations: 2.969 kB / 2 GB, free: 47.97 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001238/5.384, allocations: 0.7316 MB / 2.001 GB, free: 47.84 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004885/5.388, allocations: 0.8992 MB / 2.001 GB, free: 47.83 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008978/5.397, allocations: 4.033 MB / 2.005 GB, free: 46.86 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008308/5.398, allocations: 1.479 MB / 2.007 GB, free: 46.12 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002766/5.401, allocations: 0.6472 MB / 2.007 GB, free: 46.1 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009035/5.402, allocations: 0.8288 MB / 2.008 GB, free: 46.09 MB / 0.6355 GB Notification: Performance of SimCode: time 7.21e-07/5.402, allocations: 2.75 kB / 2.008 GB, free: 46.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1032/5.505, allocations: 69.34 MB / 2.076 GB, free: 42.74 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001687/5.505, allocations: 201.5 kB / 2.076 GB, free: 42.51 MB / 0.6355 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c:7: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c:563: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 */); ^ IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c:861: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 */); ^ IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c:1205: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 */); ^ IBPSA_latest_IBPSA_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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_records.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ IBPSA_latest_IBPSA_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 */); ^ IBPSA_latest_IBPSA_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 */); ^ IBPSA_latest_IBPSA_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 */); ^ IBPSA_latest_IBPSA_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 */); ^ IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:8244: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 */); ^ IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:8270: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 */); ^ IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:8358: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 */); ^ IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:8384: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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c:2: In file included from ./IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.c In file included from IBPSA_latest_IBPSA_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./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 -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c:54: ./fmi-export/fmu2_model_interface.c.inc:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc: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); ^~~~ ./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 IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.so IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 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 -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: IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_796': IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0xb20): undefined reference to `spatialDistribution' /usr/bin/ld: IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_819': IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x1918): undefined reference to `spatialDistribution' /usr/bin/ld: IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_845': IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x219d): undefined reference to `spatialDistribution' /usr/bin/ld: IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_866': IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x2bf6): undefined reference to `spatialDistribution' /usr/bin/ld: IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o: in function `IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_52': IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0xbc4): undefined reference to `spatialDistribution' /usr/bin/ld: IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o:IBPSA_latest_IBPSA_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0xcda): more undefined references to `spatialDistribution' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:32: nozip] Error 1