Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_OM_adaptions_ThermofluidStream.Undirected.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.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_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.00101/0.00101, allocations: 174.5 kB / 12.73 MB, free: 2.59 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.481/1.481, allocations: 205.2 MB / 218.5 MB, free: 9.211 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.000979/0.0009783, allocations: 87.77 kB / 266.6 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/package.mo): time 0.8176/0.8176, allocations: 90.35 MB / 405 MB, free: 8.629 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.213e-05, allocations: 0 / 479.3 MB, free: 14.23 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3863, allocations: 66.26 MB / 0.5327 GB, free: 28.61 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.755/2.141, allocations: 0.7551 GB / 1.288 GB, free: 97.59 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002084/2.141, allocations: 91.94 kB / 1.288 GB, free: 97.5 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.9566/3.098, allocations: 299.9 MB / 1.581 GB, free: 36.78 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.004e-06/3.098, allocations: 0 / 1.581 GB, free: 36.78 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.662e-05/3.098, allocations: 19.98 kB / 1.581 GB, free: 36.76 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: 154 * Number of variables: 154 Notification: Performance of Generate backend data structure: time 0.00571/3.104, allocations: 1.67 MB / 1.583 GB, free: 35.03 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.767e-05/3.104, allocations: 12.03 kB / 1.583 GB, free: 35.02 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003095/3.104, allocations: 102.5 kB / 1.583 GB, free: 34.91 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001493/3.106, allocations: 182.9 kB / 1.583 GB, free: 34.73 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009519/3.107, allocations: 476.4 kB / 1.583 GB, free: 34.22 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-05/3.107, allocations: 75 kB / 1.583 GB, free: 34.14 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/3.107, allocations: 67.91 kB / 1.583 GB, free: 34.08 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/3.108, allocations: 0.7034 MB / 1.584 GB, free: 33.36 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/3.108, allocations: 3.953 kB / 1.584 GB, free: 33.35 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.844e-05/3.109, allocations: 32 kB / 1.584 GB, free: 33.32 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.111e-05/3.109, allocations: 19.98 kB / 1.584 GB, free: 33.3 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009426/3.11, allocations: 0.5324 MB / 1.585 GB, free: 32.77 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004411/3.114, allocations: 3.532 MB / 1.588 GB, free: 28.89 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/3.115, allocations: 0.6228 MB / 1.589 GB, free: 28.25 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004579/3.116, allocations: 310.2 kB / 1.589 GB, free: 27.94 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007541/3.116, allocations: 414.5 kB / 1.589 GB, free: 27.48 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006534/3.117, allocations: 471.8 kB / 1.59 GB, free: 27 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=76): time 3.778e-06/3.117, allocations: 11.94 kB / 1.59 GB, free: 26.99 MB / 0.5886 GB Notification: Performance of matching and sorting (n=76): time 0.00156/3.119, allocations: 0.7577 MB / 1.591 GB, free: 26.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.707e-05/3.119, allocations: 93.09 kB / 1.591 GB, free: 26.12 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004845/3.119, allocations: 400.7 kB / 1.591 GB, free: 25.72 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.635e-05/3.119, allocations: 41.7 kB / 1.591 GB, free: 25.67 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/3.119, allocations: 312.5 kB / 1.591 GB, free: 25.36 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001973/3.12, allocations: 248.4 kB / 1.592 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.524e-05/3.12, allocations: 16 kB / 1.592 GB, free: 25.1 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.502e-05/3.12, allocations: 374.8 kB / 1.592 GB, free: 24.73 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004166/3.12, allocations: 245.5 kB / 1.592 GB, free: 24.49 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/3.121, allocations: 327.9 kB / 1.593 GB, free: 24.14 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004792/3.121, allocations: 326.1 kB / 1.593 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/3.121, allocations: 0 / 1.593 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001509/3.123, allocations: 0.9088 MB / 1.594 GB, free: 22.87 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/3.123, allocations: 71.34 kB / 1.594 GB, free: 22.79 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.674e-05/3.123, allocations: 11.98 kB / 1.594 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003218/3.123, allocations: 85.83 kB / 1.594 GB, free: 22.69 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007169/3.124, allocations: 195.7 kB / 1.594 GB, free: 22.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/3.126, allocations: 2.831 MB / 1.597 GB, free: 19.4 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008494/3.127, allocations: 127.3 kB / 1.597 GB, free: 19.28 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001687/3.127, allocations: 91.97 kB / 1.597 GB, free: 19.19 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 7 * 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.0002442/3.127, allocations: 152.1 kB / 1.597 GB, free: 19.04 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001773/3.127, allocations: 63.2 kB / 1.597 GB, free: 18.97 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002772/3.13, allocations: 1.162 MB / 1.598 GB, free: 17.79 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/3.13, allocations: 8 kB / 1.598 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/3.13, allocations: 0 / 1.598 GB, free: 17.78 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/3.13, allocations: 7.969 kB / 1.598 GB, free: 17.77 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/3.133, allocations: 1.841 MB / 1.6 GB, free: 15.86 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/3.133, allocations: 8 kB / 1.6 GB, free: 15.85 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006674/3.134, allocations: 195.8 kB / 1.6 GB, free: 15.66 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002615/3.134, allocations: 77.66 kB / 1.6 GB, free: 15.58 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.711e-05/3.134, allocations: 51.95 kB / 1.601 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/3.136, allocations: 2.83 MB / 1.603 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/3.136, allocations: 3.938 kB / 1.603 GB, free: 12.43 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001964/3.138, allocations: 1.38 MB / 1.605 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004091/3.138, allocations: 236 kB / 1.605 GB, free: 10.76 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001595/3.138, allocations: 16 kB / 1.605 GB, free: 10.74 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007573/3.139, allocations: 87.86 kB / 1.605 GB, free: 10.66 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002466/3.139, allocations: 107.8 kB / 1.605 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/3.139, allocations: 83.97 kB / 1.605 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0003499/3.14, allocations: 317.6 kB / 1.605 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.41e-07/3.14, allocations: 4 kB / 1.605 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002843/3.143, allocations: 0.6904 MB / 1.606 GB, free: 9.465 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.rear.m_flow,transportDelay.x,flowResistance.inlet.m_flow) * Number of discrete variables: 6 ($whenCondition1,trapezoid1.T_start,trapezoid1.count,$whenCondition2,trapezoid.T_start,trapezoid.count) * Number of discrete states: 2 (trapezoid.count,trapezoid1.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.00694/3.15, allocations: 3.669 MB / 1.61 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001896/3.151, allocations: 1.172 MB / 1.611 GB, free: 4.48 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/3.151, allocations: 4 kB / 1.611 GB, free: 4.477 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0009124/3.152, allocations: 0.7903 MB / 1.612 GB, free: 3.625 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/3.154, allocations: 202.3 kB / 1.612 GB, free: 3.43 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004399/3.158, allocations: 1.632 MB / 1.613 GB, free: 1.738 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003532/3.158, allocations: 0.9434 MB / 1.614 GB, free: 0.7695 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001364/3.16, allocations: 272.8 kB / 1.615 GB, free: 0.5039 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005904/3.16, allocations: 347.3 kB / 1.615 GB, free: 168 kB / 0.5886 GB Notification: Performance of SimCode: time 8.72e-07/3.16, allocations: 0 / 1.615 GB, free: 168 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4096/3.57, allocations: 46.15 MB / 1.66 GB, free: 106.9 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001616/3.57, allocations: 234.3 kB / 1.66 GB, free: 106.6 MB / 0.5886 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:7: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:497:3: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] spatialDistribution(data->localData[0]->realVars[74] /* transportDelay.v_in variable */, DIVISION_SIM(1.0,fmax(data->simulationInfo->realParameter[60] /* transportDelay.rho_min PARAM */,(0.003483698772453621) * (DIVISION_SIM(data->localData[0]->realVars[63] /* sink.inlet.state.p variable */,omc_ThermofluidStream_Processes_D_TransportDelay24transportDelay_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, tmp30, tmp31 ,&data->localData[0]->realVars[75] /* transportDelay.v_out variable */); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:582:3: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] spatialDistribution(data->localData[0]->realVars[71] /* transportDelay.u_in variable */, omc_ThermofluidStream_Media_myMedia_IdealGases_Common_Functions_h__T(threadData, tmp32, omc_ThermofluidStream_Processes_D_TransportDelay24transportDelay_Medium_T__h(threadData, 293586.6852371418), 1, 1, 0.0) + (-287.0512249529787) * (omc_ThermofluidStream_Processes_D_TransportDelay24transportDelay_Medium_T__h(threadData, 293586.6852371418)), data->localData[0]->realVars[2] /* transportDelay.x STATE(1,transportDelay.v) */, 1, tmp38, tmp39 ,&data->localData[0]->realVars[72] /* transportDelay.u_out variable */); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:1196:80: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[89] /* transportDelay1.u_rear_out variable */ = spatialDistribution(data->localData[0]->realVars[88] /* transportDelay1.u_rear_in variable */, data->localData[0]->realVars[86] /* transportDelay1.u_fore_in variable */, data->localData[0]->realVars[3] /* transportDelay1.x STATE(1,transportDelay1.v) */, tmp82, tmp83, tmp84 ,&data->localData[0]->realVars[87] /* transportDelay1.u_fore_out variable */); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:1215:80: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[94] /* transportDelay1.v_rear_out variable */ = spatialDistribution(data->localData[0]->realVars[93] /* transportDelay1.v_rear_in variable */, data->localData[0]->realVars[91] /* transportDelay1.v_fore_in variable */, data->localData[0]->realVars[3] /* transportDelay1.x STATE(1,transportDelay1.v) */, tmp85, tmp86, tmp87 ,&data->localData[0]->realVars[92] /* transportDelay1.v_fore_out variable */); ^ 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:347:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:347:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:347:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:2143:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:2143:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:2143:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:2553:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:2553:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:2553:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:2931:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:2931:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:2931:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:3309:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:3309:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:3309:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:4082:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:4082:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:4082:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:4460:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:4460:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:4460:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 9 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_records.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_records.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_01exo.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_01exo.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_01exo.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_02nls.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_02nls.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_02nls.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_03lsy.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_03lsy.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_03lsy.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_04set.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_04set.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_04set.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_05evt.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_05evt.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_05evt.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:430:80: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[94] /* transportDelay1.v_rear_out variable */ = spatialDistribution(data->localData[0]->realVars[93] /* transportDelay1.v_rear_in variable */, data->localData[0]->realVars[91] /* transportDelay1.v_fore_in variable */, data->localData[0]->realVars[3] /* transportDelay1.x STATE(1,transportDelay1.v) */, tmp20, tmp21, tmp22 ,&data->localData[0]->realVars[92] /* transportDelay1.v_fore_out variable */); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:450:80: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[89] /* transportDelay1.u_rear_out variable */ = spatialDistribution(data->localData[0]->realVars[88] /* transportDelay1.u_rear_in variable */, data->localData[0]->realVars[86] /* transportDelay1.u_fore_in variable */, data->localData[0]->realVars[3] /* transportDelay1.x STATE(1,transportDelay1.v) */, tmp23, tmp24, tmp25 ,&data->localData[0]->realVars[87] /* transportDelay1.u_fore_out variable */); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:815:3: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] spatialDistribution(data->localData[0]->realVars[74] /* transportDelay.v_in variable */, DIVISION_SIM(1.0,fmax(data->simulationInfo->realParameter[60] /* transportDelay.rho_min PARAM */,(0.003483698772453621) * (DIVISION_SIM(data->localData[0]->realVars[63] /* sink.inlet.state.p variable */,omc_ThermofluidStream_Processes_D_TransportDelay24transportDelay_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, tmp37, tmp38 ,&data->localData[0]->realVars[75] /* transportDelay.v_out variable */); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:853:3: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] spatialDistribution(data->localData[0]->realVars[71] /* transportDelay.u_in variable */, omc_ThermofluidStream_Media_myMedia_IdealGases_Common_Functions_h__T(threadData, tmp39, omc_ThermofluidStream_Processes_D_TransportDelay24transportDelay_Medium_T__h(threadData, 293586.6852371418), 1, 1, 0.0) + (-287.0512249529787) * (omc_ThermofluidStream_Processes_D_TransportDelay24transportDelay_Medium_T__h(threadData, 293586.6852371418)), data->localData[0]->realVars[2] /* transportDelay.x STATE(1,transportDelay.v) */, 1, tmp45, tmp46 ,&data->localData[0]->realVars[72] /* transportDelay.u_out variable */); ^ 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_07dly.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_07dly.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_07dly.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_08bnd.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_08bnd.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_08bnd.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_09alg.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_09alg.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_09alg.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_10asr.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_10asr.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_10asr.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_11mix.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_11mix.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_11mix.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_12jac.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_12jac.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_12jac.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_13opt.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_13opt.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_13opt.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_14lnz.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_14lnz.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_14lnz.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_15syn.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_15syn.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_15syn.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_16dae.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_16dae.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_16dae.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_17inl.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_17inl.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_17inl.c:2: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_init_fmu.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_init_fmu.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -c -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_FMU.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_FMU.c In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_FMU.c:54: ./fmi-export/fmu2_model_interface.c.inc:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.so ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_records.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_01exo.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_02nls.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_03lsy.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_04set.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_05evt.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_07dly.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_08bnd.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_09alg.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_10asr.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_11mix.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_12jac.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_13opt.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_14lnz.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_15syn.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_16dae.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_17inl.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_init_fmu.o ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Undirected/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_Undirected_Processes_Tests_TransportDelay.o: in function `ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_eqFunction_129': ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:(.text+0x192f): undefined reference to `spatialDistribution' /usr/bin/ld: ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.o: in function `ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_eqFunction_134': ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:(.text+0x1e70): undefined reference to `spatialDistribution' /usr/bin/ld: ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.o: in function `ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_eqFunction_168': ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:(.text+0x44c5): undefined reference to `spatialDistribution' /usr/bin/ld: ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.o: in function `ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_eqFunction_169': ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:(.text+0x4619): undefined reference to `spatialDistribution' /usr/bin/ld: ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.o: in function `ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_eqFunction_47': ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:(.text+0x10de): undefined reference to `spatialDistribution' /usr/bin/ld: ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.o:ThermofluidStream_OM_adaptions_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:(.text+0x11c8): more undefined references to `spatialDistribution' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:32: nozip] Error 1