Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ThermofluidStream_ThermofluidStream.Undirected.Processes.Tests.TransportDelay.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo", uses=false) Using package ThermofluidStream with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo) Using package ObsoleteModelica4 with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ThermofluidStream.Undirected.Processes.Tests.TransportDelay,fileNamePrefix="ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009355/0.0009354, allocations: 176.2 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.306/1.306, allocations: 221.5 MB / 229.6 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009106/0.0009106, allocations: 94.98 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ObsoleteModelica4 4.0.0+maint.om/package.mo): time 0.008363/0.008363, allocations: 1.56 MB / 332.8 MB, free: 13.53 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.6641/0.6641, allocations: 90.04 MB / 474 MB, free: 13.02 MB / 314.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.653e-05/1.655e-05, allocations: 2.938 kB / 0.5376 GB, free: 33.04 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1365/0.1365, allocations: 69.36 MB / 0.6053 GB, free: 15.99 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.663/1.8, allocations: 0.5764 GB / 1.182 GB, free: 221.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003373/1.8, allocations: 85.36 kB / 1.182 GB, free: 221.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.8683/2.668, allocations: 242.7 MB / 1.419 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/2.668, allocations: 0 / 1.419 GB, free: 126.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.419e-05/2.668, allocations: 16.23 kB / 1.419 GB, free: 126.4 MB / 0.6042 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.004617/2.673, allocations: 1.432 MB / 1.42 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/2.673, allocations: 8.562 kB / 1.42 GB, free: 125.9 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/2.675, allocations: 244.3 kB / 1.42 GB, free: 125.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001066/2.676, allocations: 488.3 kB / 1.421 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.811e-05/2.676, allocations: 57.14 kB / 1.421 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002202/2.677, allocations: 40.28 kB / 1.421 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001038/2.678, allocations: 0.513 MB / 1.422 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/2.679, allocations: 0.6505 MB / 1.422 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.569e-05/2.679, allocations: 0 / 1.422 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.944e-05/2.679, allocations: 0 / 1.422 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.644e-05/2.679, allocations: 20.12 kB / 1.422 GB, free: 125.5 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004487/2.683, allocations: 3.485 MB / 1.426 GB, free: 123.5 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009954/2.684, allocations: 0.6037 MB / 1.426 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/2.685, allocations: 293.9 kB / 1.426 GB, free: 123.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007125/2.685, allocations: 426 kB / 1.427 GB, free: 123 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006705/2.686, allocations: 489.4 kB / 1.427 GB, free: 123 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=76): time 3.606e-06/2.686, allocations: 0 / 1.427 GB, free: 123 MB / 0.6042 GB Notification: Performance of matching and sorting (n=76): time 0.002348/2.689, allocations: 0.8827 MB / 1.428 GB, free: 122.9 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.83e-05/2.689, allocations: 85.92 kB / 1.428 GB, free: 122.8 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004164/2.689, allocations: 360.4 kB / 1.429 GB, free: 122.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.381e-05/2.689, allocations: 29.08 kB / 1.429 GB, free: 122.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/2.689, allocations: 313.7 kB / 1.429 GB, free: 122.5 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002261/2.69, allocations: 251.3 kB / 1.429 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.725e-05/2.69, allocations: 0 / 1.429 GB, free: 122.4 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001173/2.69, allocations: 376.7 kB / 1.43 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003653/2.69, allocations: 230.6 kB / 1.43 GB, free: 122.1 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004256/2.691, allocations: 331.7 kB / 1.43 GB, free: 122 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/2.692, allocations: 392.3 kB / 1.43 GB, free: 122 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/2.692, allocations: 0 / 1.43 GB, free: 122 MB / 0.6042 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.00203/2.694, allocations: 0.9586 MB / 1.431 GB, free: 121.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.598e-05/2.694, allocations: 63.06 kB / 1.431 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.224e-05/2.694, allocations: 22.67 kB / 1.431 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003021/2.694, allocations: 83.05 kB / 1.432 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007181/2.695, allocations: 212.5 kB / 1.432 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/2.697, allocations: 2.721 MB / 1.434 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007845/2.697, allocations: 110.5 kB / 1.435 GB, free: 119.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/2.698, allocations: 110 kB / 1.435 GB, free: 119.4 MB / 0.6042 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.0002119/2.698, allocations: 123.7 kB / 1.435 GB, free: 119.3 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001929/2.7, allocations: 0.8898 MB / 1.436 GB, free: 119.2 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001348/2.7, allocations: 68.28 kB / 1.436 GB, free: 119.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003916/2.704, allocations: 1.948 MB / 1.438 GB, free: 119 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.297e-05/2.704, allocations: 10.03 kB / 1.438 GB, free: 119 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/2.704, allocations: 0 / 1.438 GB, free: 119 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/2.704, allocations: 7.703 kB / 1.438 GB, free: 119 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003286/2.707, allocations: 1.876 MB / 1.439 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-05/2.707, allocations: 19.38 kB / 1.439 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006934/2.708, allocations: 184 kB / 1.44 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002669/2.708, allocations: 91.23 kB / 1.44 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001041/2.708, allocations: 50.25 kB / 1.44 GB, free: 118.6 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/2.71, allocations: 2.736 MB / 1.442 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/2.71, allocations: 0 / 1.442 GB, free: 116.2 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002594/2.713, allocations: 1.486 MB / 1.444 GB, free: 115.8 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003765/2.713, allocations: 243.5 kB / 1.444 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000173/2.713, allocations: 10.92 kB / 1.444 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007498/2.714, allocations: 81.67 kB / 1.444 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002349/2.714, allocations: 107.2 kB / 1.444 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001499/2.714, allocations: 103.7 kB / 1.444 GB, free: 115.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002971/2.715, allocations: 280.8 kB / 1.445 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/2.715, allocations: 0 / 1.445 GB, free: 115.6 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001579/2.716, allocations: 401.6 kB / 1.445 GB, free: 115.6 MB / 0.6042 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.004943/2.721, allocations: 3.523 MB / 1.448 GB, free: 114.3 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001598/2.723, allocations: 1.147 MB / 1.45 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/2.723, allocations: 0 / 1.45 GB, free: 113.8 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0009012/2.724, allocations: 0.7994 MB / 1.45 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001108/2.725, allocations: 188.8 kB / 1.451 GB, free: 113.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003658/2.728, allocations: 1.516 MB / 1.452 GB, free: 113 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000434/2.729, allocations: 0.942 MB / 1.453 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001909/2.731, allocations: 0.9649 MB / 1.454 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007103/2.732, allocations: 368.2 kB / 1.454 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of SimCode: time 1.302e-06/2.732, allocations: 2.438 kB / 1.454 GB, free: 112.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06212/2.794, allocations: 29.82 MB / 1.483 GB, free: 111 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/2.794, allocations: 179.8 kB / 1.484 GB, free: 110.8 MB / 0.6042 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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_FMU.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_FMU.c In file included from ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:7: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:475: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[54],(0.003483698772453621) * (DIVISION_SIM(data->localData[0]->realVars[63] /* 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, tmp28, tmp29 ,&data->localData[0]->realVars[75] /* transportDelay.v_out variable */); ^ ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:600: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, tmp30, 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, tmp36, tmp37 ,&data->localData[0]->realVars[72] /* transportDelay.u_out variable */); ^ ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:1248: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) */, tmp88, tmp89, tmp90 ,&data->localData[0]->realVars[87] /* transportDelay1.u_fore_out variable */); ^ ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:1267: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) */, tmp103, tmp104, tmp105 ,&data->localData[0]->realVars[92] /* transportDelay1.v_fore_out variable */); ^ 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:1: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:119:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:119:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:119:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -Iinclude/ -Iinclude/fmi2 -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_records.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_records.c In file included from ThermofluidStream_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_01exo.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_01exo.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_01exo.c:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_02nls.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_02nls.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_02nls.c:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_03lsy.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_03lsy.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_03lsy.c:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_04set.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_04set.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_04set.c:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_05evt.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_05evt.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_05evt.c:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:426: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) */, tmp18, tmp19, tmp20 ,&data->localData[0]->realVars[92] /* transportDelay1.v_fore_out variable */); ^ ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:486: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) */, tmp21, tmp22, tmp23 ,&data->localData[0]->realVars[87] /* transportDelay1.u_fore_out variable */); ^ ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:848: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[54],(0.003483698772453621) * (DIVISION_SIM(data->localData[0]->realVars[63] /* 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, tmp46, tmp47 ,&data->localData[0]->realVars[75] /* transportDelay.v_out variable */); ^ ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:926: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, tmp48, 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, tmp54, tmp55 ,&data->localData[0]->realVars[72] /* 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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_07dly.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_07dly.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_07dly.c:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_08bnd.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_08bnd.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_08bnd.c:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_09alg.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_09alg.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_09alg.c:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_10asr.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_10asr.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_10asr.c:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_11mix.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_11mix.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_11mix.c:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_12jac.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_12jac.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_12jac.c:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_13opt.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_13opt.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_13opt.c:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_14lnz.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_14lnz.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_14lnz.c:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_15syn.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_15syn.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_15syn.c:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_16dae.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_16dae.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_16dae.c:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_17inl.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_17inl.c In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_17inl.c:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_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. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DOMC_MODEL_PREFIX=ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_init_fmu.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_init_fmu.c In file included from ThermofluidStream_ThermofluidStream_Undirected_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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.so ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_FMU.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_records.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_01exo.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_02nls.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_03lsy.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_04set.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_05evt.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_07dly.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_08bnd.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_09alg.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_10asr.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_11mix.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_12jac.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_13opt.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_14lnz.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_15syn.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_16dae.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_17inl.o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_init_fmu.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/Undirected/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 4.0.0+maint.om/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library" -lModelicaExternalC -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_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.o: in function `ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_eqFunction_129': ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:(.text+0x1e1c): undefined reference to `spatialDistribution' /usr/bin/ld: ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.o: in function `ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_eqFunction_134': ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:(.text+0x2769): undefined reference to `spatialDistribution' /usr/bin/ld: ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.o: in function `ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_eqFunction_168': ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:(.text+0x59af): undefined reference to `spatialDistribution' /usr/bin/ld: ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.o: in function `ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_eqFunction_169': ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:(.text+0x5c2c): undefined reference to `spatialDistribution' /usr/bin/ld: ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.o: in function `ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_eqFunction_47': ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:(.text+0x1663): undefined reference to `spatialDistribution' /usr/bin/ld: ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.o:ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:(.text+0x1b6d): 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