Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr AixLib_latest_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/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.4.0-development/package.mo", uses=false) Using package AixLib with version 1.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/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_latest_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop") translateModel(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_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.006734/0.006734, allocations: 101.5 kB / 15.88 MB, free: 5.871 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.001496/0.001496, allocations: 193.6 kB / 16.79 MB, free: 5.816 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.377/1.377, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.1749/0.1749, allocations: 12.02 MB / 302.6 MB, free: 0.9414 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.000531/0.000531, allocations: 39.86 kB / 355.7 MB, free: 4.055 MB / 286.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-development/ThermalZones/HighOrder/Components/Examples/DryAir/DryAir_test.mo:71:18-71:405:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-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.4.0-development/BoundaryConditions/InternalGains/Examples/InternalGains/Lights.mo:27:20-27:398:writable] Warning: Lexer treating \ as \\, since \ is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/package.mo): time 1.887/1.887, allocations: 272.2 MB / 0.665 GB, free: 13.14 MB / 478.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.001918/0.001918, allocations: 119.4 kB / 0.7848 GB, free: 31.59 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2351, allocations: 109.2 MB / 0.8914 GB, free: 12.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop): time 0.004325/0.2395, allocations: 2.574 MB / 0.8939 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001314/0.2408, allocations: 0.7872 MB / 0.8947 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.887e-05/0.2409, allocations: 3.938 kB / 0.8947 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001834/0.2411, allocations: 23.86 kB / 0.8947 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.2412, allocations: 27.78 kB / 0.8947 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004191/0.2417, allocations: 147 kB / 0.8949 GB, free: 9.242 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001964/0.2419, allocations: 167.5 kB / 0.895 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001286/0.242, allocations: 33.5 kB / 0.895 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001045/0.2422, allocations: 71.69 kB / 0.8951 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.2423, allocations: 83.59 kB / 0.8952 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.159e-05/0.2423, allocations: 8 kB / 0.8952 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.94e-05/0.2424, allocations: 43.98 kB / 0.8952 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.932e-05/0.2425, allocations: 27.84 kB / 0.8953 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 9.158e-05/0.2426, allocations: 67.59 kB / 0.8953 GB, free: 8.75 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.2428, allocations: 135.8 kB / 0.8955 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2428, allocations: 0 / 0.8955 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2428, allocations: 0 / 0.8955 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.2428, allocations: 0 / 0.8955 GB, free: 8.617 MB / 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.0009122/0.2437, allocations: 0.545 MB / 0.896 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.2438, allocations: 8.031 kB / 0.896 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.777e-05/0.2439, allocations: 20.75 kB / 0.896 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.2441, allocations: 228.6 kB / 0.8962 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.802e-05/0.2442, allocations: 12.31 kB / 0.8963 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.324e-05/0.2442, allocations: 12.38 kB / 0.8963 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003949/0.2446, allocations: 171.2 kB / 0.8964 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2446, allocations: 0 / 0.8964 GB, free: 7.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.2446, allocations: 8 kB / 0.8964 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.2446, allocations: 0 / 0.8964 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/0.245, allocations: 115.8 kB / 0.8965 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006787/0.2457, allocations: 424.4 kB / 0.897 GB, free: 6.93 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005737/0.2463, allocations: 174.6 kB / 0.8971 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.2465, allocations: 76.81 kB / 0.8972 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.95e-05/0.2466, allocations: 7.984 kB / 0.8972 GB, free: 6.664 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/0.247, allocations: 173 kB / 0.8974 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.553e-06/0.247, allocations: 0 / 0.8974 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0008914/0.2479, allocations: 352.4 kB / 0.8977 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.248, allocations: 136.5 kB / 0.8978 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.2481, allocations: 183.3 kB / 0.898 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.2482, allocations: 29.7 kB / 0.898 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.27e-05/0.2482, allocations: 112.4 kB / 0.8981 GB, free: 5.621 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.2483, allocations: 39.45 kB / 0.8982 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.875e-05/0.2484, allocations: 41.7 kB / 0.8982 GB, free: 5.535 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.2485, allocations: 326.8 kB / 0.8985 GB, free: 5.207 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.2487, allocations: 72.81 kB / 0.8986 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.2489, allocations: 110.9 kB / 0.8987 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008958/0.2498, allocations: 404.6 kB / 0.8991 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2498, allocations: 0 / 0.8991 GB, free: 4.566 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005642/0.2504, allocations: 285.7 kB / 0.8994 GB, free: 4.27 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/0.2505, allocations: 64.97 kB / 0.8994 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.2505, allocations: 7.875 kB / 0.8994 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2505, allocations: 4.094 kB / 0.8994 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.2506, allocations: 31.97 kB / 0.8995 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.2507, allocations: 0 / 0.8995 GB, free: 4.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001669/0.2508, allocations: 27.83 kB / 0.8995 GB, free: 4.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.299e-05/0.2509, allocations: 12 kB / 0.8995 GB, free: 4.113 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.0002712/0.2511, allocations: 159.9 kB / 0.8997 GB, free: 3.957 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001811/0.2513, allocations: 97.11 kB / 0.8998 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007037/0.252, allocations: 368.6 kB / 0.9001 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.252, allocations: 0 / 0.9001 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization_lambda0): time 0.0004697/0.2525, allocations: 268.7 kB / 0.9004 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.538e-05/0.2526, allocations: 63.44 kB / 0.9004 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.2526, allocations: 4 kB / 0.9004 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.096e-06/0.2526, allocations: 0 / 0.9004 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001163/0.2527, allocations: 35.91 kB / 0.9005 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.2527, allocations: 3.984 kB / 0.9005 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001507/0.2529, allocations: 23.83 kB / 0.9005 GB, free: 3.016 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.449e-05/0.2529, allocations: 8 kB / 0.9005 GB, free: 3.008 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.0001598/0.2531, allocations: 230.1 kB / 0.9007 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.213e-05/0.2531, allocations: 19.75 kB / 0.9007 GB, free: 2.754 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.2532, allocations: 21.47 kB / 0.9008 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.2532, allocations: 4 kB / 0.9008 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.2532, allocations: 0 / 0.9008 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2532, allocations: 0 / 0.9008 GB, free: 2.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009633/0.2542, allocations: 0.6243 MB / 0.9014 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.2542, allocations: 0 / 0.9014 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.2543, allocations: 23.98 kB / 0.9014 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.2543, allocations: 0 / 0.9014 GB, free: 2.023 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.2543, allocations: 15.92 kB / 0.9014 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.2544, allocations: 0 / 0.9014 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.2544, allocations: 3.938 kB / 0.9014 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00091/0.2553, allocations: 482.9 kB / 0.9019 GB, free: 1.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.975e-05/0.2553, allocations: 92.89 kB / 0.902 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.385e-05/0.2554, allocations: 8 kB / 0.902 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/0.2556, allocations: 19.97 kB / 0.902 GB, free: 1.375 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.2557, allocations: 15.98 kB / 0.902 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.276e-05/0.2557, allocations: 16.05 kB / 0.902 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001027/0.2558, allocations: 128.8 kB / 0.9021 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2558, allocations: 0 / 0.9021 GB, free: 1.219 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004074/0.2562, allocations: 75.89 kB / 0.9022 GB, free: 1.145 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.0006273/0.2569, allocations: 284.9 kB / 0.9025 GB, free: 0.9258 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0008133/0.2577, allocations: 473.4 kB / 0.9029 GB, free: 424 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2577, allocations: 0 / 0.9029 GB, free: 424 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002997/0.258, allocations: 167.6 kB / 0.9031 GB, free: 244 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003906/0.2584, allocations: 50.22 kB / 0.9031 GB, free: 200 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008771/0.2593, allocations: 411.8 kB / 0.9035 GB, free: 15.75 MB / 0.6232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.2596, allocations: 0.7167 MB / 0.9042 GB, free: 15.01 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.2596, allocations: 19.44 kB / 0.9042 GB, free: 14.99 MB / 0.6232 GB Notification: Performance of SimCode: time 3.51e-07/0.2596, allocations: 0 / 0.9042 GB, free: 14.99 MB / 0.6232 GB Notification: Performance of Templates: time 0.004855/0.2645, allocations: 2.832 MB / 0.907 GB, free: 12.17 MB / 0.6232 GB make -j1 -f AixLib_latest_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop.makefile make -j1 -f AixLib_latest_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-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_latest_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoopCalcHelperMain.o OMCppAixLib_latest_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoopCalcHelperMain.cpp In file included from OMCppAixLib_latest_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoopCalcHelperMain.cpp:28: In file included from ./OMCppAixLib_latest_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_latest_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoopCalcHelperMain.cpp:28: ./OMCppAixLib_latest_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_latest_AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoopCalcHelperMain.o] Error 1