Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop,fileNamePrefix="AixLib_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.551/1.551, allocations: 267.3 MB / 282.2 MB, free: 5.277 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.001021/0.001021, allocations: 191.8 kB / 339.9 MB, free: 2.586 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.201/1.201, allocations: 223.2 MB / 0.6061 GB, free: 1.918 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.0009724/0.0009723, allocations: 90.17 kB / 0.7116 GB, free: 6.375 MB / 490.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.325/0.325, allocations: 12.02 MB / 0.8287 GB, free: 67.42 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.0003763/0.0003762, allocations: 9.625 kB / 0.937 GB, free: 13.95 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.0006226/0.0006227, allocations: 16 kB / 1.058 GB, free: 2.422 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5864/0.587, allocations: 110.2 MB / 1.165 GB, free: 160.4 MB / 0.7449 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1924/0.7796, allocations: 138.6 MB / 1.301 GB, free: 40.46 MB / 0.7449 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.7799, allocations: 83.89 kB / 1.301 GB, free: 40.38 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 0.01122/0.7911, allocations: 4.216 MB / 1.305 GB, free: 36.21 MB / 0.7449 GB Notification: Performance of FrontEnd: time 1.633e-06/0.7911, allocations: 0 / 1.305 GB, free: 36.21 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 1.692e-05/0.7912, allocations: 8 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.0007231/0.7919, allocations: 0.5336 MB / 1.305 GB, free: 35.61 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 4.428e-05/0.7919, allocations: 12.02 kB / 1.305 GB, free: 35.6 MB / 0.7449 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.231e-05/0.792, allocations: 42.56 kB / 1.305 GB, free: 35.55 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.525e-05/0.7921, allocations: 15.81 kB / 1.305 GB, free: 35.53 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002589/0.7923, allocations: 243.9 kB / 1.306 GB, free: 35.25 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.648e-05/0.7924, allocations: 8.891 kB / 1.306 GB, free: 35.24 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.7924, allocations: 12 kB / 1.306 GB, free: 35.23 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003737/0.7928, allocations: 170.7 kB / 1.306 GB, free: 35.05 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.7928, allocations: 7.703 kB / 1.306 GB, free: 35.05 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.11e-05/0.7928, allocations: 7.938 kB / 1.306 GB, free: 35.04 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.7928, allocations: 4 kB / 1.306 GB, free: 35.04 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.7932, allocations: 127.6 kB / 1.306 GB, free: 34.92 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007349/0.7939, allocations: 448.7 kB / 1.306 GB, free: 34.43 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/0.7945, allocations: 200.5 kB / 1.306 GB, free: 34.23 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.7945, allocations: 7.328 kB / 1.306 GB, free: 34.23 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003229/0.7948, allocations: 182.5 kB / 1.307 GB, free: 34.04 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=15): time 3.036e-06/0.7948, allocations: 5.375 kB / 1.307 GB, free: 34.03 MB / 0.7449 GB Notification: Performance of matching and sorting (n=15): time 0.0008224/0.7957, allocations: 449.6 kB / 1.307 GB, free: 33.57 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.838e-05/0.7957, allocations: 136.5 kB / 1.307 GB, free: 33.4 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.7959, allocations: 151.7 kB / 1.307 GB, free: 33.25 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 2.019e-05/0.7959, allocations: 29.7 kB / 1.307 GB, free: 33.21 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 4.678e-05/0.7959, allocations: 120.3 kB / 1.308 GB, free: 33.09 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 3.043e-05/0.796, allocations: 39.52 kB / 1.308 GB, free: 33.05 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.956e-06/0.796, allocations: 4 kB / 1.308 GB, free: 33.05 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 5.821e-05/0.796, allocations: 335.9 kB / 1.308 GB, free: 32.71 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.7962, allocations: 70.11 kB / 1.308 GB, free: 32.64 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001889/0.7964, allocations: 122.1 kB / 1.308 GB, free: 32.51 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.7967, allocations: 130.5 kB / 1.308 GB, free: 32.38 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.7967, allocations: 4 kB / 1.308 GB, free: 32.38 MB / 0.7449 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004918/0.7972, allocations: 296.6 kB / 1.308 GB, free: 32.07 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001225/0.7973, allocations: 0.4966 MB / 1.309 GB, free: 31.53 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.7973, allocations: 0 / 1.309 GB, free: 31.53 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.7973, allocations: 5.656 kB / 1.309 GB, free: 31.53 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.7975, allocations: 35.91 kB / 1.309 GB, free: 31.49 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.7975, allocations: 4 kB / 1.309 GB, free: 31.49 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.7977, allocations: 38.64 kB / 1.309 GB, free: 31.45 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.7977, allocations: 11.94 kB / 1.309 GB, free: 31.44 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 9.006e-06/0.7977, allocations: 7.984 kB / 1.309 GB, free: 31.43 MB / 0.7449 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003924/0.7981, allocations: 243.9 kB / 1.309 GB, free: 31.19 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.186e-06/0.7981, allocations: 0 / 1.309 GB, free: 31.19 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.33e-06/0.7981, allocations: 9.766 kB / 1.309 GB, free: 31.18 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.7983, allocations: 27.92 kB / 1.309 GB, free: 31.15 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.716e-06/0.7983, allocations: 0 / 1.309 GB, free: 31.15 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001395/0.7984, allocations: 25.55 kB / 1.309 GB, free: 31.13 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.7984, allocations: 8 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.0001865/0.7986, allocations: 257.3 kB / 1.31 GB, free: 30.86 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.209e-05/0.7987, allocations: 15.81 kB / 1.31 GB, free: 30.84 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.7987, allocations: 25.47 kB / 1.31 GB, free: 30.82 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.7987, allocations: 5.469 kB / 1.31 GB, free: 30.81 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.7987, allocations: 0 / 1.31 GB, free: 30.81 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.7987, allocations: 0 / 1.31 GB, free: 30.81 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008192/0.7996, allocations: 0.6266 MB / 1.31 GB, free: 30.13 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.7996, allocations: 1.594 kB / 1.31 GB, free: 30.13 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001269/0.7997, allocations: 27.94 kB / 1.31 GB, free: 30.1 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.7997, allocations: 6.234 kB / 1.31 GB, free: 30.1 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.231e-05/0.7998, allocations: 4 kB / 1.31 GB, free: 30.09 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.7998, allocations: 0 / 1.31 GB, free: 30.09 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.7998, allocations: 0 / 1.31 GB, free: 30.09 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007801/0.8006, allocations: 0.4993 MB / 1.311 GB, free: 29.58 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 4.068e-05/0.8006, allocations: 88.98 kB / 1.311 GB, free: 29.48 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.168e-05/0.8007, allocations: 15.94 kB / 1.311 GB, free: 29.46 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002036/0.8009, allocations: 30.42 kB / 1.311 GB, free: 29.43 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.8009, allocations: 15.97 kB / 1.311 GB, free: 29.42 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.51e-05/0.801, allocations: 11.98 kB / 1.311 GB, free: 29.41 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 7.106e-05/0.801, allocations: 130.4 kB / 1.311 GB, free: 29.28 MB / 0.7449 GB Notification: Performance of sort global known variables: time 1.91e-07/0.801, allocations: 0 / 1.311 GB, free: 29.28 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0003992/0.8014, allocations: 87.83 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.001718/0.8032, allocations: 1.23 MB / 1.312 GB, free: 28.05 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0007336/0.8039, allocations: 0.4975 MB / 1.313 GB, free: 27.51 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.8039, allocations: 0 / 1.313 GB, free: 27.51 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0002539/0.8042, allocations: 173 kB / 1.313 GB, free: 27.33 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.8045, allocations: 40.44 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.002956/0.8075, allocations: 1.942 MB / 1.315 GB, free: 25.31 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001657/0.8077, allocations: 0.7183 MB / 1.316 GB, free: 24.57 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 0.0001242/0.8078, allocations: 27.88 kB / 1.316 GB, free: 24.54 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.34e-05/0.8079, allocations: 43.42 kB / 1.316 GB, free: 24.5 MB / 0.7449 GB Notification: Performance of SimCode: time 4.31e-07/0.8079, allocations: 0 / 1.316 GB, free: 24.5 MB / 0.7449 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01801/0.8259, allocations: 4.495 MB / 1.32 GB, free: 20.43 MB / 0.7449 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001919/0.8261, allocations: 274.9 kB / 1.32 GB, free: 20.07 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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop.c:7: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_functions.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_functions.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_functions.c:2: In file included from ./AixLib_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_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_records.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_records.c In file included from AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_01exo.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_01exo.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_01exo.c:2: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_02nls.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_02nls.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_02nls.c:2: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_03lsy.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_03lsy.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_03lsy.c:2: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_04set.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_04set.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_04set.c:2: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_05evt.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_05evt.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_05evt.c:2: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_06inz.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_06inz.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_06inz.c:2: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_07dly.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_07dly.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_07dly.c:2: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_08bnd.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_08bnd.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_08bnd.c:2: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_09alg.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_09alg.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_09alg.c:2: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_10asr.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_10asr.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_10asr.c:2: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_11mix.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_11mix.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_11mix.c:2: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_12jac.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_12jac.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_12jac.c:2: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_13opt.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_13opt.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_13opt.c:2: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_14lnz.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_14lnz.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_14lnz.c:2: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_15syn.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_15syn.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_15syn.c:2: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_16dae.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_16dae.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_16dae.c:2: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_17inl.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_17inl.c In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_17inl.c:2: In file included from ./AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_init_fmu.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_init_fmu.c In file included from AixLib_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_FMU.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_FMU.c In file included from AixLib_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_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_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop.so AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_functions.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_records.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_01exo.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_02nls.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_03lsy.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_04set.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_05evt.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_06inz.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_07dly.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_08bnd.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_09alg.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_10asr.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_11mix.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_12jac.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_13opt.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_14lnz.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_15syn.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_16dae.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_17inl.o AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_init_fmu.o AixLib_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