Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo", uses=false) 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/Modelica_DeviceDrivers 2.1.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) Using package SDF with version 0.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo) Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/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) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo) Running command: "" <> buildModelFMU(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop,fileNamePrefix="AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop,fileNamePrefix="AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop",fmuType="me",version="2.0",platforms={"static"}) [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo): time 1.698/1.698, allocations: 264.9 MB / 277.5 MB, free: 4.238 MB / 218.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009951/0.0009952, allocations: 184.9 kB / 335 MB, free: 11.35 MB / 282.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.304/1.304, allocations: 221.3 MB / 0.5993 GB, free: 10.12 MB / 458.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009907/0.0009908, allocations: 94.59 kB / 0.7046 GB, free: 51.52 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.04981/0.04981, allocations: 11.89 MB / 0.8215 GB, free: 456 kB / 0.573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003193/0.0003194, allocations: 19.97 kB / 0.9296 GB, free: 1.602 MB / 0.6824 GB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Warning: Requested package SDF of version 0.4.2, but this package was already loaded with version 0.0.0. You might experience problems if these versions are incompatible. Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.469e-05, allocations: 7.984 kB / 1.047 GB, free: 250.9 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1607, allocations: 110.2 MB / 1.155 GB, free: 140.9 MB / 0.7293 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.2925, allocations: 138.5 MB / 1.29 GB, free: 2.211 MB / 0.7293 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001817/0.2927, allocations: 83.89 kB / 1.29 GB, free: 2.129 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 0.5247/0.8175, allocations: 4.181 MB / 1.294 GB, free: 146.9 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.613e-06/0.8175, allocations: 0 / 1.294 GB, free: 146.9 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 1.524e-05/0.8175, allocations: 2.562 kB / 1.294 GB, free: 146.9 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007546/0.8183, allocations: 0.5211 MB / 1.294 GB, free: 146.5 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.8184, allocations: 9.188 kB / 1.295 GB, free: 146.5 MB / 0.7293 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.088e-05/0.8184, allocations: 41.86 kB / 1.295 GB, free: 146.5 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.163e-05/0.8185, allocations: 17.95 kB / 1.295 GB, free: 146.4 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003305/0.8188, allocations: 236.9 kB / 1.295 GB, free: 146.2 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.8189, allocations: 8.922 kB / 1.295 GB, free: 146.2 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.226e-05/0.8189, allocations: 12.25 kB / 1.295 GB, free: 146.2 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003288/0.8192, allocations: 144.1 kB / 1.295 GB, free: 146.2 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.8193, allocations: 0 / 1.295 GB, free: 146.2 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.8193, allocations: 4.5 kB / 1.295 GB, free: 146.2 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.8193, allocations: 2.656 kB / 1.295 GB, free: 146.2 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.8195, allocations: 68.88 kB / 1.295 GB, free: 146.2 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008494/0.8204, allocations: 451.4 kB / 1.295 GB, free: 145.9 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.8207, allocations: 127.7 kB / 1.296 GB, free: 145.9 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001282/0.8209, allocations: 55.03 kB / 1.296 GB, free: 145.9 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/0.8209, allocations: 2.547 kB / 1.296 GB, free: 145.9 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002658/0.8212, allocations: 149.1 kB / 1.296 GB, free: 145.8 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.8212, allocations: 4 kB / 1.296 GB, free: 145.8 MB / 0.7293 GB Notification: Performance of matching and sorting (n=15): time 0.0005038/0.8217, allocations: 228.9 kB / 1.296 GB, free: 145.7 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.553e-05/0.8218, allocations: 134.6 kB / 1.296 GB, free: 145.5 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001675/0.8219, allocations: 156.5 kB / 1.296 GB, free: 145.4 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.822, allocations: 30.2 kB / 1.296 GB, free: 145.4 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 6.146e-05/0.822, allocations: 115.5 kB / 1.296 GB, free: 145.3 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.8221, allocations: 41.72 kB / 1.296 GB, free: 145.3 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.8221, allocations: 3.625 kB / 1.296 GB, free: 145.3 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 7.764e-05/0.8222, allocations: 329.6 kB / 1.297 GB, free: 145 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.623e-05/0.8223, allocations: 42.44 kB / 1.297 GB, free: 145 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.8224, allocations: 78.92 kB / 1.297 GB, free: 144.9 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000128/0.8225, allocations: 103.1 kB / 1.297 GB, free: 144.9 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.8225, allocations: 4.188 kB / 1.297 GB, free: 144.9 MB / 0.7293 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003399/0.8229, allocations: 237.5 kB / 1.297 GB, free: 144.8 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/0.823, allocations: 0.4932 MB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.823, allocations: 0.9375 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.8231, allocations: 3.984 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001682/0.8232, allocations: 39.33 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.8233, allocations: 2.438 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.8234, allocations: 37.92 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.8235, allocations: 7.656 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 8.065e-06/0.8235, allocations: 3.344 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003102/0.8238, allocations: 206 kB / 1.298 GB, free: 144.1 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.605e-06/0.8238, allocations: 1.219 kB / 1.298 GB, free: 144.1 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.607e-06/0.8238, allocations: 1.688 kB / 1.298 GB, free: 144.1 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001199/0.824, allocations: 33.48 kB / 1.298 GB, free: 144.1 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.228e-06/0.824, allocations: 2.5 kB / 1.298 GB, free: 144.1 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001338/0.8241, allocations: 27.12 kB / 1.298 GB, free: 144.1 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.8241, allocations: 4 kB / 1.298 GB, free: 144.1 MB / 0.7293 GB Warning: Assuming fixed start value for the following 2 variables: tCPCommunicatorExample.stateExample:DISCRETE(fixed = false protected = true ) "Dummy variable to check state of TCP send function, 0 == OK, 1 == error" type: Integer tCPCommunicatorExample.y[1]:DISCRETE(fixed = false ) "Connector of Real output signals" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.tCPCommunicatorExample.stateExample,tCPCommunicatorExample.stateExample,$PRE.tCPCommunicatorExample.firstTrigger,tCPCommunicatorExample.firstTrigger,$whenCondition2,$whenCondition3,tCPCommunicatorExample.sampleTrigger,tCPCommunicatorExample.isConnected,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.tCPCommunicatorExample.y[1],tCPCommunicatorExample.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.8243, allocations: 154.6 kB / 1.298 GB, free: 144 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.807e-05/0.8243, allocations: 24.47 kB / 1.298 GB, free: 144 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.694e-05/0.8244, allocations: 19.81 kB / 1.298 GB, free: 144 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.928e-06/0.8244, allocations: 1.719 kB / 1.298 GB, free: 144 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.8244, allocations: 1 kB / 1.298 GB, free: 144 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.8244, allocations: 4.609 kB / 1.298 GB, free: 144 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008364/0.8253, allocations: 0.571 MB / 1.299 GB, free: 143.6 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.8253, allocations: 1.5 kB / 1.299 GB, free: 143.6 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.8254, allocations: 30.19 kB / 1.299 GB, free: 143.6 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.8254, allocations: 9.031 kB / 1.299 GB, free: 143.5 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.711e-05/0.8255, allocations: 9.562 kB / 1.299 GB, free: 143.5 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.8255, allocations: 5.922 kB / 1.299 GB, free: 143.5 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.8255, allocations: 0 / 1.299 GB, free: 143.5 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005748/0.8261, allocations: 398.1 kB / 1.299 GB, free: 143.3 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.8261, allocations: 95.58 kB / 1.299 GB, free: 143.2 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.346e-05/0.8262, allocations: 5.922 kB / 1.299 GB, free: 143.2 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002108/0.8264, allocations: 31.45 kB / 1.299 GB, free: 143.2 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.3e-05/0.8265, allocations: 18.05 kB / 1.299 GB, free: 143.2 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.326e-05/0.8265, allocations: 13.17 kB / 1.299 GB, free: 143.2 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 9.558e-05/0.8266, allocations: 127.2 kB / 1.3 GB, free: 143.1 MB / 0.7293 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8266, allocations: 0 / 1.3 GB, free: 143.1 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.0004052/0.827, allocations: 88.56 kB / 1.3 GB, free: 143.1 MB / 0.7293 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (system.y) * Number of discrete variables: 10 (tCPCommunicatorExample.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,pulse.T_start,pulse.count,tCPCommunicatorExample.firstTrigger,tCPCommunicatorExample.y[1],tCPCommunicatorExample.isConnected,tCPCommunicatorExample.stateExample) * Number of discrete states: 4 (pulse.count,tCPCommunicatorExample.y[1],tCPCommunicatorExample.stateExample,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00135/0.8284, allocations: 1.127 MB / 1.301 GB, free: 142.2 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.000504/0.8289, allocations: 423.4 kB / 1.301 GB, free: 141.9 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8289, allocations: 0.6875 kB / 1.301 GB, free: 141.9 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 0.0001776/0.8291, allocations: 137.1 kB / 1.301 GB, free: 141.8 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.8294, allocations: 36.72 kB / 1.301 GB, free: 141.8 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001647/0.8311, allocations: 0.5353 MB / 1.302 GB, free: 141.6 MB / 0.7293 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001909/0.8313, allocations: 0.7229 MB / 1.302 GB, free: 140.9 MB / 0.7293 GB Notification: Performance of simCode: alias equations: time 0.0001523/0.8314, allocations: 48.22 kB / 1.303 GB, free: 140.8 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.588e-05/0.8315, allocations: 43.69 kB / 1.303 GB, free: 140.8 MB / 0.7293 GB Notification: Performance of SimCode: time 2.61e-07/0.8315, allocations: 0 / 1.303 GB, free: 140.8 MB / 0.7293 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01947/0.851, allocations: 4.714 MB / 1.307 GB, free: 140.4 MB / 0.7293 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001735/0.8512, allocations: 250.6 kB / 1.307 GB, free: 140 MB / 0.7293 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop.c:7: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_functions.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_functions.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_functions.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_functions.h:3: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_functions.c:163:41: warning: passing 'const double *' to parameter of type 'double *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] MDD_SerialPackagerAddDouble(_pkg_ext, (const double*) _u_c89, size_of_dimension_base_array(_u, ((modelica_integer) 1)), _byteOrder_ext); ^~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include/MDDSerialPackager.h:307:70: note: passing argument to parameter 'u' here DllExport void MDD_SerialPackagerAddDouble(void* p_package, double * u, size_t n, int endian) { ^ 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_records.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_records.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_records.c:4: In file included from ./meta/meta_modelica.h:49: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_01exo.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_01exo.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_01exo.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_02nls.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_02nls.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_02nls.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_03lsy.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_03lsy.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_03lsy.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_04set.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_04set.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_04set.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_05evt.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_05evt.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_05evt.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_06inz.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_06inz.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_06inz.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_07dly.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_07dly.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_07dly.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_08bnd.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_08bnd.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_08bnd.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_09alg.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_09alg.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_09alg.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_10asr.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_10asr.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_10asr.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_11mix.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_11mix.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_11mix.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_12jac.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_12jac.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_12jac.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_13opt.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_13opt.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_13opt.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_14lnz.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_14lnz.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_14lnz.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_15syn.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_15syn.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_15syn.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_16dae.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_16dae.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_16dae.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_17inl.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_17inl.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_17inl.c:2: In file included from ./AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_model.h:5: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_init_fmu.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_init_fmu.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_init_fmu.c:1: In file included from ./simulation_data.h:39: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_FMU.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_FMU.c In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_FMU.c:9: In file included from ./openmodelica.h:71: In file included from ./gc/../openmodelica_types.h:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_FMU.c:54: ./fmi-export/fmu2_model_interface.c.inc:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop.so AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_functions.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_records.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_01exo.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_02nls.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_03lsy.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_04set.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_05evt.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_06inz.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_07dly.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_08bnd.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_09alg.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_10asr.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_11mix.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_12jac.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_13opt.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_14lnz.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_15syn.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_16dae.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_17inl.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_init_fmu.o AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_FMU.o -L"/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Utilities/Communication/SocketCommunication/Examples" -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_DeviceDrivers" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/binaries/Modelica_DeviceDrivers" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Library/x86_64-linux" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Library/x86_64-linux" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Library/linux64" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Library/linux64" "-L/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Library" -Wl,-rpath="/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Library" -lpthread -lWs2_32 "-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: /var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../lib/x86_64-linux-gnu/omc/libModelicaExternalC.a(ModelicaInternal.o): in function `ModelicaInternal_temporaryFileName': ModelicaInternal.c:(.text+0x5a4): warning: the use of `tmpnam' is dangerous, better use `mkstemp' /usr/bin/ld: /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libpthread.a(pthread_getspecific.o): relocation R_X86_64_PC32 against symbol `__pthread_keys' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: bad value clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:32: nozip] Error 1