Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Processes.Tests.TransportDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo", uses=false) Using package ThermofluidStream with version 0.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.01089/0.01089, allocations: 170.5 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.805/1.805, allocations: 205.4 MB / 221.3 MB, free: 13.81 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 98.8 kB / 269.6 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8398/0.8398, allocations: 90.59 MB / 408.4 MB, free: 14.99 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.000352/0.0003524, allocations: 8 kB / 485.3 MB, free: 1.988 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4352/0.4356, allocations: 66.29 MB / 0.5387 GB, free: 45.62 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.61/2.046, allocations: 0.7502 GB / 1.289 GB, free: 130.6 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000224/2.046, allocations: 81.19 kB / 1.289 GB, free: 130.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.9202/2.967, allocations: 287.3 MB / 1.57 GB, free: 91.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.395e-06/2.967, allocations: 0 / 1.57 GB, free: 91.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.518e-05/2.967, allocations: 12 kB / 1.57 GB, free: 91.89 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.003848/2.97, allocations: 1.512 MB / 1.571 GB, free: 90.32 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/2.971, allocations: 12.03 kB / 1.571 GB, free: 90.3 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.93e-05/2.971, allocations: 98.45 kB / 1.571 GB, free: 90.2 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/2.972, allocations: 151 kB / 1.571 GB, free: 90.05 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005267/2.972, allocations: 404.8 kB / 1.572 GB, free: 89.61 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.798e-05/2.972, allocations: 37 kB / 1.572 GB, free: 89.58 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.325e-05/2.972, allocations: 55.89 kB / 1.572 GB, free: 89.52 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009833/2.973, allocations: 0.5919 MB / 1.572 GB, free: 88.92 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.852e-05/2.973, allocations: 4 kB / 1.572 GB, free: 88.91 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.911e-05/2.973, allocations: 20 kB / 1.572 GB, free: 88.89 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/2.973, allocations: 15.98 kB / 1.572 GB, free: 88.88 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009376/2.974, allocations: 0.4962 MB / 1.573 GB, free: 88.38 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002617/2.977, allocations: 2.423 MB / 1.575 GB, free: 85.72 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009436/2.978, allocations: 0.518 MB / 1.576 GB, free: 85.19 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002049/2.978, allocations: 102.9 kB / 1.576 GB, free: 85.09 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006605/2.979, allocations: 426.3 kB / 1.576 GB, free: 84.65 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=58): time 2.785e-06/2.979, allocations: 0 / 1.576 GB, free: 84.65 MB / 0.5886 GB Notification: Performance of matching and sorting (n=58): time 0.002585/2.981, allocations: 1.297 MB / 1.577 GB, free: 83.27 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.603e-05/2.982, allocations: 89.11 kB / 1.578 GB, free: 83.16 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003118/2.982, allocations: 333.2 kB / 1.578 GB, free: 82.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.105e-05/2.982, allocations: 37.7 kB / 1.578 GB, free: 82.79 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/2.982, allocations: 260.9 kB / 1.578 GB, free: 82.53 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.000122/2.982, allocations: 197.1 kB / 1.578 GB, free: 82.34 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.05e-05/2.982, allocations: 12 kB / 1.578 GB, free: 82.32 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.085e-05/2.982, allocations: 366.8 kB / 1.579 GB, free: 81.96 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004628/2.983, allocations: 229.1 kB / 1.579 GB, free: 81.73 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004795/2.983, allocations: 307.1 kB / 1.579 GB, free: 81.41 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005109/2.984, allocations: 305.6 kB / 1.58 GB, free: 81.1 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/2.984, allocations: 4 kB / 1.58 GB, free: 81.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001457/2.985, allocations: 0.8306 MB / 1.58 GB, free: 80.24 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/2.985, allocations: 67.45 kB / 1.58 GB, free: 80.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.799e-05/2.985, allocations: 11.98 kB / 1.58 GB, free: 80.15 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002918/2.986, allocations: 81.62 kB / 1.58 GB, free: 80.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004457/2.986, allocations: 131.8 kB / 1.581 GB, free: 79.94 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/2.988, allocations: 2.855 MB / 1.583 GB, free: 76.81 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005847/2.988, allocations: 71.62 kB / 1.583 GB, free: 76.74 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001093/2.989, allocations: 75.97 kB / 1.584 GB, free: 76.67 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.sawTooth.T_start,sawTooth.T_start,$PRE.sawTooth.count,sawTooth.count,$whenCondition1,$PRE.sawTooth1.T_start,sawTooth1.T_start,$PRE.sawTooth1.count,sawTooth1.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000342/2.989, allocations: 177.5 kB / 1.584 GB, free: 76.48 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.803e-05/2.989, allocations: 59.3 kB / 1.584 GB, free: 76.43 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002335/2.991, allocations: 0.995 MB / 1.585 GB, free: 75.41 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/2.991, allocations: 7.953 kB / 1.585 GB, free: 75.41 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/2.991, allocations: 4 kB / 1.585 GB, free: 75.4 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.506e-06/2.991, allocations: 7.984 kB / 1.585 GB, free: 75.39 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002251/2.994, allocations: 1.595 MB / 1.586 GB, free: 73.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.49e-05/2.994, allocations: 11.98 kB / 1.586 GB, free: 73.72 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004424/2.994, allocations: 119.9 kB / 1.586 GB, free: 73.6 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002398/2.994, allocations: 77.58 kB / 1.587 GB, free: 73.52 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-05/2.994, allocations: 47.98 kB / 1.587 GB, free: 73.47 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/2.996, allocations: 2.854 MB / 1.589 GB, free: 70.36 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/2.996, allocations: 7.922 kB / 1.589 GB, free: 70.35 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001984/2.998, allocations: 1.255 MB / 1.591 GB, free: 69.05 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002699/2.998, allocations: 196.3 kB / 1.591 GB, free: 68.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.539e-05/2.998, allocations: 19.98 kB / 1.591 GB, free: 68.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004775/2.999, allocations: 51.81 kB / 1.591 GB, free: 68.77 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001854/2.999, allocations: 83.83 kB / 1.591 GB, free: 68.68 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.383e-05/2.999, allocations: 75.97 kB / 1.591 GB, free: 68.61 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0002496/3, allocations: 267.1 kB / 1.591 GB, free: 68.35 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.5e-07/3, allocations: 0 / 1.591 GB, free: 68.35 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002308/3.002, allocations: 0.6007 MB / 1.592 GB, free: 67.75 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (transportDelay1.x,flowResistance1.inlet.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,sawTooth1.T_start,sawTooth1.count,$whenCondition2,sawTooth.T_start,sawTooth.count) * Number of discrete states: 2 (sawTooth.count,sawTooth1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005251/3.007, allocations: 3.468 MB / 1.595 GB, free: 64.25 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001853/3.009, allocations: 1.119 MB / 1.596 GB, free: 63.04 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/3.009, allocations: 4.062 kB / 1.596 GB, free: 63.03 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0009418/3.01, allocations: 0.7503 MB / 1.597 GB, free: 62.22 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008979/3.011, allocations: 164.7 kB / 1.597 GB, free: 62.06 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006246/3.017, allocations: 4.606 MB / 1.602 GB, free: 57.37 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/3.017, allocations: 0.8951 MB / 1.603 GB, free: 56.45 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009544/3.018, allocations: 180.2 kB / 1.603 GB, free: 56.27 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000445/3.019, allocations: 247.3 kB / 1.603 GB, free: 56.02 MB / 0.5886 GB Notification: Performance of SimCode: time 1.623e-06/3.019, allocations: 0 / 1.603 GB, free: 56.02 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05448/3.073, allocations: 37.94 MB / 1.64 GB, free: 18.25 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/3.074, allocations: 255.8 kB / 1.64 GB, free: 17.92 MB / 0.5886 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.c:7: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_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); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.c:462:3: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] spatialDistribution(data->localData[0]->realVars[62] /* transportDelay.v_in variable */, DIVISION_SIM(1.0,fmax(data->simulationInfo->realParameter[61] /* transportDelay.rho_min PARAM */,(0.003483698772453621) * (DIVISION_SIM(data->localData[0]->realVars[48] /* sink.inlet.state.p variable */,omc_ThermofluidStream_Processes__omcQTransportDelay_24transportDelay_Medium_T__h(threadData, 293586.6852371418),"ThermofluidStream.Processes.TransportDelay$transportDelay.Medium.T_h(293586.6852371418)",equationIndexes))),"max(transportDelay.rho_min, 0.003483698772453621 * sink.inlet.state.p / ThermofluidStream.Processes.TransportDelay$transportDelay.Medium.T_h(293586.6852371418))",equationIndexes), data->localData[0]->realVars[2] /* transportDelay.x STATE(1,transportDelay.v) */, 1, tmp22, tmp23 ,&data->localData[0]->realVars[63] /* transportDelay.v_out variable */); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.c:547:3: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] spatialDistribution(data->localData[0]->realVars[59] /* transportDelay.u_in variable */, omc_ThermofluidStream_Media_myMedia_IdealGases_Common_Functions_h__T(threadData, tmp24, omc_ThermofluidStream_Processes__omcQTransportDelay_24transportDelay_Medium_T__h(threadData, 293586.6852371418), 1, 1, 0.0) + (-287.0512249529787) * (omc_ThermofluidStream_Processes__omcQTransportDelay_24transportDelay_Medium_T__h(threadData, 293586.6852371418)), data->localData[0]->realVars[2] /* transportDelay.x STATE(1,transportDelay.v) */, 1, tmp30, tmp31 ,&data->localData[0]->realVars[60] /* transportDelay.u_out variable */); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.c:970:3: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] spatialDistribution(data->localData[0]->realVars[72] /* transportDelay1.v_in variable */, DIVISION_SIM(1.0,fmax(data->simulationInfo->realParameter[70] /* transportDelay1.rho_min PARAM */,(0.003483698772453621) * (DIVISION_SIM(data->localData[0]->realVars[52] /* sink1.inlet.state.p variable */,omc_ThermofluidStream_Processes__omcQTransportDelay_24transportDelay1_Medium_T__h(threadData, 293586.6852371418),"ThermofluidStream.Processes.TransportDelay$transportDelay1.Medium.T_h(293586.6852371418)",equationIndexes))),"max(transportDelay1.rho_min, 0.003483698772453621 * sink1.inlet.state.p / ThermofluidStream.Processes.TransportDelay$transportDelay1.Medium.T_h(293586.6852371418))",equationIndexes), data->localData[0]->realVars[3] /* transportDelay1.x STATE(1,transportDelay1.v) */, 1, tmp55, tmp56 ,&data->localData[0]->realVars[73] /* transportDelay1.v_out variable */); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.c:1055:3: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] spatialDistribution(data->localData[0]->realVars[69] /* transportDelay1.u_in variable */, omc_ThermofluidStream_Media_myMedia_IdealGases_Common_Functions_h__T(threadData, tmp57, omc_ThermofluidStream_Processes__omcQTransportDelay_24transportDelay1_Medium_T__h(threadData, 293586.6852371418), 1, 1, 0.0) + (-287.0512249529787) * (omc_ThermofluidStream_Processes__omcQTransportDelay_24transportDelay1_Medium_T__h(threadData, 293586.6852371418)), data->localData[0]->realVars[3] /* transportDelay1.x STATE(1,transportDelay1.v) */, 1, tmp63, tmp64 ,&data->localData[0]->realVars[70] /* transportDelay1.u_out variable */); ^ 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_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); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:397:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:397:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:397:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:775:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:775:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:775:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:2871:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:2871:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:2871:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:3278:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:3278:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:3278:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:3688:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:3688:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:3688:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:4098:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:4098:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:4098:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 8 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_records.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_records.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_01exo.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_01exo.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_01exo.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_02nls.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_02nls.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_02nls.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_03lsy.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_03lsy.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_03lsy.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_04set.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_04set.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_04set.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_05evt.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_05evt.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_05evt.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_06inz.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_06inz.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_06inz.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_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); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_06inz.c:321:3: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] spatialDistribution(data->localData[0]->realVars[72] /* transportDelay1.v_in variable */, DIVISION_SIM(1.0,fmax(data->simulationInfo->realParameter[70] /* transportDelay1.rho_min PARAM */,(0.003483698772453621) * (DIVISION_SIM(data->localData[0]->realVars[52] /* sink1.inlet.state.p variable */,omc_ThermofluidStream_Processes__omcQTransportDelay_24transportDelay1_Medium_T__h(threadData, 293586.6852371418),"ThermofluidStream.Processes.TransportDelay$transportDelay1.Medium.T_h(293586.6852371418)",equationIndexes))),"max(transportDelay1.rho_min, 0.003483698772453621 * sink1.inlet.state.p / ThermofluidStream.Processes.TransportDelay$transportDelay1.Medium.T_h(293586.6852371418))",equationIndexes), data->localData[0]->realVars[3] /* transportDelay1.x STATE(1,transportDelay1.v) */, 1, tmp12, tmp13 ,&data->localData[0]->realVars[73] /* transportDelay1.v_out variable */); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_06inz.c:359:3: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] spatialDistribution(data->localData[0]->realVars[69] /* transportDelay1.u_in variable */, omc_ThermofluidStream_Media_myMedia_IdealGases_Common_Functions_h__T(threadData, tmp14, omc_ThermofluidStream_Processes__omcQTransportDelay_24transportDelay1_Medium_T__h(threadData, 293586.6852371418), 1, 1, 0.0) + (-287.0512249529787) * (omc_ThermofluidStream_Processes__omcQTransportDelay_24transportDelay1_Medium_T__h(threadData, 293586.6852371418)), data->localData[0]->realVars[3] /* transportDelay1.x STATE(1,transportDelay1.v) */, 1, tmp20, tmp21 ,&data->localData[0]->realVars[70] /* transportDelay1.u_out variable */); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_06inz.c:703:3: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] spatialDistribution(data->localData[0]->realVars[62] /* transportDelay.v_in variable */, DIVISION_SIM(1.0,fmax(data->simulationInfo->realParameter[61] /* transportDelay.rho_min PARAM */,(0.003483698772453621) * (DIVISION_SIM(data->localData[0]->realVars[48] /* sink.inlet.state.p variable */,omc_ThermofluidStream_Processes__omcQTransportDelay_24transportDelay_Medium_T__h(threadData, 293586.6852371418),"ThermofluidStream.Processes.TransportDelay$transportDelay.Medium.T_h(293586.6852371418)",equationIndexes))),"max(transportDelay.rho_min, 0.003483698772453621 * sink.inlet.state.p / ThermofluidStream.Processes.TransportDelay$transportDelay.Medium.T_h(293586.6852371418))",equationIndexes), data->localData[0]->realVars[2] /* transportDelay.x STATE(1,transportDelay.v) */, 1, tmp34, tmp35 ,&data->localData[0]->realVars[63] /* transportDelay.v_out variable */); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_06inz.c:741:3: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] spatialDistribution(data->localData[0]->realVars[59] /* transportDelay.u_in variable */, omc_ThermofluidStream_Media_myMedia_IdealGases_Common_Functions_h__T(threadData, tmp36, omc_ThermofluidStream_Processes__omcQTransportDelay_24transportDelay_Medium_T__h(threadData, 293586.6852371418), 1, 1, 0.0) + (-287.0512249529787) * (omc_ThermofluidStream_Processes__omcQTransportDelay_24transportDelay_Medium_T__h(threadData, 293586.6852371418)), data->localData[0]->realVars[2] /* transportDelay.x STATE(1,transportDelay.v) */, 1, tmp42, tmp43 ,&data->localData[0]->realVars[60] /* transportDelay.u_out variable */); ^ 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_07dly.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_07dly.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_07dly.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_08bnd.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_08bnd.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_08bnd.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_09alg.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_09alg.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_09alg.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_10asr.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_10asr.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_10asr.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_11mix.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_11mix.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_11mix.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_12jac.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_12jac.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_12jac.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_13opt.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_13opt.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_13opt.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_14lnz.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_14lnz.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_14lnz.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_15syn.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_15syn.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_15syn.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_16dae.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_16dae.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_16dae.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_17inl.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_17inl.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_17inl.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_init_fmu.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_init_fmu.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_init_fmu.c:1: In file included from ./simulation_data.h:39: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_FMU.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_FMU.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_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 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_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 ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.so ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_records.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_01exo.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_02nls.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_03lsy.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_04set.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_05evt.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_06inz.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_07dly.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_08bnd.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_09alg.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_10asr.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_11mix.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_12jac.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_13opt.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_14lnz.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_15syn.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_16dae.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_17inl.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_init_fmu.o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Processes/Tests" -Wl,-Bstatic "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Resources/Library" -lModelicaExternalC -Wl,-Bdynamic -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -Wl,--no-as-needed -Wl,--disable-new-dtags -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.o: in function `ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_eqFunction_111': ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.c:(.text+0x15cf): undefined reference to `spatialDistribution' /usr/bin/ld: ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.o: in function `ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_eqFunction_116': ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.c:(.text+0x1b10): undefined reference to `spatialDistribution' /usr/bin/ld: ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.o: in function `ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_eqFunction_147': ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.c:(.text+0x33ff): undefined reference to `spatialDistribution' /usr/bin/ld: ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.o: in function `ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_eqFunction_152': ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.c:(.text+0x3941): undefined reference to `spatialDistribution' /usr/bin/ld: ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_06inz.o: in function `ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_eqFunction_36': ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_06inz.c:(.text+0xf04): undefined reference to `spatialDistribution' /usr/bin/ld: ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_06inz.o:ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_06inz.c:(.text+0x1210): 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