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/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/Examples/DryAir/DryAir_test.mo:71:18-71:405: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/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/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_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/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/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/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/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398: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.679/1.679, allocations: 267.3 MB / 282.2 MB, free: 5.262 MB / 234.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 180.3 kB / 339.9 MB, free: 2.562 MB / 266.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.2 MB / 0.6061 GB, free: 1.754 MB / 474.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000943/0.000943, allocations: 94.86 kB / 0.7116 GB, free: 6.34 MB / 490.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.4793/0.4793, allocations: 12.01 MB / 0.8287 GB, free: 67.18 MB / 0.5887 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.0003392/0.0003393, allocations: 15.97 kB / 0.937 GB, free: 13.93 MB / 0.5887 GB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: AixLib requested package SDF of version 0.4.2. SDF 0.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006067/0.0006068, allocations: 20 kB / 1.058 GB, free: 2.398 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7379/0.7385, allocations: 110.2 MB / 1.165 GB, free: 160.2 MB / 0.7449 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1903/0.9288, allocations: 138.6 MB / 1.301 GB, free: 40.46 MB / 0.7449 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002686/0.9291, allocations: 82.39 kB / 1.301 GB, free: 40.38 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 0.01177/0.9409, allocations: 4.215 MB / 1.305 GB, free: 36.21 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.883e-06/0.941, allocations: 0 / 1.305 GB, free: 36.21 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 1.848e-05/0.941, allocations: 9 kB / 1.305 GB, free: 36.2 MB / 0.7449 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.0008235/0.9418, allocations: 0.5282 MB / 1.305 GB, free: 35.62 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.9419, allocations: 12.75 kB / 1.305 GB, free: 35.61 MB / 0.7449 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.482e-05/0.942, allocations: 50.55 kB / 1.305 GB, free: 35.55 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.52e-05/0.9421, allocations: 16.47 kB / 1.305 GB, free: 35.53 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003103/0.9424, allocations: 241 kB / 1.306 GB, free: 35.25 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.9424, allocations: 9.547 kB / 1.306 GB, free: 35.25 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.469e-05/0.9424, allocations: 12 kB / 1.306 GB, free: 35.23 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004138/0.9429, allocations: 172.3 kB / 1.306 GB, free: 35.06 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.9429, allocations: 3.938 kB / 1.306 GB, free: 35.05 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.475e-05/0.9429, allocations: 8 kB / 1.306 GB, free: 35.05 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.9429, allocations: 0 / 1.306 GB, free: 35.05 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.9433, allocations: 135 kB / 1.306 GB, free: 34.92 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007724/0.9441, allocations: 450.3 kB / 1.306 GB, free: 34.43 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005446/0.9447, allocations: 199.8 kB / 1.306 GB, free: 34.23 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.9447, allocations: 5.844 kB / 1.306 GB, free: 34.23 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003553/0.9451, allocations: 184.9 kB / 1.307 GB, free: 34.04 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=15): time 2.184e-06/0.9451, allocations: 3.938 kB / 1.307 GB, free: 34.03 MB / 0.7449 GB Notification: Performance of matching and sorting (n=15): time 0.000873/0.9459, allocations: 444 kB / 1.307 GB, free: 33.57 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/0.946, allocations: 140.5 kB / 1.307 GB, free: 33.41 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.9462, allocations: 149.8 kB / 1.307 GB, free: 33.25 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 2.133e-05/0.9462, allocations: 33.7 kB / 1.307 GB, free: 33.21 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 5.296e-05/0.9463, allocations: 116.3 kB / 1.308 GB, free: 33.09 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 3.434e-05/0.9463, allocations: 40.12 kB / 1.308 GB, free: 33.05 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.9463, allocations: 8.625 kB / 1.308 GB, free: 33.05 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 6.295e-05/0.9464, allocations: 327.6 kB / 1.308 GB, free: 32.72 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000192/0.9466, allocations: 73.94 kB / 1.308 GB, free: 32.65 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.9468, allocations: 122 kB / 1.308 GB, free: 32.52 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002231/0.947, allocations: 131.5 kB / 1.308 GB, free: 32.38 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.439e-06/0.947, allocations: 0 / 1.308 GB, free: 32.38 MB / 0.7449 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005169/0.9476, allocations: 302.6 kB / 1.308 GB, free: 32.07 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.9477, allocations: 0.4976 MB / 1.309 GB, free: 31.53 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.9477, allocations: 0 / 1.309 GB, free: 31.53 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.9478, allocations: 4 kB / 1.309 GB, free: 31.53 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001432/0.9479, allocations: 31.97 kB / 1.309 GB, free: 31.5 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.9479, allocations: 1.969 kB / 1.309 GB, free: 31.5 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.9481, allocations: 47.92 kB / 1.309 GB, free: 31.45 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.896e-05/0.9481, allocations: 5.156 kB / 1.309 GB, free: 31.45 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.9481, allocations: 5.25 kB / 1.309 GB, free: 31.44 MB / 0.7449 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004135/0.9486, allocations: 242.1 kB / 1.309 GB, free: 31.2 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.9486, allocations: 4 kB / 1.309 GB, free: 31.19 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.998e-06/0.9486, allocations: 4.859 kB / 1.309 GB, free: 31.19 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.9487, allocations: 33 kB / 1.309 GB, free: 31.16 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.017e-06/0.9487, allocations: 7.938 kB / 1.309 GB, free: 31.15 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.9489, allocations: 25.11 kB / 1.309 GB, free: 31.12 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.9489, allocations: 4 kB / 1.309 GB, free: 31.12 MB / 0.7449 GB Warning: Assuming fixed start value for the following 2 variables: tCPCommunicatorExample.stateExample:DISCRETE(fixed = true protected = true ) "Dummy variable to check state of TCP send function, 0 == OK, 1 == error" type: Integer tCPCommunicatorExample.y[1]:DISCRETE(fixed = true ) "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 () * Number of clocked 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.0002125/0.9491, allocations: 252.1 kB / 1.31 GB, free: 30.86 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.357e-05/0.9491, allocations: 21.09 kB / 1.31 GB, free: 30.84 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.32e-05/0.9492, allocations: 17.48 kB / 1.31 GB, free: 30.82 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.9492, allocations: 0 / 1.31 GB, free: 30.82 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.9492, allocations: 0.6875 kB / 1.31 GB, free: 30.82 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.9492, allocations: 3.984 kB / 1.31 GB, free: 30.82 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008966/0.9501, allocations: 0.637 MB / 1.31 GB, free: 30.13 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.9501, allocations: 1.344 kB / 1.31 GB, free: 30.13 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.9503, allocations: 23.94 kB / 1.31 GB, free: 30.11 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.9503, allocations: 4.75 kB / 1.31 GB, free: 30.1 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.9503, allocations: 7.984 kB / 1.31 GB, free: 30.09 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.9503, allocations: 1.031 kB / 1.31 GB, free: 30.09 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.9503, allocations: 0 / 1.31 GB, free: 30.09 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008053/0.9511, allocations: 0.4996 MB / 1.311 GB, free: 29.58 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 4.292e-05/0.9512, allocations: 91.16 kB / 1.311 GB, free: 29.47 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.9513, allocations: 15.89 kB / 1.311 GB, free: 29.46 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.9515, allocations: 26.41 kB / 1.311 GB, free: 29.43 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.9515, allocations: 19.97 kB / 1.311 GB, free: 29.41 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.9516, allocations: 4 kB / 1.311 GB, free: 29.41 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 7.626e-05/0.9517, allocations: 134.7 kB / 1.311 GB, free: 29.28 MB / 0.7449 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9517, allocations: 0 / 1.311 GB, free: 29.28 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0004128/0.9521, allocations: 83.84 kB / 1.311 GB, free: 29.2 MB / 0.7449 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) * Number of clocked states: 0 () * 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.001592/0.9537, allocations: 1.239 MB / 1.312 GB, free: 28.05 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0007408/0.9544, allocations: 0.4927 MB / 1.313 GB, free: 27.51 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.9545, allocations: 0 / 1.313 GB, free: 27.51 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0002557/0.9547, allocations: 168.4 kB / 1.313 GB, free: 27.34 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.955, allocations: 39.94 kB / 1.313 GB, free: 27.3 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0029/0.9579, allocations: 1.941 MB / 1.315 GB, free: 25.31 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000178/0.9581, allocations: 0.723 MB / 1.316 GB, free: 24.57 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.9583, allocations: 31.06 kB / 1.316 GB, free: 24.54 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.255e-05/0.9584, allocations: 43.42 kB / 1.316 GB, free: 24.5 MB / 0.7449 GB Notification: Performance of SimCode: time 9.51e-07/0.9584, allocations: 1.375 kB / 1.316 GB, free: 24.5 MB / 0.7449 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01819/0.9766, allocations: 4.509 MB / 1.32 GB, free: 20.43 MB / 0.7449 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002129/0.9768, allocations: 276.2 kB / 1.32 GB, free: 20.08 MB / 0.7449 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_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: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_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: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); ^ 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 -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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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_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: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 AixLib_latest_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_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 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+0x624): 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:58: nozip] Error 1