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/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/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.001188/0.001188, allocations: 109.1 kB / 15.99 MB, free: 6.355 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.00126/0.00126, allocations: 192.2 kB / 16.91 MB, free: 6.195 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.316/1.316, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1/package.mo): time 0.05485/0.05485, allocations: 12.04 MB / 302.7 MB, free: 3.352 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005686/0.0005687, allocations: 23.97 kB / 355.8 MB, free: 14.25 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.501/1.501, allocations: 268.2 MB / 0.6612 GB, free: 2.789 MB / 478.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001858/0.001858, allocations: 102.5 kB / 0.7803 GB, free: 0.5195 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.1942, allocations: 108.4 MB / 0.8861 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop): time 0.003849/0.1981, allocations: 2.601 MB / 0.8886 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.1994, allocations: 0.7715 MB / 0.8894 GB, free: 1.047 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.884e-05/0.1995, allocations: 4 kB / 0.8894 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.1996, allocations: 15.88 kB / 0.8894 GB, free: 1.027 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001053/0.1998, allocations: 23.78 kB / 0.8894 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.2002, allocations: 150.5 kB / 0.8896 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002169/0.2004, allocations: 187.5 kB / 0.8897 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.2005, allocations: 37.48 kB / 0.8898 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.633e-05/0.2006, allocations: 75.7 kB / 0.8898 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.2007, allocations: 79.66 kB / 0.8899 GB, free: 500 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.266e-05/0.2008, allocations: 12 kB / 0.8899 GB, free: 488 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.764e-05/0.2009, allocations: 59.92 kB / 0.89 GB, free: 428 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.733e-05/0.2009, allocations: 27.84 kB / 0.89 GB, free: 400 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.904e-05/0.201, allocations: 71.66 kB / 0.8901 GB, free: 328 kB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.2012, allocations: 139.7 kB / 0.8902 GB, free: 188 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.2012, allocations: 0 / 0.8902 GB, free: 188 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2012, allocations: 0 / 0.8902 GB, free: 188 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.2012, allocations: 0 / 0.8902 GB, free: 188 kB / 0.6075 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.3351/0.5363, allocations: 0.5414 MB / 0.8907 GB, free: 16.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.5364, allocations: 10.09 kB / 0.8908 GB, free: 16.32 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.755e-05/0.5365, allocations: 18.66 kB / 0.8908 GB, free: 16.31 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.5367, allocations: 227.6 kB / 0.891 GB, free: 16.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.833e-05/0.5368, allocations: 14.72 kB / 0.891 GB, free: 16.09 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.984e-05/0.5368, allocations: 13.22 kB / 0.891 GB, free: 16.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004341/0.5373, allocations: 164.3 kB / 0.8912 GB, free: 16.04 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.5373, allocations: 0.5 kB / 0.8912 GB, free: 16.04 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.509e-05/0.5373, allocations: 13.47 kB / 0.8912 GB, free: 16.04 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.5373, allocations: 1.594 kB / 0.8912 GB, free: 16.04 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003851/0.5377, allocations: 111.6 kB / 0.8913 GB, free: 16.04 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006567/0.5384, allocations: 425.5 kB / 0.8917 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005601/0.539, allocations: 172.8 kB / 0.8919 GB, free: 15.74 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.5392, allocations: 82.27 kB / 0.8919 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.5392, allocations: 5.438 kB / 0.892 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004184/0.5396, allocations: 171.9 kB / 0.8921 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.954e-06/0.5397, allocations: 7.656 kB / 0.8921 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0008872/0.5406, allocations: 340.2 kB / 0.8924 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.5406, allocations: 141.8 kB / 0.8926 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.5408, allocations: 172 kB / 0.8927 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.5408, allocations: 32.14 kB / 0.8928 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.5408, allocations: 119.4 kB / 0.8929 GB, free: 15.2 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.5409, allocations: 41.61 kB / 0.8929 GB, free: 15.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.31e-05/0.541, allocations: 44.44 kB / 0.893 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 5.216e-05/0.541, allocations: 330.7 kB / 0.8933 GB, free: 14.85 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000206/0.5412, allocations: 74.66 kB / 0.8934 GB, free: 14.84 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002117/0.5415, allocations: 110.2 kB / 0.8935 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008457/0.5423, allocations: 408.1 kB / 0.8939 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.5423, allocations: 0 / 0.8939 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005396/0.5429, allocations: 285.9 kB / 0.8941 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.214e-05/0.5429, allocations: 58.86 kB / 0.8942 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.5429, allocations: 2.234 kB / 0.8942 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.5429, allocations: 1.531 kB / 0.8942 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.5431, allocations: 31.36 kB / 0.8942 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.5431, allocations: 9.906 kB / 0.8942 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.5433, allocations: 29.88 kB / 0.8943 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.838e-05/0.5433, allocations: 7.734 kB / 0.8943 GB, free: 14.28 MB / 0.6075 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.0002406/0.5435, allocations: 154.8 kB / 0.8944 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001659/0.5437, allocations: 97.36 kB / 0.8945 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006456/0.5444, allocations: 379.3 kB / 0.8949 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.5444, allocations: 1.062 kB / 0.8949 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization_lambda0): time 0.0004419/0.5448, allocations: 258.9 kB / 0.8951 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.5449, allocations: 62.95 kB / 0.8952 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.5449, allocations: 1.547 kB / 0.8952 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.238e-06/0.5449, allocations: 2.312 kB / 0.8952 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.545, allocations: 29.8 kB / 0.8952 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.545, allocations: 3.516 kB / 0.8952 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001444/0.5452, allocations: 25.91 kB / 0.8952 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.5452, allocations: 6.953 kB / 0.8952 GB, free: 13.61 MB / 0.6075 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.0001196/0.5453, allocations: 240.4 kB / 0.8955 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.984e-05/0.5454, allocations: 17.56 kB / 0.8955 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.617e-05/0.5454, allocations: 22.84 kB / 0.8955 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.5454, allocations: 5.484 kB / 0.8955 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.5454, allocations: 1.25 kB / 0.8955 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.5454, allocations: 0.6094 kB / 0.8955 GB, free: 13.35 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009064/0.5463, allocations: 0.6152 MB / 0.8961 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.5464, allocations: 3.703 kB / 0.8961 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.5465, allocations: 19.59 kB / 0.8961 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5465, allocations: 0 / 0.8961 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.389e-05/0.5465, allocations: 14.28 kB / 0.8962 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.5465, allocations: 1.406 kB / 0.8962 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5465, allocations: 1.281 kB / 0.8962 GB, free: 12.92 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008696/0.5474, allocations: 483.8 kB / 0.8966 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.465e-05/0.5475, allocations: 89.72 kB / 0.8967 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.5475, allocations: 5.312 kB / 0.8967 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002013/0.5477, allocations: 18.86 kB / 0.8967 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.842e-05/0.5478, allocations: 19.97 kB / 0.8967 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.5478, allocations: 11.97 kB / 0.8968 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 8.624e-05/0.5479, allocations: 128.6 kB / 0.8969 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5479, allocations: 0 / 0.8969 GB, free: 12.47 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004146/0.5483, allocations: 79.98 kB / 0.897 GB, free: 12.46 MB / 0.6075 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.0005212/0.5489, allocations: 288 kB / 0.8972 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007607/0.5496, allocations: 491.1 kB / 0.8977 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5496, allocations: 1.281 kB / 0.8977 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002618/0.5499, allocations: 163.6 kB / 0.8979 GB, free: 11.92 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.5503, allocations: 49.23 kB / 0.8979 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008/0.5511, allocations: 412.2 kB / 0.8983 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001464/0.5513, allocations: 0.7208 MB / 0.899 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.27e-05/0.5513, allocations: 20.73 kB / 0.899 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.5513, allocations: 3.938 kB / 0.899 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of Templates: time 0.00534/0.5567, allocations: 2.825 MB / 0.9018 GB, free: 10.6 MB / 0.6075 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++14 -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/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/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: ./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/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) { ^ 1 error generated. make: *** [: OMCppAixLib_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoopCalcHelperMain.o] Error 1