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.001054/0.001054, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009188/0.0009189, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.35/1.35, allocations: 223.3 MB / 241 MB, free: 5.344 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.166/0.166, allocations: 12.03 MB / 304.1 MB, free: 1.734 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0002069/0.0002065, allocations: 11.98 kB / 358.2 MB, free: 3.129 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.938/1.938, allocations: 270.9 MB / 0.6672 GB, free: 15.29 MB / 478.1 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Lsodar" Notification: Performance of FrontEnd - loaded program: time 0.0005069/0.0005071, allocations: 22.28 kB / 0.7887 GB, free: 31.62 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2205, allocations: 111 MB / 0.8971 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(AixLib.Utilities.Communication.SocketCommunication.Examples.ExampleClientLoop): time 0.003104/0.2236, allocations: 2.243 MB / 0.8993 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.2249, allocations: 0.7639 MB / 0.9 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.765e-05/0.2249, allocations: 3.938 kB / 0.9001 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001534/0.2251, allocations: 23.86 kB / 0.9001 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.2252, allocations: 19.86 kB / 0.9001 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000416/0.2257, allocations: 151.7 kB / 0.9002 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.2259, allocations: 167.5 kB / 0.9004 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.226, allocations: 41.39 kB / 0.9004 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.2261, allocations: 71.69 kB / 0.9005 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.2262, allocations: 75.67 kB / 0.9006 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.2263, allocations: 4 kB / 0.9006 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.54e-05/0.2264, allocations: 39.98 kB / 0.9006 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.485e-05/0.2264, allocations: 27.84 kB / 0.9006 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001082/0.2266, allocations: 85.3 kB / 0.9007 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.2268, allocations: 143.7 kB / 0.9009 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2268, allocations: 0 / 0.9009 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2268, allocations: 0 / 0.9009 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.2268, allocations: 0 / 0.9009 GB, free: 8.613 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.0009022/0.2277, allocations: 0.5179 MB / 0.9014 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.2277, allocations: 8.031 kB / 0.9014 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.997e-05/0.2278, allocations: 20.75 kB / 0.9014 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002763/0.2281, allocations: 236.6 kB / 0.9016 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.2281, allocations: 12.31 kB / 0.9016 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.349e-05/0.2282, allocations: 12.38 kB / 0.9016 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004505/0.2286, allocations: 171.2 kB / 0.9018 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2287, allocations: 4 kB / 0.9018 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.397e-05/0.2287, allocations: 8 kB / 0.9018 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.2287, allocations: 0 / 0.9018 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.2291, allocations: 129.8 kB / 0.9019 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006847/0.2298, allocations: 432.4 kB / 0.9024 GB, free: 6.922 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006026/0.2304, allocations: 194.6 kB / 0.9025 GB, free: 6.723 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002648/0.2307, allocations: 100.8 kB / 0.9026 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.989e-05/0.2307, allocations: 0 / 0.9026 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004271/0.2311, allocations: 190 kB / 0.9028 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.2312, allocations: 7.938 kB / 0.9028 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0009515/0.2321, allocations: 363.8 kB / 0.9032 GB, free: 6.043 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.967e-05/0.2322, allocations: 152.4 kB / 0.9033 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000162/0.2324, allocations: 171.3 kB / 0.9035 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.2324, allocations: 33.7 kB / 0.9035 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.2325, allocations: 112.3 kB / 0.9036 GB, free: 5.531 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.054e-05/0.2326, allocations: 43.47 kB / 0.9037 GB, free: 5.488 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.2326, allocations: 25.7 kB / 0.9037 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2327, allocations: 330.8 kB / 0.904 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.2329, allocations: 67.95 kB / 0.9041 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.2332, allocations: 119.3 kB / 0.9042 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009925/0.2342, allocations: 443.6 kB / 0.9046 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.2342, allocations: 3.938 kB / 0.9046 GB, free: 4.445 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006135/0.2348, allocations: 300.8 kB / 0.9049 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.00011/0.235, allocations: 177.5 kB / 0.9051 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.235, allocations: 0 / 0.9051 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.525e-05/0.235, allocations: 8 kB / 0.9051 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.2352, allocations: 39.91 kB / 0.9051 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.2352, allocations: 4 kB / 0.9051 GB, free: 3.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001819/0.2354, allocations: 27.83 kB / 0.9051 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.2354, allocations: 8 kB / 0.9051 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.192e-06/0.2354, allocations: 4 kB / 0.9052 GB, free: 3.84 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004761/0.2359, allocations: 250.8 kB / 0.9054 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.225e-06/0.2359, allocations: 0 / 0.9054 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.468e-06/0.2359, allocations: 4 kB / 0.9054 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.236, allocations: 36.02 kB / 0.9054 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.236, allocations: 3.938 kB / 0.9054 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.2362, allocations: 23.92 kB / 0.9055 GB, free: 3.52 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.2362, allocations: 8 kB / 0.9055 GB, free: 3.512 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.000244/0.2365, allocations: 253 kB / 0.9057 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.2365, allocations: 23.69 kB / 0.9057 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.869e-05/0.2366, allocations: 25.52 kB / 0.9058 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.2366, allocations: 7.938 kB / 0.9058 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.2366, allocations: 0 / 0.9058 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.2366, allocations: 0 / 0.9058 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.2376, allocations: 0.6305 MB / 0.9064 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.2376, allocations: 0 / 0.9064 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001327/0.2377, allocations: 35.84 kB / 0.9064 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2378, allocations: 0 / 0.9064 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.2378, allocations: 8 kB / 0.9064 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2378, allocations: 7.938 kB / 0.9064 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2378, allocations: 0 / 0.9064 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009604/0.2388, allocations: 0.4891 MB / 0.9069 GB, free: 1.941 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.458e-05/0.2389, allocations: 100.8 kB / 0.907 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.195e-05/0.2389, allocations: 8 kB / 0.907 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/0.2391, allocations: 28.14 kB / 0.907 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.702e-05/0.2392, allocations: 23.95 kB / 0.9071 GB, free: 1.766 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.2392, allocations: 4 kB / 0.9071 GB, free: 1.762 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001155/0.2393, allocations: 132.8 kB / 0.9072 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2393, allocations: 0 / 0.9072 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004053/0.2398, allocations: 75.91 kB / 0.9073 GB, free: 1.559 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.0006257/0.2404, allocations: 287.5 kB / 0.9075 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000883/0.2413, allocations: 0.5006 MB / 0.908 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2413, allocations: 8 kB / 0.908 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002964/0.2416, allocations: 167.3 kB / 0.9082 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004066/0.242, allocations: 47.31 kB / 0.9082 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008955/0.2429, allocations: 415.8 kB / 0.9086 GB, free: 128 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003047/0.2432, allocations: 0.7128 MB / 0.9093 GB, free: 15.38 MB / 0.6232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.14e-05/0.2433, allocations: 19.44 kB / 0.9093 GB, free: 15.36 MB / 0.6232 GB Notification: Performance of SimCode: time 6.91e-07/0.2433, allocations: 0 / 0.9093 GB, free: 15.36 MB / 0.6232 GB Notification: Performance of Templates: time 0.00505/0.2484, allocations: 2.82 MB / 0.9121 GB, free: 12.55 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