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.001148/0.001147, allocations: 107.5 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.001154/0.001154, allocations: 196.7 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.324/1.324, 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-master/package.mo): time 0.05798/0.05798, allocations: 12.03 MB / 302.8 MB, free: 3.379 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005622/0.000562, allocations: 31.89 kB / 355.8 MB, free: 14.27 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.98/1.98, allocations: 272.3 MB / 0.6652 GB, free: 18.35 MB / 478.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 107.9 kB / 0.7851 GB, free: 14.02 MB / 0.5607 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2153/0.2174, allocations: 109.2 MB / 0.8917 GB, free: 0.7812 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop): time 0.004755/0.2222, allocations: 2.591 MB / 0.8942 GB, free: 14.17 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.001529/0.2238, allocations: 0.7716 MB / 0.895 GB, free: 13.39 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.2239, allocations: 4 kB / 0.895 GB, free: 13.39 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0002179/0.2242, allocations: 27.84 kB / 0.895 GB, free: 13.36 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.2244, allocations: 19.81 kB / 0.895 GB, free: 13.34 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005547/0.2249, allocations: 149.8 kB / 0.8951 GB, free: 13.2 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.2252, allocations: 175.5 kB / 0.8953 GB, free: 13.03 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.2254, allocations: 41.47 kB / 0.8954 GB, free: 12.98 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.2256, allocations: 75.7 kB / 0.8954 GB, free: 12.91 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.2257, allocations: 83.55 kB / 0.8955 GB, free: 12.83 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 3.915e-05/0.2258, allocations: 12 kB / 0.8955 GB, free: 12.82 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001506/0.2259, allocations: 59.97 kB / 0.8956 GB, free: 12.76 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.226, allocations: 23.91 kB / 0.8956 GB, free: 12.73 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.2261, allocations: 79.58 kB / 0.8957 GB, free: 12.66 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.0002627/0.2264, allocations: 127.8 kB / 0.8958 GB, free: 12.53 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2264, allocations: 4 kB / 0.8958 GB, free: 12.53 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.023e-06/0.2264, allocations: 0 / 0.8958 GB, free: 12.53 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.807e-06/0.2264, allocations: 0 / 0.8958 GB, free: 12.53 MB / 0.67 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.001067/0.2275, allocations: 0.5488 MB / 0.8963 GB, free: 11.92 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2276, allocations: 12.03 kB / 0.8963 GB, free: 11.91 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.374e-05/0.2277, allocations: 16.75 kB / 0.8964 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/0.2279, allocations: 232.7 kB / 0.8966 GB, free: 11.62 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.228, allocations: 8.359 kB / 0.8966 GB, free: 11.61 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.228, allocations: 20.31 kB / 0.8966 GB, free: 11.59 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000438/0.2285, allocations: 169.2 kB / 0.8968 GB, free: 11.42 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.2285, allocations: 0 / 0.8968 GB, free: 11.42 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.2285, allocations: 4 kB / 0.8968 GB, free: 11.41 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.177e-06/0.2285, allocations: 4 kB / 0.8968 GB, free: 11.41 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003894/0.2289, allocations: 111.9 kB / 0.8969 GB, free: 11.3 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007908/0.2297, allocations: 440.3 kB / 0.8973 GB, free: 10.82 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000593/0.2303, allocations: 162.6 kB / 0.8975 GB, free: 10.65 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.2306, allocations: 92.78 kB / 0.8975 GB, free: 10.56 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 2.863e-05/0.2306, allocations: 3.938 kB / 0.8976 GB, free: 10.55 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004551/0.2311, allocations: 171.5 kB / 0.8977 GB, free: 10.37 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.693e-06/0.2311, allocations: 0 / 0.8977 GB, free: 10.37 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.0009672/0.2321, allocations: 335 kB / 0.898 GB, free: 10.03 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.2322, allocations: 140.4 kB / 0.8982 GB, free: 9.863 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.2324, allocations: 184.1 kB / 0.8983 GB, free: 9.676 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.2324, allocations: 37.69 kB / 0.8984 GB, free: 9.633 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 8.524e-05/0.2325, allocations: 108.4 kB / 0.8985 GB, free: 9.523 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 4.51e-05/0.2325, allocations: 47.44 kB / 0.8985 GB, free: 9.477 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.071e-05/0.2326, allocations: 45.7 kB / 0.8986 GB, free: 9.426 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2327, allocations: 322.8 kB / 0.8989 GB, free: 9.102 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002171/0.233, allocations: 64.81 kB / 0.8989 GB, free: 9.035 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002312/0.2332, allocations: 114 kB / 0.8991 GB, free: 8.906 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009859/0.2342, allocations: 404 kB / 0.8994 GB, free: 8.469 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.2342, allocations: 0 / 0.8994 GB, free: 8.469 MB / 0.67 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005844/0.2348, allocations: 284.8 kB / 0.8997 GB, free: 8.172 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.059e-05/0.2349, allocations: 63.41 kB / 0.8998 GB, free: 8.098 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.487e-06/0.2349, allocations: 3.938 kB / 0.8998 GB, free: 8.094 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.931e-05/0.2349, allocations: 4 kB / 0.8998 GB, free: 8.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.2351, allocations: 35.84 kB / 0.8998 GB, free: 8.055 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.2351, allocations: 0 / 0.8998 GB, free: 8.055 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.2353, allocations: 35.81 kB / 0.8998 GB, free: 8.02 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.941e-05/0.2353, allocations: 4 kB / 0.8998 GB, free: 8.016 MB / 0.67 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.0002685/0.2356, allocations: 151.8 kB / 0.9 GB, free: 7.863 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000179/0.2358, allocations: 99.34 kB / 0.9001 GB, free: 7.75 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007169/0.2365, allocations: 372.1 kB / 0.9004 GB, free: 7.344 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.784e-06/0.2365, allocations: 8 kB / 0.9005 GB, free: 7.336 MB / 0.67 GB Notification: Performance of matching and sorting (n=22) (initialization_lambda0): time 0.0004916/0.237, allocations: 256.8 kB / 0.9007 GB, free: 7.066 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 3.751e-05/0.2371, allocations: 71.27 kB / 0.9008 GB, free: 6.984 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.2371, allocations: 0 / 0.9008 GB, free: 6.984 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.04e-06/0.2371, allocations: 4 kB / 0.9008 GB, free: 6.98 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.2372, allocations: 27.92 kB / 0.9008 GB, free: 6.953 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2372, allocations: 4 kB / 0.9008 GB, free: 6.949 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001605/0.2374, allocations: 23.92 kB / 0.9008 GB, free: 6.926 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.701e-05/0.2374, allocations: 12 kB / 0.9008 GB, free: 6.914 MB / 0.67 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.0001787/0.2376, allocations: 227.6 kB / 0.901 GB, free: 6.68 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.899e-05/0.2377, allocations: 23.75 kB / 0.9011 GB, free: 6.656 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.975e-05/0.2377, allocations: 21.52 kB / 0.9011 GB, free: 6.641 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2377, allocations: 0 / 0.9011 GB, free: 6.641 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2377, allocations: 0 / 0.9011 GB, free: 6.641 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2377, allocations: 4.094 kB / 0.9011 GB, free: 6.637 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.2388, allocations: 0.6248 MB / 0.9017 GB, free: 5.949 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.2388, allocations: 0 / 0.9017 GB, free: 5.949 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001253/0.2389, allocations: 19.97 kB / 0.9017 GB, free: 5.93 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.239, allocations: 0 / 0.9017 GB, free: 5.93 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.294e-05/0.239, allocations: 4 kB / 0.9017 GB, free: 5.926 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.239, allocations: 8 kB / 0.9017 GB, free: 5.918 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.239, allocations: 3.938 kB / 0.9017 GB, free: 5.914 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000922/0.2399, allocations: 475.5 kB / 0.9022 GB, free: 5.43 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 6.331e-05/0.24, allocations: 92.89 kB / 0.9023 GB, free: 5.32 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.786e-05/0.2401, allocations: 16.05 kB / 0.9023 GB, free: 5.305 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002106/0.2403, allocations: 15.98 kB / 0.9023 GB, free: 5.289 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.071e-05/0.2404, allocations: 19.91 kB / 0.9023 GB, free: 5.27 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.126e-05/0.2404, allocations: 8 kB / 0.9023 GB, free: 5.262 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0001153/0.2405, allocations: 132.8 kB / 0.9025 GB, free: 5.133 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2405, allocations: 0 / 0.9025 GB, free: 5.133 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004568/0.241, allocations: 75.89 kB / 0.9025 GB, free: 5.059 MB / 0.67 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.000652/0.2416, allocations: 290.5 kB / 0.9028 GB, free: 4.836 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0009217/0.2426, allocations: 489.4 kB / 0.9033 GB, free: 4.309 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/0.2426, allocations: 4 kB / 0.9033 GB, free: 4.305 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002993/0.2429, allocations: 155.3 kB / 0.9034 GB, free: 4.141 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.2433, allocations: 47.12 kB / 0.9035 GB, free: 4.098 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009165/0.2442, allocations: 406.3 kB / 0.9039 GB, free: 3.668 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002743/0.2445, allocations: 0.724 MB / 0.9046 GB, free: 2.914 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.454e-05/0.2446, allocations: 15.44 kB / 0.9046 GB, free: 2.898 MB / 0.67 GB Notification: Performance of SimCode: time 3.21e-07/0.2446, allocations: 0 / 0.9046 GB, free: 2.898 MB / 0.67 GB Notification: Performance of Templates: time 0.00533/0.2499, allocations: 2.836 MB / 0.9074 GB, free: 88 kB / 0.67 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