Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_IDEAS_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.006157/0.006157, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7707/0.7707, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.509/1.509, allocations: 223.2 MB / 406.8 MB, free: 3.219 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001084/0.001084, allocations: 99.61 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005357/0.0005364, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4806/0.4811, allocations: 82.3 MB / 0.6495 GB, free: 36.12 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.36/1.841, allocations: 415.5 MB / 1.055 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/1.841, allocations: 99.52 kB / 1.055 GB, free: 177.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.651/5.492, allocations: 0.9783 GB / 2.034 GB, free: 45.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.577e-06/5.492, allocations: 0 / 2.034 GB, free: 45.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002084/5.493, allocations: 63.19 kB / 2.034 GB, free: 45.19 MB / 0.698 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.00797/5.501, allocations: 2.709 MB / 2.036 GB, free: 42.44 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/5.501, allocations: 8.031 kB / 2.036 GB, free: 42.43 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005891/5.501, allocations: 198.6 kB / 2.037 GB, free: 42.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008736/5.502, allocations: 259.8 kB / 2.037 GB, free: 41.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03628/5.538, allocations: 16.87 MB / 2.053 GB, free: 25.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.366e-05/5.538, allocations: 102.7 kB / 2.053 GB, free: 24.96 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000226/5.539, allocations: 143.9 kB / 2.054 GB, free: 24.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002411/5.541, allocations: 1.442 MB / 2.055 GB, free: 23.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.726e-05/5.541, allocations: 4 kB / 2.055 GB, free: 23.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/5.541, allocations: 56 kB / 2.055 GB, free: 23.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.494e-05/5.541, allocations: 39.94 kB / 2.055 GB, free: 23.19 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001628/5.543, allocations: 1.013 MB / 2.056 GB, free: 22.17 MB / 0.698 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.008828/5.552, allocations: 8.061 MB / 2.064 GB, free: 13.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/5.553, allocations: 0.7479 MB / 2.065 GB, free: 12.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001762/5.555, allocations: 2.822 MB / 2.067 GB, free: 9.234 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.219e-05/5.555, allocations: 43.22 kB / 2.067 GB, free: 9.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 3.697e-06/5.555, allocations: 0 / 2.067 GB, free: 9.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=83): time 0.002369/5.557, allocations: 1.476 MB / 2.069 GB, free: 7.621 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.342e-05/5.557, allocations: 56.06 kB / 2.069 GB, free: 7.555 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001896/5.559, allocations: 1.421 MB / 2.07 GB, free: 6.098 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/5.559, allocations: 41.7 kB / 2.07 GB, free: 6.051 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005797/5.56, allocations: 0.9441 MB / 2.071 GB, free: 5.098 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000269/5.56, allocations: 291.8 kB / 2.072 GB, free: 4.809 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/5.56, allocations: 24 kB / 2.072 GB, free: 4.785 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.779e-05/5.56, allocations: 349.9 kB / 2.072 GB, free: 4.438 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000514/5.561, allocations: 334.4 kB / 2.072 GB, free: 4.109 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006872/5.562, allocations: 0.7149 MB / 2.073 GB, free: 3.227 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006708/5.562, allocations: 449.6 kB / 2.073 GB, free: 2.789 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/5.562, allocations: 4 kB / 2.073 GB, free: 2.785 MB / 0.698 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002117/5.564, allocations: 1.264 MB / 2.075 GB, free: 1.512 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001613/5.566, allocations: 4.464 MB / 2.079 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.18e-05/5.566, allocations: 16 kB / 2.079 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.363e-05/5.566, allocations: 20 kB / 2.079 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009007/5.567, allocations: 263.6 kB / 2.079 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.926e-05/5.567, allocations: 31.86 kB / 2.079 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/5.569, allocations: 198.5 kB / 2.08 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001548/5.569, allocations: 67.97 kB / 2.08 GB, free: 12.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/5.569, allocations: 4 kB / 2.08 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001925/5.571, allocations: 1.062 MB / 2.081 GB, free: 11.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.677e-05/5.571, allocations: 16 kB / 2.081 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/5.571, allocations: 16 kB / 2.081 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008103/5.572, allocations: 264.1 kB / 2.081 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/5.572, allocations: 27.92 kB / 2.081 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/5.574, allocations: 178.7 kB / 2.081 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/5.574, allocations: 63.97 kB / 2.081 GB, free: 10.5 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.001169/5.575, allocations: 468.8 kB / 2.082 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004718/5.576, allocations: 193.6 kB / 2.082 GB, free: 9.844 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/5.579, allocations: 1.722 MB / 2.083 GB, free: 8.125 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.846e-05/5.579, allocations: 23.98 kB / 2.083 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/5.579, allocations: 0 / 2.083 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001675/5.581, allocations: 1.158 MB / 2.085 GB, free: 6.918 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006585/5.587, allocations: 3.454 MB / 2.088 GB, free: 3.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.861e-05/5.587, allocations: 11.98 kB / 2.088 GB, free: 3.281 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/5.588, allocations: 199.7 kB / 2.088 GB, free: 3.086 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.86e-05/5.588, allocations: 12 kB / 2.088 GB, free: 3.074 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.292e-05/5.588, allocations: 40.33 kB / 2.088 GB, free: 3.035 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.797e-05/5.588, allocations: 23.89 kB / 2.088 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.838e-06/5.588, allocations: 8 kB / 2.088 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004144/5.592, allocations: 2.671 MB / 2.091 GB, free: 16 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.5994/6.192, allocations: 452.2 kB / 2.091 GB, free: 69.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007345/6.193, allocations: 32.33 kB / 2.091 GB, free: 69.19 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/6.194, allocations: 102.2 kB / 2.091 GB, free: 69.19 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000362/6.195, allocations: 102.5 kB / 2.092 GB, free: 69.19 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002411/6.195, allocations: 64.95 kB / 2.092 GB, free: 69.19 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.00308/6.198, allocations: 1.085 MB / 2.093 GB, free: 69.05 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.41e-07/6.198, allocations: 0 / 2.093 GB, free: 69.05 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.006727/6.205, allocations: 1.173 MB / 2.094 GB, free: 69.05 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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.009292/6.214, allocations: 6.01 MB / 2.1 GB, free: 65.94 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003572/6.218, allocations: 1.836 MB / 2.101 GB, free: 65.67 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/6.218, allocations: 4.25 kB / 2.101 GB, free: 65.67 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001251/6.219, allocations: 0.7519 MB / 2.102 GB, free: 65.54 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005566/6.224, allocations: 0.9025 MB / 2.103 GB, free: 65.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01444/6.239, allocations: 13.54 MB / 2.116 GB, free: 55.52 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00116/6.24, allocations: 1.472 MB / 2.118 GB, free: 54.79 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002754/6.243, allocations: 0.5353 MB / 2.118 GB, free: 54.77 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00112/6.244, allocations: 0.8562 MB / 2.119 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of SimCode: time 1.784e-06/6.244, allocations: 1.219 kB / 2.119 GB, free: 54.76 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1267/6.371, allocations: 64.39 MB / 2.182 GB, free: 51.68 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/6.371, allocations: 208.9 kB / 2.182 GB, free: 51.44 MB / 0.7136 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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:7: In file included from ./IDEAS_IDEAS_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); ^ IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:573: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 */); ^ IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:877: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 */); ^ IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:1231: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 */); ^ IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:1518: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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c:2: In file included from ./IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_records.c In file included from IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c:2: In file included from ./IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c:2: In file included from ./IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c:2: In file included from ./IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c:2: In file included from ./IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c:2: In file included from ./IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2: In file included from ./IDEAS_IDEAS_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); ^ IDEAS_IDEAS_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 */); ^ IDEAS_IDEAS_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 */); ^ IDEAS_IDEAS_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 */); ^ IDEAS_IDEAS_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 */); ^ IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2116: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) */, tmp0, tmp1, tmp2 ,&data->localData[0]->realVars[172] /* pipNoMix.timDel.time_out_des variable */); ^ IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2142: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) */), tmp3, tmp4, tmp5 ,&data->localData[0]->realVars[144] /* pipNoMix.del.port_b.h_outflow variable */); ^ IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2230: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) */, tmp6, tmp7, tmp8 ,&data->localData[0]->realVars[102] /* pip.timDel.time_out_des variable */); ^ IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2256: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) */), tmp9, tmp10, tmp11 ,&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 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c:2: In file included from ./IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c:2: In file included from ./IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c:2: In file included from ./IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c:2: In file included from ./IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c:2: In file included from ./IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c:2: In file included from ./IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c:2: In file included from ./IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c:2: In file included from ./IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c:2: In file included from ./IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c:2: In file included from ./IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c In file included from IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c:2: In file included from ./IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.c In file included from IDEAS_IDEAS_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 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c In file included from IDEAS_IDEAS_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 IDEAS_IDEAS_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 IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.so IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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: IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_328': IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0xacb): undefined reference to `spatialDistribution' /usr/bin/ld: IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_351': IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x1890): undefined reference to `spatialDistribution' /usr/bin/ld: IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_377': IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x20c0): undefined reference to `spatialDistribution' /usr/bin/ld: IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_398': IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x2ad4): undefined reference to `spatialDistribution' /usr/bin/ld: IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o: in function `IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_52': IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0xbc4): undefined reference to `spatialDistribution' /usr/bin/ld: IDEAS_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o:IDEAS_IDEAS_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:58: nozip] Error 1