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.001664/0.001664, allocations: 105.6 kB / 16.41 MB, free: 6.512 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.001884/0.001884, allocations: 187 kB / 17.34 MB, free: 5.742 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.362/1.362, allocations: 222.9 MB / 241 MB, free: 15.16 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.05765/0.05765, allocations: 12.04 MB / 303.2 MB, free: 3.113 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0006715/0.0006713, allocations: 19.97 kB / 356.3 MB, free: 13.98 MB / 302.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.907/1.907, allocations: 272.3 MB / 0.6657 GB, free: 18.28 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 103.8 kB / 0.8935 GB, free: 15.11 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6797/0.6818, allocations: 109.2 MB / 1 GB, free: 8.285 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop): time 0.004037/0.6858, allocations: 2.548 MB / 1.003 GB, free: 6.301 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.6872, allocations: 0.7864 MB / 1.003 GB, free: 5.688 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.6874, allocations: 5.469 kB / 1.003 GB, free: 5.684 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0001845/0.6876, allocations: 25.83 kB / 1.003 GB, free: 5.66 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.6878, allocations: 31.09 kB / 1.003 GB, free: 5.633 MB / 0.6857 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005461/0.6883, allocations: 156.4 kB / 1.004 GB, free: 5.52 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.0002884/0.6886, allocations: 193.8 kB / 1.004 GB, free: 5.402 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000142/0.6888, allocations: 44.83 kB / 1.004 GB, free: 5.375 MB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.6889, allocations: 77.06 kB / 1.004 GB, free: 5.328 MB / 0.6857 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.689, allocations: 80.2 kB / 1.004 GB, free: 5.273 MB / 0.6857 GB Notification: Performance of NFPackage.collectConstants: time 4.965e-05/0.6891, allocations: 12.66 kB / 1.004 GB, free: 5.273 MB / 0.6857 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.6892, allocations: 48.23 kB / 1.004 GB, free: 5.258 MB / 0.6857 GB Notification: Performance of NFScalarize.scalarize: time 5.91e-05/0.6893, allocations: 37.8 kB / 1.004 GB, free: 5.227 MB / 0.6857 GB Notification: Performance of NFVerifyModel.verify: time 9.264e-05/0.6894, allocations: 74.66 kB / 1.004 GB, free: 5.172 MB / 0.6857 GB Notification: Performance of NFConvertDAE.convert: time 0.00032/0.6897, allocations: 191.9 kB / 1.004 GB, free: 5.039 MB / 0.6857 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6897, allocations: 0 / 1.004 GB, free: 5.039 MB / 0.6857 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6898, allocations: 3.938 kB / 1.004 GB, free: 5.035 MB / 0.6857 GB Notification: Performance of Transformations before backend: time 7.985e-06/0.6898, allocations: 1.438 kB / 1.004 GB, free: 5.035 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.0009498/0.6907, allocations: 0.5369 MB / 1.005 GB, free: 4.516 MB / 0.6857 GB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/0.6908, allocations: 12.88 kB / 1.005 GB, free: 4.512 MB / 0.6857 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.772e-05/0.6909, allocations: 18.44 kB / 1.005 GB, free: 4.504 MB / 0.6857 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003287/0.6912, allocations: 243.6 kB / 1.005 GB, free: 4.246 MB / 0.6857 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.981e-05/0.6912, allocations: 8.906 kB / 1.005 GB, free: 4.242 MB / 0.6857 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.379e-05/0.6913, allocations: 13.12 kB / 1.005 GB, free: 4.238 MB / 0.6857 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004194/0.6917, allocations: 170.8 kB / 1.005 GB, free: 4.121 MB / 0.6857 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.6917, allocations: 4 kB / 1.005 GB, free: 4.117 MB / 0.6857 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.6918, allocations: 2.688 kB / 1.005 GB, free: 4.117 MB / 0.6857 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.6918, allocations: 1 kB / 1.005 GB, free: 4.117 MB / 0.6857 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003956/0.6922, allocations: 113.1 kB / 1.005 GB, free: 4.066 MB / 0.6857 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006574/0.6928, allocations: 433.7 kB / 1.006 GB, free: 3.66 MB / 0.6857 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005845/0.6934, allocations: 161.3 kB / 1.006 GB, free: 3.578 MB / 0.6857 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002315/0.6937, allocations: 82.88 kB / 1.006 GB, free: 3.535 MB / 0.6857 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.6937, allocations: 1.094 kB / 1.006 GB, free: 3.535 MB / 0.6857 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003539/0.6941, allocations: 176.7 kB / 1.006 GB, free: 3.398 MB / 0.6857 GB Notification: Performance of pre-optimization done (n=15): time 1.943e-06/0.6941, allocations: 0.9688 kB / 1.006 GB, free: 3.398 MB / 0.6857 GB Notification: Performance of matching and sorting (n=15): time 0.0008898/0.695, allocations: 349 kB / 1.007 GB, free: 3.211 MB / 0.6857 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.695, allocations: 136.3 kB / 1.007 GB, free: 3.051 MB / 0.6857 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.6952, allocations: 174.9 kB / 1.007 GB, free: 2.906 MB / 0.6857 GB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.6952, allocations: 32.17 kB / 1.007 GB, free: 2.871 MB / 0.6857 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/0.6953, allocations: 123.6 kB / 1.007 GB, free: 2.754 MB / 0.6857 GB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.6953, allocations: 32.67 kB / 1.007 GB, free: 2.727 MB / 0.6857 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.539e-05/0.6954, allocations: 44.92 kB / 1.007 GB, free: 2.691 MB / 0.6857 GB Notification: Performance of setup shared object (initialization): time 5.139e-05/0.6954, allocations: 327.4 kB / 1.007 GB, free: 2.367 MB / 0.6857 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002095/0.6957, allocations: 71.33 kB / 1.007 GB, free: 2.328 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002181/0.6959, allocations: 110 kB / 1.008 GB, free: 2.242 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000892/0.6968, allocations: 409.6 kB / 1.008 GB, free: 1.926 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.195e-06/0.6968, allocations: 3.938 kB / 1.008 GB, free: 1.922 MB / 0.6857 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005544/0.6974, allocations: 290.5 kB / 1.008 GB, free: 1.734 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/0.6974, allocations: 61.2 kB / 1.008 GB, free: 1.668 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.6974, allocations: 5.438 kB / 1.008 GB, free: 1.664 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.6974, allocations: 2.875 kB / 1.008 GB, free: 1.664 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001456/0.6976, allocations: 23.41 kB / 1.008 GB, free: 1.66 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.027e-06/0.6976, allocations: 10.7 kB / 1.008 GB, free: 1.652 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001805/0.6978, allocations: 28.62 kB / 1.008 GB, free: 1.637 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.005e-05/0.6978, allocations: 9.031 kB / 1.008 GB, free: 1.633 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.0002539/0.6981, allocations: 146.5 kB / 1.008 GB, free: 1.52 MB / 0.6857 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001692/0.6983, allocations: 91.45 kB / 1.009 GB, free: 1.445 MB / 0.6857 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006698/0.6989, allocations: 369.7 kB / 1.009 GB, free: 1.148 MB / 0.6857 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.826e-06/0.6989, allocations: 1.156 kB / 1.009 GB, free: 1.148 MB / 0.6857 GB Notification: Performance of matching and sorting (n=22) (initialization_lambda0): time 0.0004765/0.6994, allocations: 275.8 kB / 1.009 GB, free: 0.9609 MB / 0.6857 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.6995, allocations: 62.69 kB / 1.009 GB, free: 0.8945 MB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.677e-06/0.6995, allocations: 1.031 kB / 1.009 GB, free: 0.8945 MB / 0.6857 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.5e-06/0.6995, allocations: 2.188 kB / 1.009 GB, free: 0.8945 MB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.6996, allocations: 30.02 kB / 1.009 GB, free: 0.8828 MB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.6996, allocations: 2.094 kB / 1.009 GB, free: 0.8828 MB / 0.6857 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.6998, allocations: 26.45 kB / 1.009 GB, free: 0.8672 MB / 0.6857 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.6998, allocations: 12.7 kB / 1.009 GB, free: 0.8594 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.0001318/0.6999, allocations: 224.7 kB / 1.01 GB, free: 0.6406 MB / 0.6857 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.87e-05/0.7, allocations: 25 kB / 1.01 GB, free: 0.625 MB / 0.6857 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.536e-05/0.7001, allocations: 21.95 kB / 1.01 GB, free: 0.6055 MB / 0.6857 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.7001, allocations: 1 kB / 1.01 GB, free: 0.6055 MB / 0.6857 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.024e-06/0.7001, allocations: 5.094 kB / 1.01 GB, free: 0.6016 MB / 0.6857 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.7001, allocations: 0 / 1.01 GB, free: 0.6016 MB / 0.6857 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009082/0.701, allocations: 0.6144 MB / 1.01 GB, free: 96 kB / 0.6857 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.701, allocations: 0 / 1.01 GB, free: 96 kB / 0.6857 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001279/0.7012, allocations: 25.56 kB / 1.01 GB, free: 84 kB / 0.6857 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.556e-06/0.7012, allocations: 1.656 kB / 1.01 GB, free: 84 kB / 0.6857 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.7012, allocations: 7.219 kB / 1.01 GB, free: 80 kB / 0.6857 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.7012, allocations: 5.016 kB / 1.01 GB, free: 76 kB / 0.6857 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.7012, allocations: 4 kB / 1.01 GB, free: 72 kB / 0.6857 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009934/0.7022, allocations: 478.4 kB / 1.011 GB, free: 15.77 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.7023, allocations: 93.5 kB / 1.011 GB, free: 15.66 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.45e-05/0.7023, allocations: 4.25 kB / 1.011 GB, free: 15.66 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.7026, allocations: 27.66 kB / 1.011 GB, free: 15.64 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.757e-05/0.7026, allocations: 10.52 kB / 1.011 GB, free: 15.64 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.217e-05/0.7027, allocations: 11.28 kB / 1.011 GB, free: 15.64 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 0.0001065/0.7028, allocations: 133.1 kB / 1.011 GB, free: 15.53 MB / 0.7013 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7028, allocations: 0 / 1.011 GB, free: 15.53 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.0004527/0.7032, allocations: 74.97 kB / 1.011 GB, free: 15.51 MB / 0.7013 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.000627/0.7039, allocations: 301.3 kB / 1.011 GB, free: 15.34 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 0.0008939/0.7048, allocations: 481.4 kB / 1.012 GB, free: 14.98 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.7048, allocations: 1.219 kB / 1.012 GB, free: 14.98 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 0.0003014/0.7051, allocations: 158.1 kB / 1.012 GB, free: 14.87 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.7055, allocations: 43.41 kB / 1.012 GB, free: 14.85 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000826/0.7064, allocations: 349.6 kB / 1.012 GB, free: 14.58 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002916/0.7067, allocations: 0.7176 MB / 1.013 GB, free: 13.86 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.7067, allocations: 17.28 kB / 1.013 GB, free: 13.86 MB / 0.7013 GB Notification: Performance of SimCode: time 4.21e-07/0.7067, allocations: 0 / 1.013 GB, free: 13.86 MB / 0.7013 GB Notification: Performance of Templates: time 0.006003/0.7127, allocations: 2.871 MB / 1.016 GB, free: 12.36 MB / 0.7013 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++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_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