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.00932/0.00932, allocations: 171 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.555/1.555, allocations: 223.2 MB / 239 MB, free: 1.812 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.001567/0.001566, allocations: 103.1 kB / 290.2 MB, free: 13.94 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.00944/0.00944, allocations: 1.559 MB / 342.9 MB, free: 9.273 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/package.mo): time 0.8247/0.8247, allocations: 90.3 MB / 484.7 MB, free: 21.88 MB / 330.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 0.0005251/0.0005251, allocations: 18.31 kB / 0.5527 GB, free: 30.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1869/0.1875, allocations: 69.36 MB / 0.6204 GB, free: 5.527 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.951/2.138, allocations: 0.5771 GB / 1.197 GB, free: 177.6 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000365/2.139, allocations: 90.53 kB / 1.198 GB, free: 177.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.9818/3.121, allocations: 245.8 MB / 1.438 GB, free: 136.2 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.146e-06/3.121, allocations: 0 / 1.438 GB, free: 136.2 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001112/3.121, allocations: 14.88 kB / 1.438 GB, free: 136.2 MB / 0.6198 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.00701/3.128, allocations: 1.533 MB / 1.439 GB, free: 135.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 8.336e-05/3.128, allocations: 15.58 kB / 1.439 GB, free: 135.6 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005281/3.128, allocations: 100.5 kB / 1.439 GB, free: 135.6 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002574/3.131, allocations: 242.2 kB / 1.439 GB, free: 135.6 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001578/3.133, allocations: 481 kB / 1.44 GB, free: 135.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00015/3.133, allocations: 79.28 kB / 1.44 GB, free: 135.3 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003467/3.133, allocations: 71.09 kB / 1.44 GB, free: 135.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00232/3.135, allocations: 0.8609 MB / 1.441 GB, free: 135.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.75e-05/3.136, allocations: 0 / 1.441 GB, free: 135.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001098/3.136, allocations: 24.12 kB / 1.441 GB, free: 135.2 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.707e-05/3.136, allocations: 21.83 kB / 1.441 GB, free: 135.2 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/3.138, allocations: 0.7863 MB / 1.442 GB, free: 135.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005551/3.143, allocations: 3.607 MB / 1.445 GB, free: 133.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001915/3.145, allocations: 0.8222 MB / 1.446 GB, free: 133.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007663/3.146, allocations: 421.9 kB / 1.446 GB, free: 132.8 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001281/3.147, allocations: 0.6073 MB / 1.447 GB, free: 132.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=76): time 6.903e-06/3.147, allocations: 6.781 kB / 1.447 GB, free: 132.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=76): time 0.00411/3.151, allocations: 1.998 MB / 1.449 GB, free: 131.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/3.152, allocations: 90.83 kB / 1.449 GB, free: 131.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000594/3.152, allocations: 411.1 kB / 1.449 GB, free: 131.7 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001134/3.152, allocations: 40.52 kB / 1.45 GB, free: 131.7 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002527/3.153, allocations: 305.3 kB / 1.45 GB, free: 131.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002679/3.153, allocations: 254 kB / 1.45 GB, free: 131.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/3.153, allocations: 12.56 kB / 1.45 GB, free: 131.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001495/3.153, allocations: 378 kB / 1.45 GB, free: 131.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008706/3.154, allocations: 369.3 kB / 1.451 GB, free: 131.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009115/3.155, allocations: 469.8 kB / 1.451 GB, free: 131 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009519/3.156, allocations: 450.6 kB / 1.452 GB, free: 131 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/3.156, allocations: 0 / 1.452 GB, free: 131 MB / 0.6198 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.002623/3.158, allocations: 1.179 MB / 1.453 GB, free: 130.8 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.879e-05/3.159, allocations: 64.58 kB / 1.453 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.926e-05/3.159, allocations: 27.52 kB / 1.453 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003821/3.159, allocations: 89.22 kB / 1.453 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007807/3.16, allocations: 199.3 kB / 1.453 GB, free: 130.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002208/3.162, allocations: 2.863 MB / 1.456 GB, free: 128.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001015/3.163, allocations: 118.6 kB / 1.456 GB, free: 128.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002201/3.163, allocations: 109.9 kB / 1.456 GB, free: 128.2 MB / 0.6198 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 () * Number of clocked 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.0005153/3.164, allocations: 198.8 kB / 1.456 GB, free: 128.1 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002073/3.164, allocations: 75.81 kB / 1.456 GB, free: 128 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004692/3.169, allocations: 2.112 MB / 1.459 GB, free: 127.9 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.971e-05/3.169, allocations: 7.156 kB / 1.459 GB, free: 127.9 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.112e-05/3.169, allocations: 6.344 kB / 1.459 GB, free: 127.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/3.169, allocations: 6.75 kB / 1.459 GB, free: 127.9 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004258/3.173, allocations: 2.13 MB / 1.461 GB, free: 127.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.105e-05/3.173, allocations: 29.41 kB / 1.461 GB, free: 127.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007249/3.174, allocations: 183.2 kB / 1.461 GB, free: 127.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003194/3.174, allocations: 81.59 kB / 1.461 GB, free: 127.5 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001246/3.174, allocations: 59.19 kB / 1.461 GB, free: 127.5 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/3.176, allocations: 2.866 MB / 1.464 GB, free: 124.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/3.176, allocations: 3.25 kB / 1.464 GB, free: 124.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003641/3.18, allocations: 1.76 MB / 1.465 GB, free: 124.6 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005474/3.181, allocations: 237 kB / 1.466 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002428/3.181, allocations: 23.84 kB / 1.466 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008759/3.182, allocations: 85.25 kB / 1.466 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000313/3.182, allocations: 119 kB / 1.466 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002035/3.182, allocations: 107.9 kB / 1.466 GB, free: 124.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004673/3.183, allocations: 315.9 kB / 1.466 GB, free: 124.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.5e-07/3.183, allocations: 0 / 1.466 GB, free: 124.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002495/3.185, allocations: 448.7 kB / 1.467 GB, free: 124.3 MB / 0.6198 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) * Number of clocked states: 0 () * 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.007189/3.193, allocations: 3.622 MB / 1.47 GB, free: 123.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.003004/3.196, allocations: 1.437 MB / 1.472 GB, free: 122.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/3.196, allocations: 3 kB / 1.472 GB, free: 122.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.001601/3.197, allocations: 0.9346 MB / 1.473 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/3.199, allocations: 194.6 kB / 1.473 GB, free: 122.1 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0115/3.21, allocations: 6.165 MB / 1.479 GB, free: 119.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005869/3.211, allocations: 0.9394 MB / 1.48 GB, free: 118.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002386/3.213, allocations: 0.98 MB / 1.481 GB, free: 118.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008946/3.214, allocations: 375.4 kB / 1.481 GB, free: 118.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.523e-06/3.214, allocations: 0 / 1.481 GB, free: 118.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0745/3.289, allocations: 39.61 MB / 1.52 GB, free: 115.9 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000189/3.289, allocations: 263 kB / 1.52 GB, free: 115.6 MB / 0.6198 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:495:3: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] spatialDistribution(data->localData[0]->realVars[74] /* transportDelay.v_in variable */, DIVISION_SIM(1.0,fmax(data->simulationInfo->realParameter[60] /* transportDelay.rho_min PARAM */,(0.003483698772453621) * (DIVISION_SIM(data->localData[0]->realVars[63] /* sink.inlet.state.p variable */,omc_ThermofluidStream_Processes__omcQTransportDelay_24transportDelay_Medium_T__h(threadData, 293586.6852371418),"ThermofluidStream.Processes.TransportDelay$transportDelay.Medium.T_h(293586.6852371418)",equationIndexes))),"max(transportDelay.rho_min, 0.003483698772453621 * sink.inlet.state.p / ThermofluidStream.Processes.TransportDelay$transportDelay.Medium.T_h(293586.6852371418))",equationIndexes), data->localData[0]->realVars[2] /* transportDelay.x STATE(1,transportDelay.v) */, 1, tmp28, tmp29 ,&data->localData[0]->realVars[75] /* transportDelay.v_out variable */); ^ ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:620: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__omcQTransportDelay_24transportDelay_Medium_T__h(threadData, 293586.6852371418), 1, 1, 0.0) + (-287.0512249529787) * (omc_ThermofluidStream_Processes__omcQTransportDelay_24transportDelay_Medium_T__h(threadData, 293586.6852371418)), data->localData[0]->realVars[2] /* transportDelay.x STATE(1,transportDelay.v) */, 1, tmp36, tmp37 ,&data->localData[0]->realVars[72] /* transportDelay.u_out variable */); ^ ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.c:1270: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:1289: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 -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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:2: In file included from ./ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:133:16: warning: equality comparison with extraneous parentheses [-Wparentheses-equality] if((_a == _c)) ~~~^~~~~ ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:133:16: note: remove extraneous parentheses around the comparison to silence this warning if((_a == _c)) ~ ^ ~ ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_functions.c:133:16: note: use '=' to turn this equality comparison into an assignment if((_a == _c)) ^~ = 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:430:80: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] data->localData[0]->realVars[94] /* transportDelay1.v_rear_out variable */ = spatialDistribution(data->localData[0]->realVars[93] /* transportDelay1.v_rear_in variable */, data->localData[0]->realVars[91] /* transportDelay1.v_fore_in variable */, data->localData[0]->realVars[3] /* transportDelay1.x STATE(1,transportDelay1.v) */, tmp18, tmp19, tmp20 ,&data->localData[0]->realVars[92] /* transportDelay1.v_fore_out variable */); ^ ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:490: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:855:3: warning: implicit declaration of function 'spatialDistribution' is invalid in C99 [-Wimplicit-function-declaration] spatialDistribution(data->localData[0]->realVars[74] /* transportDelay.v_in variable */, DIVISION_SIM(1.0,fmax(data->simulationInfo->realParameter[60] /* transportDelay.rho_min PARAM */,(0.003483698772453621) * (DIVISION_SIM(data->localData[0]->realVars[63] /* sink.inlet.state.p variable */,omc_ThermofluidStream_Processes__omcQTransportDelay_24transportDelay_Medium_T__h(threadData, 293586.6852371418),"ThermofluidStream.Processes.TransportDelay$transportDelay.Medium.T_h(293586.6852371418)",equationIndexes))),"max(transportDelay.rho_min, 0.003483698772453621 * sink.inlet.state.p / ThermofluidStream.Processes.TransportDelay$transportDelay.Medium.T_h(293586.6852371418))",equationIndexes), data->localData[0]->realVars[2] /* transportDelay.x STATE(1,transportDelay.v) */, 1, tmp46, tmp47 ,&data->localData[0]->realVars[75] /* transportDelay.v_out variable */); ^ ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:933: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__omcQTransportDelay_24transportDelay_Medium_T__h(threadData, 293586.6852371418), 1, 1, 0.0) + (-287.0512249529787) * (omc_ThermofluidStream_Processes__omcQTransportDelay_24transportDelay_Medium_T__h(threadData, 293586.6852371418)), data->localData[0]->realVars[2] /* transportDelay.x STATE(1,transportDelay.v) */, 1, tmp54, tmp55 ,&data->localData[0]->realVars[72] /* transportDelay.u_out variable */); ^ 6 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./simulation_data.h:39: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' -DOMC_FMI_RUNTIME=1 -DCMINPACK_NO_DLL=1 "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o 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 ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:149: ./gc/omc_gc.h:222:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:226:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_FMU.c:55: ./fmi-export/fmu2_model_interface.c.inc:79:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:168:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay.so 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 ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.0.0-main/Undirected/Processes/Tests" -Wl,-Bstatic "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc" "-L/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" -Wl,-rpath="/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/" "-L/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/Library" -lModelicaExternalC -Wl,-Bdynamic -L'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -Wl,-rpath,'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc' -lSimulationRuntimeFMI -Wl,--no-as-needed -Wl,--disable-new-dtags -llapack -lblas -lm -lpthread -rdynamic -Wl,--no-undefined /usr/bin/ld: 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+0x1e17): 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+0x2742): 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+0x5956): 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+0x5bd6): 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+0x1676): undefined reference to `spatialDistribution' /usr/bin/ld: ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.o:ThermofluidStream_ThermofluidStream_Undirected_Processes_Tests_TransportDelay_06inz.c:(.text+0x1b6a): more undefined references to `spatialDistribution' follow clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:58: nozip] Error 1