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.001364/0.001364, allocations: 180.9 kB / 7.651 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.705/1.705, allocations: 205.3 MB / 213.4 MB, free: 13.7 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.0009427/0.0009427, allocations: 82.31 kB / 261.4 MB, free: 13.45 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.7916/0.7916, allocations: 90.36 MB / 399.7 MB, free: 12.1 MB / 298.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.428e-05/1.429e-05, allocations: 0 / 472.3 MB, free: 3.34 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3836/0.3837, allocations: 66.25 MB / 0.5259 GB, free: 29.02 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.732/2.116, allocations: 0.7495 GB / 1.275 GB, free: 96.59 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002176/2.116, allocations: 83.89 kB / 1.275 GB, free: 96.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 0.9308/3.047, allocations: 283.9 MB / 1.553 GB, free: 64.97 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.433e-06/3.047, allocations: 0 / 1.553 GB, free: 64.97 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.4e-05/3.047, allocations: 11.98 kB / 1.553 GB, free: 64.96 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.004636/3.052, allocations: 1.436 MB / 1.554 GB, free: 63.46 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/3.052, allocations: 8.031 kB / 1.554 GB, free: 63.46 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001302/3.053, allocations: 147.1 kB / 1.554 GB, free: 63.31 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007765/3.054, allocations: 410.9 kB / 1.555 GB, free: 62.87 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/3.054, allocations: 16 kB / 1.555 GB, free: 62.86 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/3.054, allocations: 31.98 kB / 1.555 GB, free: 62.82 MB / 0.5886 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007494/3.055, allocations: 374.5 kB / 1.555 GB, free: 62.46 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008157/3.056, allocations: 479.7 kB / 1.556 GB, free: 61.98 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.578e-05/3.056, allocations: 3.906 kB / 1.556 GB, free: 61.97 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.692e-05/3.056, allocations: 0 / 1.556 GB, free: 61.97 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.638e-05/3.056, allocations: 15.94 kB / 1.556 GB, free: 61.96 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002785/3.058, allocations: 2.34 MB / 1.558 GB, free: 59.39 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000644/3.059, allocations: 447.6 kB / 1.558 GB, free: 58.94 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002746/3.059, allocations: 210.6 kB / 1.558 GB, free: 58.73 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002253/3.06, allocations: 89.41 kB / 1.559 GB, free: 58.64 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00043/3.06, allocations: 366.9 kB / 1.559 GB, free: 58.27 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=58): time 2.465e-06/3.06, allocations: 0 / 1.559 GB, free: 58.27 MB / 0.5886 GB Notification: Performance of matching and sorting (n=58): time 0.001746/3.062, allocations: 0.6901 MB / 1.56 GB, free: 57.57 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/3.062, allocations: 81.11 kB / 1.56 GB, free: 57.47 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002893/3.062, allocations: 309.3 kB / 1.56 GB, free: 57.16 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.732e-05/3.062, allocations: 29.7 kB / 1.56 GB, free: 57.12 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/3.062, allocations: 260.8 kB / 1.56 GB, free: 56.86 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001358/3.063, allocations: 181.3 kB / 1.56 GB, free: 56.68 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.822e-05/3.063, allocations: 7.938 kB / 1.56 GB, free: 56.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.494e-05/3.063, allocations: 358.8 kB / 1.561 GB, free: 56.32 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/3.063, allocations: 165.3 kB / 1.561 GB, free: 56.16 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/3.063, allocations: 242.8 kB / 1.561 GB, free: 55.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/3.064, allocations: 309.9 kB / 1.561 GB, free: 55.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.463e-06/3.064, allocations: 0 / 1.561 GB, free: 55.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001735/3.066, allocations: 0.7492 MB / 1.562 GB, free: 54.84 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 6.065e-05/3.066, allocations: 63.41 kB / 1.562 GB, free: 54.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.435e-05/3.066, allocations: 11.98 kB / 1.562 GB, free: 54.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003701/3.066, allocations: 81.66 kB / 1.562 GB, free: 54.67 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004893/3.067, allocations: 127.9 kB / 1.562 GB, free: 54.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001989/3.069, allocations: 2.724 MB / 1.565 GB, free: 51.58 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005955/3.07, allocations: 59.69 kB / 1.565 GB, free: 51.52 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/3.07, allocations: 71.92 kB / 1.565 GB, free: 51.45 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 () * 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.0001992/3.07, allocations: 124.8 kB / 1.565 GB, free: 51.32 MB / 0.5886 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001688/3.072, allocations: 0.694 MB / 1.566 GB, free: 50.62 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.825e-05/3.072, allocations: 51.34 kB / 1.566 GB, free: 50.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/3.074, allocations: 0.9567 MB / 1.567 GB, free: 49.6 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/3.074, allocations: 12 kB / 1.567 GB, free: 49.59 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/3.074, allocations: 4 kB / 1.567 GB, free: 49.58 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/3.074, allocations: 3.984 kB / 1.567 GB, free: 49.58 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002381/3.077, allocations: 1.485 MB / 1.568 GB, free: 48.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.569e-05/3.077, allocations: 20.05 kB / 1.568 GB, free: 48.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004489/3.077, allocations: 115.9 kB / 1.569 GB, free: 47.9 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000238/3.077, allocations: 77.59 kB / 1.569 GB, free: 47.82 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.981e-05/3.077, allocations: 31.97 kB / 1.569 GB, free: 47.79 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001565/3.079, allocations: 2.739 MB / 1.571 GB, free: 44.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/3.079, allocations: 0 / 1.571 GB, free: 44.82 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001925/3.081, allocations: 1.178 MB / 1.573 GB, free: 43.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002555/3.081, allocations: 196.3 kB / 1.573 GB, free: 43.39 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/3.081, allocations: 12 kB / 1.573 GB, free: 43.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005031/3.082, allocations: 35.88 kB / 1.573 GB, free: 43.34 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001625/3.082, allocations: 83.78 kB / 1.573 GB, free: 43.26 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.516e-05/3.082, allocations: 71.97 kB / 1.573 GB, free: 43.19 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0001997/3.082, allocations: 243 kB / 1.573 GB, free: 42.95 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.8e-07/3.082, allocations: 0 / 1.573 GB, free: 42.95 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.001948/3.084, allocations: 0.5499 MB / 1.574 GB, free: 42.4 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) * 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.005655/3.09, allocations: 3.592 MB / 1.577 GB, free: 38.77 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001325/3.091, allocations: 0.9571 MB / 1.578 GB, free: 37.73 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/3.091, allocations: 0 / 1.578 GB, free: 37.73 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0007457/3.092, allocations: 0.6736 MB / 1.579 GB, free: 37 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009503/3.093, allocations: 148.1 kB / 1.579 GB, free: 36.86 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003404/3.096, allocations: 1.304 MB / 1.58 GB, free: 35.5 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/3.097, allocations: 0.8871 MB / 1.581 GB, free: 34.59 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0009451/3.098, allocations: 184.1 kB / 1.581 GB, free: 34.41 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004518/3.098, allocations: 255.3 kB / 1.581 GB, free: 34.16 MB / 0.5886 GB Notification: Performance of SimCode: time 1.022e-06/3.098, allocations: 4 kB / 1.581 GB, free: 34.16 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05944/3.158, allocations: 27.72 MB / 1.609 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002658/3.158, allocations: 187.8 kB / 1.609 GB, free: 6.312 MB / 0.5886 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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_Processes_Tests_TransportDelay_FMU.c:54: include/fmi2/fmu2_model_interface.c:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ include/fmi2/fmu2_model_interface.c: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); ^~~~ include/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. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.c:442: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[57],(0.003483698772453621) * (DIVISION_SIM(data->localData[0]->realVars[48] /* sink.inlet.state.p variable */,omc_ThermofluidStream_Processes_TransportDelay$transportDelay_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:527: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_TransportDelay$transportDelay_Medium_T__h(threadData, 293586.6852371418), 1, 1, 0.0) + (-287.0512249529787) * (omc_ThermofluidStream_Processes_TransportDelay$transportDelay_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:947: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[66],(0.003483698772453621) * (DIVISION_SIM(data->localData[0]->realVars[52] /* sink1.inlet.state.p variable */,omc_ThermofluidStream_Processes_TransportDelay$transportDelay1_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:1032: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_TransportDelay$transportDelay1_Medium_T__h(threadData, 293586.6852371418), 1, 1, 0.0) + (-287.0512249529787) * (omc_ThermofluidStream_Processes_TransportDelay$transportDelay1_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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:1: In file included from ./ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.h:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:381:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:381:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:381:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:745:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:745:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:745:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:2822:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:2822:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:2822:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:3214:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:3214:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:3214:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:3609:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:3609:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:3609:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:4004:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:4004:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_functions.c:4004:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 8 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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:3: In file included from include/meta/meta_modelica.h:49: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_06inz.c:318: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[66],(0.003483698772453621) * (DIVISION_SIM(data->localData[0]->realVars[52] /* sink1.inlet.state.p variable */,omc_ThermofluidStream_Processes_TransportDelay$transportDelay1_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:356: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_TransportDelay$transportDelay1_Medium_T__h(threadData, 293586.6852371418), 1, 1, 0.0) + (-287.0512249529787) * (omc_ThermofluidStream_Processes_TransportDelay$transportDelay1_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:697: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[57],(0.003483698772453621) * (DIVISION_SIM(data->localData[0]->realVars[48] /* sink.inlet.state.p variable */,omc_ThermofluidStream_Processes_TransportDelay$transportDelay_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:735: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_TransportDelay$transportDelay_Medium_T__h(threadData, 293586.6852371418), 1, 1, 0.0) + (-287.0512249529787) * (omc_ThermofluidStream_Processes_TransportDelay$transportDelay_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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/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 -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. -DOMC_MODEL_PREFIX=ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=4 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -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 include/simulation_data.h:39: In file included from include/openmodelica.h:69: In file included from include/openmodelica_types.h:110: include/gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ include/gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay.so ThermofluidStream_OM_adaptions_ThermofluidStream_Processes_Tests_TransportDelay_FMU.o 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 -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 0.4.0-OM_adaptions/Processes/Tests" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/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 -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -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+0x1603): 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+0x1b4d): 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+0x3483): 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+0x39ce): 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+0xf0e): 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+0x1223): more undefined references to `spatialDistribution' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:44: nozip] Error 1