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/ModelicaServices 4.0.0+maint.om/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/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/package.mo) 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-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop") translateModel(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 109.2 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 187 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05655/0.05655, allocations: 12.04 MB / 303.2 MB, free: 3.086 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005089/0.000509, allocations: 31.05 kB / 356.3 MB, free: 13.96 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/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/package.mo): time 1.512/1.512, allocations: 268.2 MB / 0.6617 GB, free: 2.586 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 111.8 kB / 0.888 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5714/0.5736, allocations: 108.4 MB / 0.9938 GB, free: 1.105 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop): time 0.004581/0.5782, allocations: 2.548 MB / 0.9963 GB, free: 14.54 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.001558/0.5798, allocations: 0.7831 MB / 0.9971 GB, free: 13.76 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001552/0.58, allocations: 4 kB / 0.9971 GB, free: 13.75 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001831/0.5801, allocations: 23.72 kB / 0.9971 GB, free: 13.73 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0001469/0.5803, allocations: 27.73 kB / 0.9971 GB, free: 13.7 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.000562/0.5809, allocations: 166.5 kB / 0.9973 GB, free: 13.54 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002951/0.5812, allocations: 191.5 kB / 0.9974 GB, free: 13.36 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001353/0.5813, allocations: 37.33 kB / 0.9975 GB, free: 13.32 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.5815, allocations: 71.7 kB / 0.9976 GB, free: 13.25 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.5817, allocations: 87.66 kB / 0.9976 GB, free: 13.16 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 4.45e-05/0.5817, allocations: 12 kB / 0.9976 GB, free: 13.15 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001335/0.5818, allocations: 63.84 kB / 0.9977 GB, free: 13.09 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 6.414e-05/0.5819, allocations: 27.86 kB / 0.9977 GB, free: 13.06 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 9.892e-05/0.582, allocations: 71.64 kB / 0.9978 GB, free: 12.99 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.0003337/0.5824, allocations: 199.3 kB / 0.998 GB, free: 12.8 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.5824, allocations: 0 / 0.998 GB, free: 12.8 MB / 0.6857 GB Notification: Performance of FrontEnd: time 3.277e-06/0.5824, allocations: 0 / 0.998 GB, free: 12.8 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.5824, allocations: 3.938 kB / 0.998 GB, free: 12.79 MB / 0.6857 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.001032/0.5834, allocations: 0.5441 MB / 0.9985 GB, free: 12.19 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.5835, allocations: 12.03 kB / 0.9985 GB, free: 12.18 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.226e-05/0.5836, allocations: 16.75 kB / 0.9986 GB, free: 12.16 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003625/0.5839, allocations: 234.7 kB / 0.9988 GB, free: 11.89 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.584, allocations: 12.31 kB / 0.9988 GB, free: 11.88 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.276e-05/0.584, allocations: 12.38 kB / 0.9988 GB, free: 11.87 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004331/0.5845, allocations: 173.4 kB / 0.999 GB, free: 11.69 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.5845, allocations: 0 / 0.999 GB, free: 11.69 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.5845, allocations: 0 / 0.999 GB, free: 11.69 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.5845, allocations: 4 kB / 0.999 GB, free: 11.69 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003734/0.5849, allocations: 111.9 kB / 0.9991 GB, free: 11.58 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.5857, allocations: 428.4 kB / 0.9995 GB, free: 11.11 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005678/0.5862, allocations: 174.6 kB / 0.9997 GB, free: 10.93 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002222/0.5865, allocations: 80.8 kB / 0.9997 GB, free: 10.85 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 2.08e-05/0.5865, allocations: 0 / 0.9997 GB, free: 10.85 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003746/0.5869, allocations: 173 kB / 0.9999 GB, free: 10.66 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=15): time 1.774e-06/0.5869, allocations: 0 / 0.9999 GB, free: 10.66 MB / 0.6857 GB Notification: Performance of matching and sorting (n=15): time 0.0009138/0.5878, allocations: 346.9 kB / 1 GB, free: 10.31 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.497e-05/0.5879, allocations: 136.5 kB / 1 GB, free: 10.14 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.5881, allocations: 185 kB / 1.001 GB, free: 9.949 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.5881, allocations: 29.7 kB / 1.001 GB, free: 9.914 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 8.869e-05/0.5882, allocations: 120.3 kB / 1.001 GB, free: 9.793 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 4.471e-05/0.5883, allocations: 39.52 kB / 1.001 GB, free: 9.754 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.304e-05/0.5884, allocations: 37.7 kB / 1.001 GB, free: 9.711 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.5885, allocations: 330.8 kB / 1.001 GB, free: 9.379 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.5887, allocations: 64.81 kB / 1.001 GB, free: 9.309 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002282/0.5889, allocations: 113.1 kB / 1.001 GB, free: 9.18 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009301/0.5899, allocations: 407.2 kB / 1.002 GB, free: 8.738 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.5899, allocations: 3.938 kB / 1.002 GB, free: 8.734 MB / 0.6857 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005863/0.5905, allocations: 284.7 kB / 1.002 GB, free: 8.438 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 4.657e-05/0.5905, allocations: 59.41 kB / 1.002 GB, free: 8.367 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.5906, allocations: 3.938 kB / 1.002 GB, free: 8.363 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.5906, allocations: 4 kB / 1.002 GB, free: 8.359 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001535/0.5907, allocations: 39.84 kB / 1.002 GB, free: 8.32 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.5907, allocations: 0 / 1.002 GB, free: 8.32 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001757/0.5909, allocations: 27.98 kB / 1.002 GB, free: 8.293 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.591, allocations: 8 kB / 1.002 GB, free: 8.285 MB / 0.6857 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(flow=false fixed = true ) "Connector of Real output signals" type: Real [1] Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000275/0.5912, allocations: 144.1 kB / 1.002 GB, free: 8.141 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001872/0.5914, allocations: 99.92 kB / 1.002 GB, free: 8.027 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007026/0.5921, allocations: 379.3 kB / 1.003 GB, free: 7.613 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.703e-06/0.5922, allocations: 4 kB / 1.003 GB, free: 7.609 MB / 0.6857 GB Notification: Performance of matching and sorting (n=22) (initialization_lambda0): time 0.0004875/0.5927, allocations: 260.1 kB / 1.003 GB, free: 7.34 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 3.782e-05/0.5927, allocations: 63.34 kB / 1.003 GB, free: 7.266 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5927, allocations: 0 / 1.003 GB, free: 7.266 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.059e-06/0.5927, allocations: 7.938 kB / 1.003 GB, free: 7.258 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.5928, allocations: 28.06 kB / 1.003 GB, free: 7.23 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.5929, allocations: 8 kB / 1.003 GB, free: 7.223 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000161/0.593, allocations: 19.83 kB / 1.003 GB, free: 7.203 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.593, allocations: 12 kB / 1.003 GB, free: 7.191 MB / 0.6857 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(flow=false 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,tCPCommunicatorExample.firstTrigger,$PRE.tCPCommunicatorExample.firstTrigger,tCPCommunicatorExample.sampleTrigger,$whenCondition3,$whenCondition2,tCPCommunicatorExample.isConnected,$PRE.tCPCommunicatorExample.y[1],$PRE.pulse.count,$PRE.pulse.T_start,tCPCommunicatorExample.y[1],pulse.count,pulse.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001691/0.5932, allocations: 227.6 kB / 1.003 GB, free: 6.957 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.796e-05/0.5933, allocations: 23.84 kB / 1.003 GB, free: 6.934 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.523e-05/0.5933, allocations: 21.52 kB / 1.003 GB, free: 6.91 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.5933, allocations: 4 kB / 1.003 GB, free: 6.906 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.101e-06/0.5934, allocations: 0 / 1.003 GB, free: 6.906 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.5934, allocations: 7.922 kB / 1.003 GB, free: 6.898 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009895/0.5944, allocations: 0.6194 MB / 1.004 GB, free: 6.219 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.5944, allocations: 0 / 1.004 GB, free: 6.219 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001256/0.5945, allocations: 15.98 kB / 1.004 GB, free: 6.203 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.5945, allocations: 4 kB / 1.004 GB, free: 6.199 MB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.35e-05/0.5946, allocations: 11.98 kB / 1.004 GB, free: 6.188 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.5946, allocations: 4 kB / 1.004 GB, free: 6.184 MB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.5946, allocations: 4 kB / 1.004 GB, free: 6.18 MB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009278/0.5955, allocations: 484.7 kB / 1.004 GB, free: 5.684 MB / 0.6857 GB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.5956, allocations: 88.95 kB / 1.004 GB, free: 5.578 MB / 0.6857 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.949e-05/0.5956, allocations: 4 kB / 1.004 GB, free: 5.574 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002117/0.5958, allocations: 23.97 kB / 1.005 GB, free: 5.551 MB / 0.6857 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.438e-05/0.5959, allocations: 11.98 kB / 1.005 GB, free: 5.539 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.5959, allocations: 15.92 kB / 1.005 GB, free: 5.523 MB / 0.6857 GB Notification: Performance of sorting global known variables: time 9.717e-05/0.596, allocations: 128.3 kB / 1.005 GB, free: 5.398 MB / 0.6857 GB Notification: Performance of sort global known variables: time 1.2e-07/0.596, allocations: 0 / 1.005 GB, free: 5.398 MB / 0.6857 GB Notification: Performance of remove unused functions: time 0.0004173/0.5965, allocations: 83.95 kB / 1.005 GB, free: 5.316 MB / 0.6857 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006046/0.5971, allocations: 280.9 kB / 1.005 GB, free: 5.129 MB / 0.6857 GB Notification: Performance of simCode: created initialization part: time 0.0008344/0.5979, allocations: 485.3 kB / 1.005 GB, free: 4.605 MB / 0.6857 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5979, allocations: 0 / 1.005 GB, free: 4.605 MB / 0.6857 GB Notification: Performance of simCode: created simulation system equations: time 0.0002872/0.5982, allocations: 159.3 kB / 1.006 GB, free: 4.438 MB / 0.6857 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003883/0.5986, allocations: 38.91 kB / 1.006 GB, free: 4.402 MB / 0.6857 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007759/0.5994, allocations: 353.9 kB / 1.006 GB, free: 4.023 MB / 0.6857 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002776/0.5997, allocations: 0.7125 MB / 1.007 GB, free: 3.285 MB / 0.6857 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.5998, allocations: 19.44 kB / 1.007 GB, free: 3.27 MB / 0.6857 GB Notification: Performance of SimCode: time 3.21e-07/0.5998, allocations: 0 / 1.007 GB, free: 3.27 MB / 0.6857 GB Notification: Performance of Templates: time 0.005537/0.6053, allocations: 2.856 MB / 1.009 GB, free: 448 kB / 0.6857 GB make -j1 -f AixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop.makefile make -j1 -f AixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppAixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoopCalcHelperMain.o OMCppAixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoopCalcHelperMain.cpp In file included from OMCppAixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoopCalcHelperMain.cpp:28: In file included from ./OMCppAixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoopFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:452:5: error: no matching function for call to 'strncpy' strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); ^~~~~~~ /usr/include/string.h:144:14: note: candidate function not viable: no known conversion from 'unsigned char *' to 'char *__restrict' for 1st argument extern char *strncpy (char *__restrict __dest, ^ In file included from OMCppAixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoopCalcHelperMain.cpp:28: ./OMCppAixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoopFunctions.cpp:284:3: error: no matching function for call to 'MDD_SerialPackagerAddDouble' MDD_SerialPackagerAddDouble(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:307:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDouble(void* p_package, double * u, size_t n, int endian) { ^ 2 errors generated. make: *** [: OMCppAixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoopCalcHelperMain.o] Error 1