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/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/BoundaryConditions/InternalGains/Examples/InternalGains/Machines.mo:31:20-31:400:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_Cleanergy_C9G.mo:36:34-36:594:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:588:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/CHP/CHPDataSimple/CHP_XRGI_9kWel.mo:25:34-25:3852:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_NE_SE_SW_NW_Hor.mo:5:35-5:324:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_Hor.mo:5:35-5:320:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/DataBase/Weather/SurfaceOrientation/SurfaceOrientationData_N_E_S_W_RoofN_Roof_S.mo:5:35-5:362:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6228:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:6853:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:8435:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:9369:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:11505:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/Obsolete/YearIndependent/FastHVAC/Components/HeatExchangers/RadiatorMultiLayer.mo:265:34-265:12875:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:2066:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/DryAir/InfiltrationRate_DIN12831.mo:20:192-20:4252:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2-development/package.mo): time 1.875/1.875, allocations: 264.9 MB / 277.5 MB, free: 4.215 MB / 218.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001044/0.001044, allocations: 184.8 kB / 335 MB, free: 11.35 MB / 282.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 221.3 MB / 0.5993 GB, free: 10.09 MB / 458.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009913/0.0009913, allocations: 93.16 kB / 0.7046 GB, free: 51.42 MB / 0.5418 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05578/0.05578, allocations: 11.88 MB / 0.8215 GB, free: 448 kB / 0.573 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo:9:42-9:258:writable] Notification: This is an open source dummy package of a commercial library. If you want it to be supported, you will need to add an implemention on our github repository: https://github.com/Modelica-OpenVendorSpecificLibraries. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0003667/0.0003666, allocations: 11.98 kB / 0.9296 GB, free: 1.598 MB / 0.6824 GB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Warning: Requested package SDF of version 0.4.2, but this package was already loaded with version 0.0.0. You might experience problems if these versions are incompatible. Notification: Performance of FrontEnd - loaded program: time 4.024e-05/4.037e-05, allocations: 7.938 kB / 1.047 GB, free: 250.9 MB / 0.7293 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2364, allocations: 110.2 MB / 1.155 GB, free: 141 MB / 0.7293 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1507/0.3872, allocations: 138.5 MB / 1.29 GB, free: 2.223 MB / 0.7293 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002165/0.3875, allocations: 75.95 kB / 1.29 GB, free: 2.148 MB / 0.7293 GB Notification: Performance of FrontEnd - DAE generated: time 0.5937/0.9812, allocations: 4.185 MB / 1.294 GB, free: 147 MB / 0.7293 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9812, allocations: 0.7812 kB / 1.294 GB, free: 147 MB / 0.7293 GB Notification: Performance of Transformations before backend: time 1.67e-05/0.9812, allocations: 2.562 kB / 1.294 GB, free: 147 MB / 0.7293 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0007593/0.982, allocations: 0.5146 MB / 1.294 GB, free: 146.5 MB / 0.7293 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.9821, allocations: 9.531 kB / 1.295 GB, free: 146.5 MB / 0.7293 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.496e-05/0.9821, allocations: 41.42 kB / 1.295 GB, free: 146.5 MB / 0.7293 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.314e-05/0.9822, allocations: 18.48 kB / 1.295 GB, free: 146.5 MB / 0.7293 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003231/0.9825, allocations: 236.1 kB / 1.295 GB, free: 146.2 MB / 0.7293 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.9826, allocations: 9.312 kB / 1.295 GB, free: 146.2 MB / 0.7293 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.9826, allocations: 11.7 kB / 1.295 GB, free: 146.2 MB / 0.7293 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003059/0.9829, allocations: 140.5 kB / 1.295 GB, free: 146.2 MB / 0.7293 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.9829, allocations: 3.797 kB / 1.295 GB, free: 146.2 MB / 0.7293 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.983, allocations: 9.281 kB / 1.295 GB, free: 146.2 MB / 0.7293 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.983, allocations: 3.75 kB / 1.295 GB, free: 146.2 MB / 0.7293 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001841/0.9832, allocations: 62.83 kB / 1.295 GB, free: 146.2 MB / 0.7293 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008945/0.9841, allocations: 456.8 kB / 1.295 GB, free: 145.9 MB / 0.7293 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003449/0.9844, allocations: 124.6 kB / 1.296 GB, free: 145.9 MB / 0.7293 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.9846, allocations: 56.67 kB / 1.296 GB, free: 145.9 MB / 0.7293 GB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.9846, allocations: 1.375 kB / 1.296 GB, free: 145.9 MB / 0.7293 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002811/0.9849, allocations: 149.1 kB / 1.296 GB, free: 145.8 MB / 0.7293 GB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/0.9849, allocations: 0 / 1.296 GB, free: 145.8 MB / 0.7293 GB Notification: Performance of matching and sorting (n=15): time 0.0005008/0.9854, allocations: 231.6 kB / 1.296 GB, free: 145.7 MB / 0.7293 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.893e-05/0.9855, allocations: 137.2 kB / 1.296 GB, free: 145.6 MB / 0.7293 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001786/0.9857, allocations: 153.3 kB / 1.296 GB, free: 145.5 MB / 0.7293 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/0.9857, allocations: 30.45 kB / 1.296 GB, free: 145.4 MB / 0.7293 GB Notification: Performance of collectInitialEqns (initialization): time 7e-05/0.9858, allocations: 114.4 kB / 1.296 GB, free: 145.3 MB / 0.7293 GB Notification: Performance of collectInitialBindings (initialization): time 4.483e-05/0.9859, allocations: 42.67 kB / 1.296 GB, free: 145.3 MB / 0.7293 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.207e-06/0.9859, allocations: 4.375 kB / 1.296 GB, free: 145.3 MB / 0.7293 GB Notification: Performance of setup shared object (initialization): time 9.494e-05/0.986, allocations: 329.3 kB / 1.297 GB, free: 145 MB / 0.7293 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.215e-05/0.9861, allocations: 42.14 kB / 1.297 GB, free: 145 MB / 0.7293 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.9862, allocations: 86.56 kB / 1.297 GB, free: 145 MB / 0.7293 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.9863, allocations: 97.89 kB / 1.297 GB, free: 144.9 MB / 0.7293 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.9864, allocations: 7.875 kB / 1.297 GB, free: 144.9 MB / 0.7293 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003745/0.9867, allocations: 235.3 kB / 1.297 GB, free: 144.8 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.9869, allocations: 0.4949 MB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.9869, allocations: 1.406 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.987, allocations: 2.438 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001877/0.9871, allocations: 38.11 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/0.9872, allocations: 1.969 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000172/0.9873, allocations: 38.22 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.9874, allocations: 9.766 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.9874, allocations: 4 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003045/0.9877, allocations: 209.5 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.806e-06/0.9877, allocations: 1.375 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.368e-06/0.9877, allocations: 2.75 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.9879, allocations: 28.44 kB / 1.298 GB, free: 144.2 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.9879, allocations: 10.83 kB / 1.298 GB, free: 144.1 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001716/0.988, allocations: 23.12 kB / 1.298 GB, free: 144.1 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.9881, allocations: 7.125 kB / 1.298 GB, free: 144.1 MB / 0.7293 GB Warning: Assuming fixed start value for the following 2 variables: tCPCommunicatorExample.stateExample:DISCRETE(fixed = false protected = true ) "Dummy variable to check state of TCP send function, 0 == OK, 1 == error" type: Integer tCPCommunicatorExample.y[1]:DISCRETE(fixed = false ) "Connector of Real output signals" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.tCPCommunicatorExample.stateExample,tCPCommunicatorExample.stateExample,$PRE.tCPCommunicatorExample.firstTrigger,tCPCommunicatorExample.firstTrigger,$whenCondition2,$whenCondition3,tCPCommunicatorExample.sampleTrigger,tCPCommunicatorExample.isConnected,$whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,$PRE.tCPCommunicatorExample.y[1],tCPCommunicatorExample.y[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001652/0.9882, allocations: 148.5 kB / 1.298 GB, free: 144 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.932e-05/0.9883, allocations: 21.94 kB / 1.298 GB, free: 144 MB / 0.7293 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.947e-05/0.9884, allocations: 19.56 kB / 1.298 GB, free: 144 MB / 0.7293 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.9884, allocations: 5.406 kB / 1.298 GB, free: 144 MB / 0.7293 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.9884, allocations: 4.062 kB / 1.298 GB, free: 144 MB / 0.7293 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.872e-06/0.9884, allocations: 4.75 kB / 1.298 GB, free: 144 MB / 0.7293 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008194/0.9892, allocations: 0.5692 MB / 1.299 GB, free: 143.6 MB / 0.7293 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.9892, allocations: 4.453 kB / 1.299 GB, free: 143.6 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001539/0.9894, allocations: 28.42 kB / 1.299 GB, free: 143.6 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.9894, allocations: 0 / 1.299 GB, free: 143.6 MB / 0.7293 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.9894, allocations: 10.41 kB / 1.299 GB, free: 143.6 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.195e-06/0.9894, allocations: 5.203 kB / 1.299 GB, free: 143.6 MB / 0.7293 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.9895, allocations: 0.7031 kB / 1.299 GB, free: 143.6 MB / 0.7293 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006304/0.9901, allocations: 403.7 kB / 1.299 GB, free: 143.3 MB / 0.7293 GB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.9902, allocations: 90.95 kB / 1.299 GB, free: 143.2 MB / 0.7293 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.302e-05/0.9902, allocations: 5.328 kB / 1.299 GB, free: 143.2 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.9904, allocations: 32.62 kB / 1.299 GB, free: 143.2 MB / 0.7293 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.67e-05/0.9905, allocations: 25.17 kB / 1.299 GB, free: 143.2 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.904e-05/0.9906, allocations: 10.03 kB / 1.299 GB, free: 143.2 MB / 0.7293 GB Notification: Performance of sorting global known variables: time 0.0001256/0.9907, allocations: 127.2 kB / 1.3 GB, free: 143.1 MB / 0.7293 GB Notification: Performance of sort global known variables: time 3.8e-07/0.9907, allocations: 0 / 1.3 GB, free: 143.1 MB / 0.7293 GB Notification: Performance of remove unused functions: time 0.0004919/0.9912, allocations: 88.52 kB / 1.3 GB, free: 143.1 MB / 0.7293 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (system.y) * Number of discrete variables: 10 (tCPCommunicatorExample.sampleTrigger,$whenCondition2,$whenCondition1,$whenCondition3,pulse.T_start,pulse.count,tCPCommunicatorExample.firstTrigger,tCPCommunicatorExample.y[1],tCPCommunicatorExample.isConnected,tCPCommunicatorExample.stateExample) * Number of discrete states: 4 (pulse.count,tCPCommunicatorExample.y[1],tCPCommunicatorExample.stateExample,$whenCondition3) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001412/0.9926, allocations: 1.122 MB / 1.301 GB, free: 142.2 MB / 0.7293 GB Notification: Performance of simCode: created initialization part: time 0.0005262/0.9932, allocations: 419.5 kB / 1.301 GB, free: 141.9 MB / 0.7293 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9932, allocations: 4.125 kB / 1.301 GB, free: 141.9 MB / 0.7293 GB Notification: Performance of simCode: created simulation system equations: time 0.0001889/0.9934, allocations: 144.9 kB / 1.301 GB, free: 141.8 MB / 0.7293 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003166/0.9937, allocations: 33.05 kB / 1.301 GB, free: 141.8 MB / 0.7293 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.9957, allocations: 0.5416 MB / 1.302 GB, free: 141.6 MB / 0.7293 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.996, allocations: 0.7273 MB / 1.303 GB, free: 140.9 MB / 0.7293 GB Notification: Performance of simCode: alias equations: time 0.0001858/0.9962, allocations: 41.39 kB / 1.303 GB, free: 140.9 MB / 0.7293 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.392e-05/0.9963, allocations: 42.98 kB / 1.303 GB, free: 140.8 MB / 0.7293 GB Notification: Performance of SimCode: time 2.7e-07/0.9963, allocations: 0 / 1.303 GB, free: 140.8 MB / 0.7293 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01973/1.016, allocations: 4.703 MB / 1.307 GB, free: 140.4 MB / 0.7293 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001659/1.016, allocations: 250.5 kB / 1.307 GB, free: 140 MB / 0.7293 GB Error: Error building simulator. Build log: clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_functions.c:163:41: warning: passing 'const double *' to parameter of type 'double *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] MDD_SerialPackagerAddDouble(_pkg_ext, (const double*) _u_c89, size_of_dimension_base_array(_u, ((modelica_integer) 1)), _byteOrder_ext); ^~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include/MDDSerialPackager.h:307:70: note: passing argument to parameter 'u' here DllExport void MDD_SerialPackagerAddDouble(void* p_package, double * u, size_t n, int endian) { ^ 3 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ 2 warnings generated. clang -Os -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -DOMC_MINIMAL_RUNTIME=1 -DCMINPACK_NO_DLL=1 -I'/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c/fmi' "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -c -o AixLib_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:111: ./gc/omc_gc.h:217:28: warning: expression result unused [-Wunused-value] GC_register_displacement(0); ^ ./gc/omc_gc.h:221:34: warning: expression result unused [-Wunused-value] GC_set_force_unmap_on_gcollect(1); ^ In file included from AixLib_AixLib_Utilities_Communication_SocketCommunication_Examples_ExampleClientLoop_FMU.c:54: ./fmi-export/fmu2_model_interface.c.inc:73:11: warning: enumeration value 'modelSlaveInitialized' not handled in switch [-Wswitch] switch (comp->state) ^ ./fmi-export/fmu2_model_interface.c.inc:162:16: warning: passing 'char **' to parameter of type 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] GC_vasprintf(&str, msg, args); ^~~~ ./gc/../meta/../util/modelica_string.h:71:31: note: passing argument to parameter 'strp' here int GC_vasprintf(const char **strp, const char *fmt, va_list ap); ^ 4 warnings generated. mkdir -p ../binaries/linux64 clang -shared -o AixLib_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+0x5a4): warning: the use of `tmpnam' is dangerous, better use `mkstemp' /usr/bin/ld: /usr/bin/../lib/gcc/x86_64-linux-gnu/9/../../../x86_64-linux-gnu/libpthread.a(pthread_getspecific.o): relocation R_X86_64_PC32 against symbol `__pthread_keys' can not be used when making a shared object; recompile with -fPIC /usr/bin/ld: final link failed: bad value clang: error: linker command failed with exit code 1 (use -v to see invocation) make: *** [Makefile:32: nozip] Error 1