Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.PlugFlowPipe,fileNamePrefix="IDEAS_dev_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.007091/0.007091, 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.9711/0.9711, allocations: 135.2 MB / 151 MB, free: 13.83 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.569/1.569, allocations: 223.2 MB / 406.8 MB, free: 3.25 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.0009996/0.0009998, allocations: 92.75 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005932/0.0005932, allocations: 11.98 kB / 0.5691 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5814/0.582, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.631/2.214, allocations: 415.5 MB / 1.055 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003486/2.214, allocations: 102.9 kB / 1.055 GB, free: 177.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.179/6.393, allocations: 0.9783 GB / 2.034 GB, free: 45.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.553e-06/6.393, allocations: 0 / 2.034 GB, free: 45.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0002201/6.393, allocations: 59.75 kB / 2.034 GB, free: 45.25 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.008197/6.401, allocations: 2.705 MB / 2.036 GB, free: 42.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/6.401, allocations: 12.03 kB / 2.036 GB, free: 42.49 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005045/6.402, allocations: 198.6 kB / 2.037 GB, free: 42.29 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009251/6.403, allocations: 263.8 kB / 2.037 GB, free: 42.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04436/6.447, allocations: 16.87 MB / 2.053 GB, free: 25.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.533e-05/6.447, allocations: 102.7 kB / 2.053 GB, free: 25.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002096/6.448, allocations: 139.9 kB / 2.054 GB, free: 24.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002405/6.45, allocations: 1.446 MB / 2.055 GB, free: 23.34 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.558e-05/6.45, allocations: 0 / 2.055 GB, free: 23.34 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000114/6.45, allocations: 60 kB / 2.055 GB, free: 23.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.032e-05/6.45, allocations: 32 kB / 2.055 GB, free: 23.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001575/6.452, allocations: 1.021 MB / 2.056 GB, free: 22.22 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.008095/6.46, allocations: 8.056 MB / 2.064 GB, free: 13.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001243/6.461, allocations: 0.7447 MB / 2.065 GB, free: 12.74 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001739/6.463, allocations: 2.818 MB / 2.067 GB, free: 9.297 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.624e-05/6.463, allocations: 47.22 kB / 2.067 GB, free: 9.238 MB / 0.698 GB Notification: Performance of pre-optimization done (n=83): time 2.945e-06/6.463, allocations: 0 / 2.067 GB, free: 9.238 MB / 0.698 GB Notification: Performance of matching and sorting (n=83): time 0.002108/6.465, allocations: 1.472 MB / 2.069 GB, free: 7.684 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.782e-05/6.465, allocations: 60.06 kB / 2.069 GB, free: 7.613 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001799/6.467, allocations: 1.417 MB / 2.07 GB, free: 6.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.556e-05/6.467, allocations: 45.7 kB / 2.07 GB, free: 6.109 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005666/6.468, allocations: 0.9392 MB / 2.071 GB, free: 5.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/6.468, allocations: 299.8 kB / 2.072 GB, free: 4.863 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.971e-05/6.468, allocations: 24 kB / 2.072 GB, free: 4.84 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.75e-05/6.468, allocations: 346.9 kB / 2.072 GB, free: 4.496 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000528/6.469, allocations: 334.4 kB / 2.072 GB, free: 4.168 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007129/6.469, allocations: 0.715 MB / 2.073 GB, free: 3.285 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006579/6.47, allocations: 449.6 kB / 2.073 GB, free: 2.848 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/6.47, allocations: 0 / 2.073 GB, free: 2.848 MB / 0.698 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001943/6.472, allocations: 1.272 MB / 2.075 GB, free: 1.566 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001522/6.473, allocations: 4.457 MB / 2.079 GB, free: 12.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.46e-05/6.474, allocations: 19.98 kB / 2.079 GB, free: 12.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.349e-05/6.474, allocations: 19.94 kB / 2.079 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008926/6.474, allocations: 263.6 kB / 2.079 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.792e-05/6.474, allocations: 23.88 kB / 2.079 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/6.476, allocations: 202.5 kB / 2.079 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/6.476, allocations: 67.98 kB / 2.08 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.396e-06/6.476, allocations: 4 kB / 2.08 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001893/6.478, allocations: 1.066 MB / 2.081 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.65e-05/6.478, allocations: 12 kB / 2.081 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/6.478, allocations: 20 kB / 2.081 GB, free: 11.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008516/6.479, allocations: 260.1 kB / 2.081 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.082e-05/6.479, allocations: 27.92 kB / 2.081 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001369/6.481, allocations: 178.7 kB / 2.081 GB, free: 10.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/6.481, allocations: 67.97 kB / 2.081 GB, free: 10.56 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.001129/6.482, allocations: 468.8 kB / 2.082 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003043/6.482, allocations: 193.6 kB / 2.082 GB, free: 9.902 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00318/6.485, allocations: 1.725 MB / 2.083 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.551e-05/6.485, allocations: 23.97 kB / 2.083 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/6.485, allocations: 0 / 2.083 GB, free: 8.16 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001712/6.487, allocations: 1.162 MB / 2.085 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005998/6.493, allocations: 3.45 MB / 2.088 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.679e-05/6.493, allocations: 15.98 kB / 2.088 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007228/6.494, allocations: 195.7 kB / 2.088 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.805e-05/6.494, allocations: 12 kB / 2.088 GB, free: 3.137 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.959e-05/6.494, allocations: 44.31 kB / 2.088 GB, free: 3.094 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-05/6.494, allocations: 25.77 kB / 2.088 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/6.494, allocations: 4 kB / 2.088 GB, free: 3.066 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00364/6.498, allocations: 2.675 MB / 2.091 GB, free: 76 kB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.4982/6.996, allocations: 445.7 kB / 2.091 GB, free: 69.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003268/6.996, allocations: 31.94 kB / 2.091 GB, free: 69.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/6.997, allocations: 98.61 kB / 2.091 GB, free: 69.35 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002318/6.998, allocations: 105.7 kB / 2.092 GB, free: 69.35 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001427/6.998, allocations: 57.89 kB / 2.092 GB, free: 69.35 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002151/7, allocations: 1.086 MB / 2.093 GB, free: 69.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.91e-07/7, allocations: 1.875 kB / 2.093 GB, free: 69.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.004412/7.004, allocations: 1.176 MB / 2.094 GB, free: 69.21 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.007152/7.012, allocations: 6.01 MB / 2.1 GB, free: 66.1 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003302/7.015, allocations: 1.837 MB / 2.101 GB, free: 65.83 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/7.015, allocations: 1.406 kB / 2.101 GB, free: 65.83 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001078/7.016, allocations: 0.756 MB / 2.102 GB, free: 65.7 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00466/7.021, allocations: 0.9026 MB / 2.103 GB, free: 65.68 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01183/7.033, allocations: 13.54 MB / 2.116 GB, free: 55.68 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009909/7.034, allocations: 1.477 MB / 2.118 GB, free: 54.95 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.00239/7.036, allocations: 0.5392 MB / 2.118 GB, free: 54.93 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/7.037, allocations: 0.8517 MB / 2.119 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of SimCode: time 1.022e-06/7.037, allocations: 0 / 2.119 GB, free: 54.92 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1299/7.167, allocations: 64.39 MB / 2.182 GB, free: 51.84 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/7.167, allocations: 216.2 kB / 2.182 GB, free: 51.6 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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:7: In file included from ./IDEAS_dev_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_dev_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_dev_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_dev_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_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.c:2: In file included from ./IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_records.c In file included from IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.c:2: In file included from ./IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.c:2: In file included from ./IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.c:2: In file included from ./IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.c:2: In file included from ./IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.c:2: In file included from ./IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:2: In file included from ./IDEAS_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.c:2: In file included from ./IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.c:2: In file included from ./IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.c:2: In file included from ./IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.c:2: In file included from ./IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.c:2: In file included from ./IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.c:2: In file included from ./IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.c:2: In file included from ./IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.c:2: In file included from ./IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.c:2: In file included from ./IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.c:2: In file included from ./IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c In file included from IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.c:2: In file included from ./IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.c In file included from IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_FMU.c In file included from IDEAS_dev_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_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.so IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_functions.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_records.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_01exo.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_02nls.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_03lsy.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_04set.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_05evt.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_07dly.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_08bnd.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_09alg.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_10asr.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_11mix.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_12jac.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_13opt.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_14lnz.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_15syn.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_16dae.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_17inl.o IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_init_fmu.o IDEAS_dev_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_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_328': IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0xacb): undefined reference to `spatialDistribution' /usr/bin/ld: IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_351': IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x1890): undefined reference to `spatialDistribution' /usr/bin/ld: IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_377': IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x20c0): undefined reference to `spatialDistribution' /usr/bin/ld: IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.o: in function `IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_398': IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe.c:(.text+0x2ad4): undefined reference to `spatialDistribution' /usr/bin/ld: IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o: in function `IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_eqFunction_52': IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.c:(.text+0xbc4): undefined reference to `spatialDistribution' /usr/bin/ld: IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_PlugFlowPipe_06inz.o:IDEAS_dev_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