Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_latest_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2.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.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2,tolerance=1e-12,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2") translateModel(AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2,tolerance=1e-12,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_latest_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, 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.001172/0.001172, 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.234/1.234, allocations: 222.9 MB / 241 MB, free: 15.09 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.05312/0.05312, allocations: 12.04 MB / 303.2 MB, free: 3.066 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0004894/0.0004894, allocations: 31.05 kB / 356.3 MB, free: 13.93 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.781/1.781, allocations: 272.3 MB / 0.6657 GB, free: 18.36 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 116.3 kB / 0.8935 GB, free: 15.05 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.539/0.541, allocations: 109.1 MB / 1 GB, free: 8.273 MB / 0.6857 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2): time 0.006789/0.5478, allocations: 5.947 MB / 1.006 GB, free: 3.602 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.005155/0.553, allocations: 3.397 MB / 1.009 GB, free: 0.8438 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007998/0.5538, allocations: 49.84 kB / 1.009 GB, free: 0.8242 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.0006336/0.5545, allocations: 329.5 kB / 1.01 GB, free: 0.5391 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.0004523/0.555, allocations: 213.5 kB / 1.01 GB, free: 360 kB / 0.6857 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Communication.mo:1170:7-1181:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.4.0-development/Controls/HVACAgentBasedControl/BaseClasses/Internal/sendToUDP.mo:2:1-28:14:writable] Warning: Pure function 'AixLib.Controls.HVACAgentBasedControl.BaseClasses.Internal.sendToUDP' contains a call to impure function 'AixLib.Controls.HVACAgentBasedControl.BaseClasses.Internal.sendTo'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. Notification: Performance of NFTyping.typeClassSections: time 0.002754/0.5577, allocations: 1.491 MB / 1.011 GB, free: 15.11 MB / 0.7013 GB Notification: Performance of NFFlatten.flatten: time 0.003096/0.5608, allocations: 3.098 MB / 1.014 GB, free: 13.2 MB / 0.7013 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002527/0.5634, allocations: 2.16 MB / 1.016 GB, free: 11.8 MB / 0.7013 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001135/0.5645, allocations: 1.123 MB / 1.017 GB, free: 11.07 MB / 0.7013 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001163/0.5657, allocations: 1.208 MB / 1.019 GB, free: 10.12 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.0004168/0.5661, allocations: 344.7 kB / 1.019 GB, free: 10.12 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007584/0.5669, allocations: 499.5 kB / 1.019 GB, free: 10.05 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.0006519/0.5675, allocations: 0.7652 MB / 1.02 GB, free: 9.43 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.001073/0.5686, allocations: 1.25 MB / 1.021 GB, free: 8.43 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.003607/0.5722, allocations: 3.872 MB / 1.025 GB, free: 5.391 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.5723, allocations: 5.422 kB / 1.025 GB, free: 5.387 MB / 0.7013 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5723, allocations: 0 / 1.025 GB, free: 5.387 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 4.65e-05/0.5723, allocations: 0 / 1.025 GB, free: 5.387 MB / 0.7013 GB Warning: Alias equations of external objects are not Modelica compliant as in: bookBuyerAgent1.messageID.pkgOut[1].pkg = bookBuyerAgent1.messageID.pkgIn.pkg bookBuyerAgent1.performative.pkgOut[1].pkg = bookBuyerAgent1.performative.pkgIn.pkg bookBuyerAgent1.getontology.pkgOut[1].pkg = bookBuyerAgent1.getontology.pkgIn.pkg bookBuyerAgent1.getreply_to.pkgOut[1].pkg = bookBuyerAgent1.getreply_to.pkgIn.pkg bookBuyerAgent1.getreceiver.pkgOut[1].pkg = bookBuyerAgent1.getreceiver.pkgIn.pkg bookBuyerAgent1.getsender.pkgOut[1].pkg = bookBuyerAgent1.getsender.pkgIn.pkg bookBuyerAgent1.getperformative.pkgOut[1].pkg = bookBuyerAgent1.getperformative.pkgIn.pkg bookBuyerAgent1.ontology.pkgOut[1].pkg = bookBuyerAgent1.ontology.pkgIn.pkg bookBuyerAgent1.reply_to.pkgOut[1].pkg = bookBuyerAgent1.reply_to.pkgIn.pkg bookBuyerAgent1.receiver.pkgOut[1].pkg = bookBuyerAgent1.receiver.pkgIn.pkg bookBuyerAgent1.sender.pkgOut[1].pkg = bookBuyerAgent1.sender.pkgIn.pkg bookBuyerAgent1.get_content.pkgOut[1].pkg = bookBuyerAgent1.get_content.pkgIn.pkg bookBuyerAgent1.content.pkgOut[1].pkg = bookBuyerAgent1.content.pkgIn.pkg bookBuyerAgent1.messageID.pkgOut[1].pkg = bookBuyerAgent1.uDPSend_adapted.pkgIn.pkg bookBuyerAgent1.ontology.pkgOut[1].pkg = bookBuyerAgent1.messageID.pkgIn.pkg bookBuyerAgent1.getontology.pkgOut[1].pkg = bookBuyerAgent1.getMessageID.pkgIn.pkg bookBuyerAgent1.performative.pkgOut[1].pkg = bookBuyerAgent1.sender.pkgIn.pkg bookBuyerAgent1.performative.pkgIn.pkg = bookBuyerAgent1.packager.pkgOut.pkg bookBuyerAgent1.get_content.pkgOut[1].pkg = bookBuyerAgent1.getontology.pkgIn.pkg bookBuyerAgent1.getreply_to.pkgOut[1].pkg = bookBuyerAgent1.get_content.pkgIn.pkg bookBuyerAgent1.getreceiver.pkgOut[1].pkg = bookBuyerAgent1.getreply_to.pkgIn.pkg bookBuyerAgent1.getsender.pkgOut[1].pkg = bookBuyerAgent1.getreceiver.pkgIn.pkg bookBuyerAgent1.getperformative.pkgOut[1].pkg = bookBuyerAgent1.getsender.pkgIn.pkg bookBuyerAgent1.getperformative.pkgIn.pkg = bookBuyerAgent1.uDPReceive_adapted.pkgOut.pkg bookBuyerAgent1.content.pkgOut[1].pkg = bookBuyerAgent1.ontology.pkgIn.pkg bookBuyerAgent1.reply_to.pkgOut[1].pkg = bookBuyerAgent1.content.pkgIn.pkg bookBuyerAgent1.receiver.pkgOut[1].pkg = bookBuyerAgent1.reply_to.pkgIn.pkg bookBuyerAgent1.sender.pkgOut[1].pkg = bookBuyerAgent1.receiver.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 585 * Number of variables: 585 Notification: Performance of Generate backend data structure: time 0.006013/0.5783, allocations: 4.022 MB / 1.029 GB, free: 2.086 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.5784, allocations: 9.406 kB / 1.029 GB, free: 2.086 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006069/0.579, allocations: 247.9 kB / 1.029 GB, free: 1.969 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.5806, allocations: 1.096 MB / 1.03 GB, free: 0.9961 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001664/0.5808, allocations: 200.7 kB / 1.031 GB, free: 0.7969 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003089/0.5811, allocations: 260.3 kB / 1.031 GB, free: 0.543 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004038/0.5851, allocations: 2.678 MB / 1.034 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/0.5852, allocations: 3.938 kB / 1.034 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.5854, allocations: 99.97 kB / 1.034 GB, free: 13.63 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.175e-05/0.5854, allocations: 56 kB / 1.034 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003274/0.5887, allocations: 2.074 MB / 1.036 GB, free: 11.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008495/0.5972, allocations: 7.236 MB / 1.043 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00305/0.6003, allocations: 2.53 MB / 1.045 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/0.6021, allocations: 1.618 MB / 1.047 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.742e-05/0.6022, allocations: 22 kB / 1.047 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001993/0.6042, allocations: 1.597 MB / 1.048 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=249): time 4.268e-06/0.6042, allocations: 0 / 1.048 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of matching and sorting (n=249): time 0.00506/0.6092, allocations: 3.265 MB / 1.052 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003396/0.6096, allocations: 0.6317 MB / 1.052 GB, free: 10.14 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009554/0.6106, allocations: 0.733 MB / 1.053 GB, free: 9.402 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002259/0.6108, allocations: 161.7 kB / 1.053 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/0.6113, allocations: 0.6736 MB / 1.054 GB, free: 8.555 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000494/0.6118, allocations: 0.5979 MB / 1.054 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007381/0.6126, allocations: 0.6474 MB / 1.055 GB, free: 7.293 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.6127, allocations: 357.9 kB / 1.055 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.6139, allocations: 0.7594 MB / 1.056 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001774/0.6157, allocations: 1.539 MB / 1.058 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004348/0.6201, allocations: 3.261 MB / 1.061 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.715e-05/0.6201, allocations: 4 kB / 1.061 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.003988/0.6241, allocations: 2.685 MB / 1.063 GB, free: 14.02 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 5.682e-05/0.6242, allocations: 49.69 kB / 1.063 GB, free: 13.96 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/0.6242, allocations: 20 kB / 1.063 GB, free: 13.95 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.306e-05/0.6243, allocations: 40 kB / 1.063 GB, free: 13.91 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009765/0.6252, allocations: 351.1 kB / 1.064 GB, free: 13.56 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.874e-05/0.6253, allocations: 47.86 kB / 1.064 GB, free: 13.52 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008709/0.6262, allocations: 262 kB / 1.064 GB, free: 13.26 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.6264, allocations: 132 kB / 1.064 GB, free: 13.13 MB / 0.7482 GB Warning: Assuming fixed start value for the following 23 variables: bookBuyerAgent1.proposals[3,2]:DISCRETE(start = 9999.0 fixed = true ) type: Real [3,2] bookBuyerAgent1.proposals[3,1]:DISCRETE(start = 9999.0 fixed = true ) type: Real [3,2] bookBuyerAgent1.proposals[2,2]:DISCRETE(start = 9999.0 fixed = true ) type: Real [3,2] bookBuyerAgent1.proposals[2,1]:DISCRETE(start = 9999.0 fixed = true ) type: Real [3,2] bookBuyerAgent1.proposals[1,2]:DISCRETE(start = 9999.0 fixed = true ) type: Real [3,2] bookBuyerAgent1.proposals[1,1]:DISCRETE(start = 9999.0 fixed = true ) type: Real [3,2] bookBuyerAgent1.messageID.u[1]:DISCRETE(flow=false fixed = true ) type: Integer [1] bookBuyerAgent1.receiver.u[1]:DISCRETE(flow=false fixed = true ) type: Integer [1] bookBuyerAgent1.uDPSend_adapted.receiver:DISCRETE(flow=false fixed = true ) "Input for receiving agent name" type: Real bookBuyerAgent1.ontology.u[1]:DISCRETE(flow=false fixed = true ) type: Real [1] bookBuyerAgent1.reply_to.u[1]:DISCRETE(flow=false fixed = true ) type: Integer [1] bookBuyerAgent1.sender.u[1]:DISCRETE(flow=false fixed = true ) type: Integer [1] bookBuyerAgent1.performative.u[1]:DISCRETE(flow=false fixed = true ) type: Integer [1] bookBuyerAgent1.content.u[2]:DISCRETE(flow=false fixed = true ) type: Real [2] bookBuyerAgent1.content.u[1]:DISCRETE(flow=false fixed = true ) type: Real [2] bookBuyerAgent1.lowestPrice:DISCRETE(start = 9.999999e6 fixed = true ) type: Real bookBuyerAgent1.counterProposals:DISCRETE(start = 1 fixed = true ) type: Integer bookBuyerAgent1.counter:DISCRETE(start = 1 fixed = true ) type: Integer bookBuyerAgent1.uDPSend_adapted.dummy:DISCRETE(fixed = true protected = true ) type: Real bookBuyerAgent1.requestsDone:DISCRETE(start = false fixed = true ) type: Boolean bookBuyerAgent1.bookOffered:DISCRETE(start = false fixed = true ) type: Boolean bookBuyerAgent1.bookBought:DISCRETE(flow=false fixed = true ) "Indicator that turns true if a book was succesfully bought" type: Boolean bookBuyerAgent1.integerChange.u:DISCRETE(flow=false fixed = true ) "Connector of Integer input signal" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 102 * Number of states: 0 () * Number of discrete variables: 345 ($PRE.bookBuyerAgent1.transitionWithSignal.enableFire,$PRE.bookBuyerAgent1.transition.enableFire,$PRE.bookBuyerAgent1.newMessage.enableFire,$PRE.bookBuyerAgent1.offer.enableFire,$PRE.bookBuyerAgent1.refuse.enableFire,$PRE.bookBuyerAgent1.done.enableFire,$PRE.bookBuyerAgent1.notDone.enableFire,$PRE.bookBuyerAgent1.confirmation.enableFire,$PRE.bookBuyerAgent1.transition1.enableFire,$PRE.bookBuyerAgent1.transition3.enableFire,$PRE.bookBuyerAgent1.newMessage1.enableFire,$PRE.bookBuyerAgent1.abort.enableFire,$PRE.bookBuyerAgent1.transitionWithSignal1.enableFire,$PRE.bookBuyerAgent1.noOffers.enableFire,$PRE.bookBuyerAgent1.abortAction.enableFire,$PRE.bookBuyerAgent1.abortAction1.enableFire,$PRE.bookBuyerAgent1.transition2.enableFire,$PRE.bookBuyerAgent1.proposals[3,2],bookBuyerAgent1.proposals[3,2],$PRE.bookBuyerAgent1.proposals[3,1],bookBuyerAgent1.proposals[3,1],$PRE.bookBuyerAgent1.proposals[2,2],bookBuyerAgent1.proposals[2,2],$PRE.bookBuyerAgent1.proposals[2,1],bookBuyerAgent1.proposals[2,1],$PRE.bookBuyerAgent1.proposals[1,2],bookBuyerAgent1.proposals[1,2],$PRE.bookBuyerAgent1.proposals[1,1],bookBuyerAgent1.proposals[1,1],$PRE.bookBuyerAgent1.messageID.u[1],bookBuyerAgent1.messageID.u[1],$PRE.bookBuyerAgent1.receiver.u[1],bookBuyerAgent1.receiver.u[1],$PRE.bookBuyerAgent1.uDPSend_adapted.receiver,bookBuyerAgent1.uDPSend_adapted.receiver,$PRE.bookBuyerAgent1.ontology.u[1],bookBuyerAgent1.ontology.u[1],$PRE.bookBuyerAgent1.reply_to.u[1],bookBuyerAgent1.reply_to.u[1],$PRE.bookBuyerAgent1.sender.u[1],bookBuyerAgent1.sender.u[1],$PRE.bookBuyerAgent1.performative.u[1],bookBuyerAgent1.performative.u[1],$PRE.bookBuyerAgent1.content.u[2],bookBuyerAgent1.content.u[2],$PRE.bookBuyerAgent1.content.u[1],bookBuyerAgent1.content.u[1],$PRE.bookBuyerAgent1.lowestPrice,bookBuyerAgent1.lowestPrice,$PRE.bookBuyerAgent1.counterProposals,bookBuyerAgent1.counterProposals,$PRE.bookBuyerAgent1.counter,bookBuyerAgent1.counter,bookBuyerAgent1.messageID.pkgOut[1].dummy,$PRE.bookBuyerAgent1.messageID.pkgOut[1].dummy,bookBuyerAgent1.getMessageID.dummy,$PRE.bookBuyerAgent1.getMessageID.dummy,bookBuyerAgent1.performative.pkgOut[1].dummy,$PRE.bookBuyerAgent1.performative.pkgOut[1].dummy,bookBuyerAgent1.getontology.dummy,$PRE.bookBuyerAgent1.getontology.dummy,bookBuyerAgent1.getontology.y[1],$PRE.bookBuyerAgent1.getontology.y[1],bookBuyerAgent1.getontology.pkgOut[1].dummy,$PRE.bookBuyerAgent1.getontology.pkgOut[1].dummy,bookBuyerAgent1.getreply_to.dummy,$PRE.bookBuyerAgent1.getreply_to.dummy,bookBuyerAgent1.getreply_to.y[1],$PRE.bookBuyerAgent1.getreply_to.y[1],bookBuyerAgent1.getreply_to.pkgOut[1].dummy,$PRE.bookBuyerAgent1.getreply_to.pkgOut[1].dummy,bookBuyerAgent1.getreceiver.dummy,$PRE.bookBuyerAgent1.getreceiver.dummy,bookBuyerAgent1.getreceiver.y[1],$PRE.bookBuyerAgent1.getreceiver.y[1],bookBuyerAgent1.getreceiver.pkgOut[1].dummy,$PRE.bookBuyerAgent1.getreceiver.pkgOut[1].dummy,bookBuyerAgent1.getsender.dummy,$PRE.bookBuyerAgent1.getsender.dummy,bookBuyerAgent1.getsender.y[1],$PRE.bookBuyerAgent1.getsender.y[1],bookBuyerAgent1.getsender.pkgOut[1].dummy,$PRE.bookBuyerAgent1.getsender.pkgOut[1].dummy,bookBuyerAgent1.getperformative.dummy,$PRE.bookBuyerAgent1.getperformative.dummy,bookBuyerAgent1.getperformative.pkgOut[1].dummy,$PRE.bookBuyerAgent1.getperformative.pkgOut[1].dummy,bookBuyerAgent1.ontology.pkgOut[1].dummy,$PRE.bookBuyerAgent1.ontology.pkgOut[1].dummy,bookBuyerAgent1.reply_to.pkgOut[1].dummy,$PRE.bookBuyerAgent1.reply_to.pkgOut[1].dummy,bookBuyerAgent1.receiver.pkgOut[1].dummy,$PRE.bookBuyerAgent1.receiver.pkgOut[1].dummy,bookBuyerAgent1.sender.pkgOut[1].dummy,$PRE.bookBuyerAgent1.sender.pkgOut[1].dummy,$PRE.bookBuyerAgent1.uDPSend_adapted.dummy,bookBuyerAgent1.uDPSend_adapted.dummy,bookBuyerAgent1.uDPReceive_adapted.nRecvbufOverwrites,$PRE.bookBuyerAgent1.uDPReceive_adapted.nRecvbufOverwrites,bookBuyerAgent1.uDPReceive_adapted.nRecvBytes,$PRE.bookBuyerAgent1.uDPReceive_adapted.nRecvBytes,bookBuyerAgent1.uDPReceive_adapted.pkgOut.dummy,$PRE.bookBuyerAgent1.uDPReceive_adapted.pkgOut.dummy,bookBuyerAgent1.get_content.dummy,$PRE.bookBuyerAgent1.get_content.dummy,bookBuyerAgent1.get_content.y[2],$PRE.bookBuyerAgent1.get_content.y[2],bookBuyerAgent1.get_content.y[1],$PRE.bookBuyerAgent1.get_content.y[1],bookBuyerAgent1.get_content.pkgOut[1].dummy,$PRE.bookBuyerAgent1.get_content.pkgOut[1].dummy,bookBuyerAgent1.content.pkgOut[1].dummy,$PRE.bookBuyerAgent1.content.pkgOut[1].dummy,bookBuyerAgent1.packager.pkgOut.dummy,$PRE.bookBuyerAgent1.packager.pkgOut.dummy,bookBuyerAgent1.getontology.pkgOut[1].trigger,$whenCondition2,$PRE.bookBuyerAgent1.requestsDone,$PRE.bookBuyerAgent1.bookOffered,$PRE.bookBuyerAgent1.notServed.oldActive,$PRE.bookBuyerAgent1.notServed.newActive,$PRE.bookBuyerAgent1.notServed.localActive,$PRE.bookBuyerAgent1.abortAction1.t_start,$PRE.bookBuyerAgent1.abortAction.t_start,$PRE.bookBuyerAgent1.noOffers.t_start,$PRE.bookBuyerAgent1.stateOfOffers.oldActive,$PRE.bookBuyerAgent1.stateOfOffers.newActive,$PRE.bookBuyerAgent1.stateOfOffers.localActive,$PRE.bookBuyerAgent1.abort.t_start,$PRE.bookBuyerAgent1.bookBought,$PRE.bookBuyerAgent1.transition3.t_start,$PRE.bookBuyerAgent1.transition1.t_start,$PRE.bookBuyerAgent1.setDone.oldActive,$PRE.bookBuyerAgent1.setDone.newActive,$PRE.bookBuyerAgent1.setDone.localActive,$PRE.bookBuyerAgent1.confirmation.t_start,$PRE.bookBuyerAgent1.check1.oldActive,$PRE.bookBuyerAgent1.check1.newActive,$PRE.bookBuyerAgent1.check1.localActive,$PRE.bookBuyerAgent1.sendBuy.oldActive,$PRE.bookBuyerAgent1.sendBuy.newActive,$PRE.bookBuyerAgent1.sendBuy.localActive,$PRE.bookBuyerAgent1.sendRequest.oldActive,$PRE.bookBuyerAgent1.sendRequest.newActive,$PRE.bookBuyerAgent1.sendRequest.localActive,$PRE.bookBuyerAgent1.notDone.t_start,$PRE.bookBuyerAgent1.done.t_start,$PRE.bookBuyerAgent1.refuse.t_start,$PRE.bookBuyerAgent1.offer.t_start,$PRE.bookBuyerAgent1.check.oldActive,$PRE.bookBuyerAgent1.check.newActive,$PRE.bookBuyerAgent1.check.localActive,$PRE.bookBuyerAgent1.transition.t_start,$PRE.bookBuyerAgent1.integerChange.u,$PRE.bookBuyerAgent1.composeBuy.oldActive,$PRE.bookBuyerAgent1.composeBuy.newActive,$PRE.bookBuyerAgent1.composeBuy.localActive,$PRE.bookBuyerAgent1.collectProposal.oldActive,$PRE.bookBuyerAgent1.collectProposal.newActive,$PRE.bookBuyerAgent1.collectProposal.localActive,$PRE.bookBuyerAgent1.composeRequest.oldActive,$PRE.bookBuyerAgent1.composeRequest.newActive,$PRE.bookBuyerAgent1.composeRequest.localActive,$PRE.bookBuyerAgent1.waiting.oldActive,$PRE.bookBuyerAgent1.waiting.newActive,$PRE.bookBuyerAgent1.waiting.localActive,bookBuyerAgent1.transition2.enableFire,bookBuyerAgent1.notServed.oldActive,bookBuyerAgent1.notServed.newActive,bookBuyerAgent1.notServed.inPort[2].occupied,bookBuyerAgent1.notServed.localActive,bookBuyerAgent1.notServed.active,bookBuyerAgent1.abortAction1.t_start,bookBuyerAgent1.abortAction1.fire,bookBuyerAgent1.abortAction1.enableFire,bookBuyerAgent1.abortAction.t_start,bookBuyerAgent1.abortAction.fire,bookBuyerAgent1.abortAction.enableFire,bookBuyerAgent1.noOffers.t_start,bookBuyerAgent1.noOffers.fire,bookBuyerAgent1.noOffers.enableFire,bookBuyerAgent1.transitionWithSignal1.enableFire,bookBuyerAgent1.stateOfOffers.oldActive,bookBuyerAgent1.stateOfOffers.newActive,bookBuyerAgent1.stateOfOffers.outPort[2].available,bookBuyerAgent1.stateOfOffers.localActive,bookBuyerAgent1.stateOfOffers.active,bookBuyerAgent1.abort.t_start,bookBuyerAgent1.abort.fire,bookBuyerAgent1.abort.enableFire,bookBuyerAgent1.newMessage1.enableFire,bookBuyerAgent1.newMessage1.localCondition,bookBuyerAgent1.bookBought,bookBuyerAgent1.transition3.t_start,bookBuyerAgent1.transition3.fire,bookBuyerAgent1.transition3.enableFire,bookBuyerAgent1.transition1.t_start,bookBuyerAgent1.transition1.fire,bookBuyerAgent1.transition1.enableFire,bookBuyerAgent1.setDone.oldActive,bookBuyerAgent1.setDone.newActive,bookBuyerAgent1.setDone.localActive,bookBuyerAgent1.setDone.active,bookBuyerAgent1.confirmation.t_start,bookBuyerAgent1.confirmation.fire,bookBuyerAgent1.confirmation.enableFire,bookBuyerAgent1.confirmation.localCondition,bookBuyerAgent1.check1.oldActive,bookBuyerAgent1.check1.newActive,bookBuyerAgent1.check1.outPort[2].available,bookBuyerAgent1.check1.localActive,bookBuyerAgent1.check1.active,bookBuyerAgent1.sendBuy.active,bookBuyerAgent1.sendBuy.oldActive,bookBuyerAgent1.sendBuy.newActive,bookBuyerAgent1.sendBuy.outPort[2].available,bookBuyerAgent1.sendBuy.localActive,bookBuyerAgent1.sendRequest.active,bookBuyerAgent1.sendRequest.oldActive,bookBuyerAgent1.sendRequest.newActive,bookBuyerAgent1.sendRequest.outPort[2].available,bookBuyerAgent1.sendRequest.localActive,bookBuyerAgent1.notDone.t_start,bookBuyerAgent1.notDone.fire,bookBuyerAgent1.notDone.enableFire,bookBuyerAgent1.done.t_start,bookBuyerAgent1.done.fire,bookBuyerAgent1.done.enableFire,bookBuyerAgent1.refuse.t_start,bookBuyerAgent1.refuse.fire,bookBuyerAgent1.refuse.enableFire,bookBuyerAgent1.refuse.localCondition,bookBuyerAgent1.offer.t_start,bookBuyerAgent1.offer.fire,bookBuyerAgent1.offer.enableFire,bookBuyerAgent1.offer.localCondition,bookBuyerAgent1.newMessage.enableFire,bookBuyerAgent1.check.oldActive,bookBuyerAgent1.check.newActive,bookBuyerAgent1.check.outPort[2].available,bookBuyerAgent1.check.localActive,bookBuyerAgent1.check.active,bookBuyerAgent1.transition.t_start,bookBuyerAgent1.transition.fire,bookBuyerAgent1.transition.enableFire,bookBuyerAgent1.transitionWithSignal.enableFire,bookBuyerAgent1.transitionWithSignal.localCondition,bookBuyerAgent1.sampleTrigger.y,bookBuyerAgent1.integerChange.u,bookBuyerAgent1.composeBuy.oldActive,bookBuyerAgent1.composeBuy.newActive,bookBuyerAgent1.composeBuy.localActive,bookBuyerAgent1.composeBuy.active,bookBuyerAgent1.collectProposal.oldActive,bookBuyerAgent1.collectProposal.newActive,bookBuyerAgent1.collectProposal.outPort[2].available,bookBuyerAgent1.collectProposal.localActive,bookBuyerAgent1.collectProposal.active,bookBuyerAgent1.composeRequest.oldActive,bookBuyerAgent1.composeRequest.newActive,bookBuyerAgent1.composeRequest.inPort[3].occupied,bookBuyerAgent1.composeRequest.inPort[2].occupied,bookBuyerAgent1.composeRequest.localActive,bookBuyerAgent1.composeRequest.active,bookBuyerAgent1.waiting.oldActive,bookBuyerAgent1.waiting.newActive,bookBuyerAgent1.waiting.inPort[4].occupied,bookBuyerAgent1.waiting.inPort[3].occupied,bookBuyerAgent1.waiting.inPort[2].occupied,bookBuyerAgent1.waiting.localActive,bookBuyerAgent1.waiting.active,bookBuyerAgent1.bookOffered,bookBuyerAgent1.requestsDone,bookBuyerAgent1.stateGraphRoot.activeSteps,bookBuyerAgent1.messageID.pkgOut[1].backwardTrigger,bookBuyerAgent1.messageID.pkgOut[1].trigger,bookBuyerAgent1.getMessageID.y[1],$PRE.bookBuyerAgent1.getMessageID.y[1],bookBuyerAgent1.getperformative.y[1],$PRE.bookBuyerAgent1.getperformative.y[1],$whenCondition23,$whenCondition22,$whenCondition21,$whenCondition20,$whenCondition19,$whenCondition18,$whenCondition17,$whenCondition16,$whenCondition1,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition13,$whenCondition14,$whenCondition15,bookBuyerAgent1.transitionWithSignal.t_start,$PRE.bookBuyerAgent1.transitionWithSignal.t_start,bookBuyerAgent1.newMessage.t_start,$PRE.bookBuyerAgent1.newMessage.t_start,bookBuyerAgent1.newMessage1.t_start,$PRE.bookBuyerAgent1.newMessage1.t_start,bookBuyerAgent1.transitionWithSignal1.t_start,$PRE.bookBuyerAgent1.transitionWithSignal1.t_start,bookBuyerAgent1.transition2.t_start,$PRE.bookBuyerAgent1.transition2.t_start,bookBuyerAgent1.transition2.condition,bookBuyerAgent1.abortAction1.condition,bookBuyerAgent1.abortAction.condition,bookBuyerAgent1.noOffers.condition,bookBuyerAgent1.abort.condition,bookBuyerAgent1.transition3.condition,bookBuyerAgent1.transition1.condition,bookBuyerAgent1.transition.condition,bookBuyerAgent1.stateGraphRoot.resume,bookBuyerAgent1.stateGraphRoot.suspend,messageNotification.y,bookBuyerAgent1.getMessageID.pkgIn.userPkgBitSize,bookBuyerAgent1.getMessageID.pkgIn.backwardTrigger,bookBuyerAgent1.getMessageID.pkgIn.autoPkgBitSize,bookBuyerAgent1.getontology.pkgIn.autoPkgBitSize,bookBuyerAgent1.getreply_to.pkgIn.autoPkgBitSize,bookBuyerAgent1.getreceiver.pkgIn.autoPkgBitSize,bookBuyerAgent1.getsender.pkgIn.autoPkgBitSize,bookBuyerAgent1.getperformative.pkgIn.autoPkgBitSize,bookBuyerAgent1.uDPReceive_adapted.bufferSize,bookBuyerAgent1.get_content.pkgIn.autoPkgBitSize,bookBuyerAgent1.messageID.pkgIn.autoPkgBitSize,bookBuyerAgent1.performative.pkgIn.autoPkgBitSize,bookBuyerAgent1.ontology.pkgIn.autoPkgBitSize,bookBuyerAgent1.reply_to.pkgIn.autoPkgBitSize,bookBuyerAgent1.receiver.pkgIn.autoPkgBitSize,bookBuyerAgent1.sender.pkgIn.autoPkgBitSize,bookBuyerAgent1.uDPSend_adapted.pkgIn.autoPkgBitSize,bookBuyerAgent1.uDPSend_adapted.pkgIn.userPkgBitSize,bookBuyerAgent1.content.pkgIn.autoPkgBitSize,bookBuyerAgent1.packager.bufferSize,bookBuyerAgent1.packager.backwardPropagatedBufferSize,bookBuyerAgent1.uDPSend_adapted.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (392): * Single equations (assignments): 390 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * 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.001429/0.6278, allocations: 0.9754 MB / 1.065 GB, free: 12.12 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/0.6281, allocations: 146.5 kB / 1.065 GB, free: 11.98 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003532/0.6316, allocations: 2.518 MB / 1.068 GB, free: 9.441 MB / 0.7482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-05/0.6317, allocations: 24 kB / 1.068 GB, free: 9.418 MB / 0.7482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.6317, allocations: 7.938 kB / 1.068 GB, free: 9.41 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.6317, allocations: 11.95 kB / 1.068 GB, free: 9.398 MB / 0.7482 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006841/0.6385, allocations: 5.018 MB / 1.073 GB, free: 4.312 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.119e-05/0.6386, allocations: 3.984 kB / 1.073 GB, free: 4.309 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004037/0.639, allocations: 111.7 kB / 1.073 GB, free: 4.199 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.639, allocations: 8 kB / 1.073 GB, free: 4.191 MB / 0.7482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001313/0.6391, allocations: 83.86 kB / 1.073 GB, free: 4.109 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.151e-05/0.6391, allocations: 12 kB / 1.073 GB, free: 4.098 MB / 0.7482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6391, allocations: 0 / 1.073 GB, free: 4.098 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005384/0.6445, allocations: 4.075 MB / 1.077 GB, free: 15.93 MB / 0.7638 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001849/0.6447, allocations: 226.9 kB / 1.077 GB, free: 15.68 MB / 0.7638 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.645, allocations: 87.97 kB / 1.077 GB, free: 15.6 MB / 0.7638 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005458/0.6455, allocations: 75.94 kB / 1.077 GB, free: 15.52 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003749/0.6459, allocations: 233.7 kB / 1.077 GB, free: 15.3 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001568/0.6461, allocations: 103.9 kB / 1.078 GB, free: 15.2 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.000323/0.6464, allocations: 330.9 kB / 1.078 GB, free: 14.88 MB / 0.7638 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6464, allocations: 0 / 1.078 GB, free: 14.88 MB / 0.7638 GB Notification: Performance of remove unused functions: time 0.001442/0.6478, allocations: 0.6229 MB / 1.078 GB, free: 14.25 MB / 0.7638 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (synchronizeRealtime.dummyState) * Number of discrete variables: 230 (bookBuyerAgent1.transition2.t_start,bookBuyerAgent1.transitionWithSignal1.t_start,bookBuyerAgent1.newMessage1.t_start,bookBuyerAgent1.newMessage.t_start,bookBuyerAgent1.transitionWithSignal.t_start,bookBuyerAgent1.get_content.pkgIn.autoPkgBitSize,bookBuyerAgent1.uDPReceive_adapted.bufferSize,bookBuyerAgent1.getperformative.pkgIn.autoPkgBitSize,bookBuyerAgent1.getsender.pkgIn.autoPkgBitSize,bookBuyerAgent1.getreceiver.pkgIn.autoPkgBitSize,bookBuyerAgent1.getreply_to.pkgIn.autoPkgBitSize,bookBuyerAgent1.getontology.pkgIn.autoPkgBitSize,bookBuyerAgent1.getMessageID.pkgIn.autoPkgBitSize,bookBuyerAgent1.abortAction1.enableFire,bookBuyerAgent1.abortAction.enableFire,bookBuyerAgent1.done.enableFire,bookBuyerAgent1.notDone.enableFire,bookBuyerAgent1.refuse.enableFire,bookBuyerAgent1.offer.enableFire,bookBuyerAgent1.noOffers.enableFire,bookBuyerAgent1.abort.enableFire,bookBuyerAgent1.confirmation.enableFire,bookBuyerAgent1.notServed.active,bookBuyerAgent1.stateOfOffers.active,bookBuyerAgent1.messageID.pkgOut[1].backwardTrigger,bookBuyerAgent1.messageID.pkgOut[1].trigger,bookBuyerAgent1.transition3.enableFire,bookBuyerAgent1.transition1.enableFire,bookBuyerAgent1.setDone.active,bookBuyerAgent1.check1.active,bookBuyerAgent1.sendBuy.active,bookBuyerAgent1.sendRequest.active,bookBuyerAgent1.transition.enableFire,bookBuyerAgent1.check.active,bookBuyerAgent1.composeBuy.active,bookBuyerAgent1.collectProposal.active,bookBuyerAgent1.composeRequest.active,bookBuyerAgent1.waiting.active,bookBuyerAgent1.getontology.pkgOut[1].trigger,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$cse9,$cse10,$cse11,$cse12,$cse13,$cse14,$cse15,$cse16,$cse17,$cse18,$cse19,$cse20,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition12,$whenCondition11,$whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition22,$whenCondition23,bookBuyerAgent1.packager.pkgOut.dummy,bookBuyerAgent1.content.pkgOut[1].dummy,bookBuyerAgent1.content.u[1],bookBuyerAgent1.content.u[2],bookBuyerAgent1.get_content.pkgOut[1].dummy,bookBuyerAgent1.get_content.y[1],bookBuyerAgent1.get_content.y[2],bookBuyerAgent1.get_content.dummy,bookBuyerAgent1.uDPReceive_adapted.pkgOut.dummy,bookBuyerAgent1.uDPReceive_adapted.nRecvBytes,bookBuyerAgent1.uDPReceive_adapted.nRecvbufOverwrites,bookBuyerAgent1.uDPSend_adapted.bufferSize,bookBuyerAgent1.uDPSend_adapted.dummy,bookBuyerAgent1.uDPSend_adapted.receiver,bookBuyerAgent1.sender.pkgOut[1].dummy,bookBuyerAgent1.sender.u[1],bookBuyerAgent1.receiver.pkgOut[1].dummy,bookBuyerAgent1.receiver.u[1],bookBuyerAgent1.reply_to.pkgOut[1].dummy,bookBuyerAgent1.reply_to.u[1],bookBuyerAgent1.ontology.pkgOut[1].dummy,bookBuyerAgent1.ontology.u[1],bookBuyerAgent1.getperformative.pkgOut[1].dummy,bookBuyerAgent1.getperformative.y[1],bookBuyerAgent1.getperformative.dummy,bookBuyerAgent1.getsender.pkgOut[1].dummy,bookBuyerAgent1.getsender.y[1],bookBuyerAgent1.getsender.dummy,bookBuyerAgent1.getreceiver.pkgOut[1].dummy,bookBuyerAgent1.getreceiver.y[1],bookBuyerAgent1.getreceiver.dummy,bookBuyerAgent1.getreply_to.pkgOut[1].dummy,bookBuyerAgent1.getreply_to.y[1],bookBuyerAgent1.getreply_to.dummy,bookBuyerAgent1.getontology.pkgOut[1].dummy,bookBuyerAgent1.getontology.y[1],bookBuyerAgent1.getontology.dummy,bookBuyerAgent1.performative.pkgOut[1].dummy,bookBuyerAgent1.performative.u[1],bookBuyerAgent1.getMessageID.y[1],bookBuyerAgent1.getMessageID.dummy,bookBuyerAgent1.messageID.pkgOut[1].dummy,bookBuyerAgent1.messageID.u[1],bookBuyerAgent1.stateGraphRoot.activeSteps,bookBuyerAgent1.proposals[1,1],bookBuyerAgent1.proposals[1,2],bookBuyerAgent1.proposals[2,1],bookBuyerAgent1.proposals[2,2],bookBuyerAgent1.proposals[3,1],bookBuyerAgent1.proposals[3,2],bookBuyerAgent1.counter,bookBuyerAgent1.counterProposals,bookBuyerAgent1.requestsDone,bookBuyerAgent1.lowestPrice,bookBuyerAgent1.bookOffered,bookBuyerAgent1.waiting.localActive,bookBuyerAgent1.waiting.inPort[2].occupied,bookBuyerAgent1.waiting.inPort[3].occupied,bookBuyerAgent1.waiting.inPort[4].occupied,bookBuyerAgent1.waiting.newActive,bookBuyerAgent1.waiting.oldActive,bookBuyerAgent1.composeRequest.localActive,bookBuyerAgent1.composeRequest.inPort[2].occupied,bookBuyerAgent1.composeRequest.inPort[3].occupied,bookBuyerAgent1.composeRequest.newActive,bookBuyerAgent1.composeRequest.oldActive,bookBuyerAgent1.collectProposal.localActive,bookBuyerAgent1.collectProposal.outPort[2].available,bookBuyerAgent1.collectProposal.newActive,bookBuyerAgent1.collectProposal.oldActive,bookBuyerAgent1.composeBuy.localActive,bookBuyerAgent1.composeBuy.newActive,bookBuyerAgent1.composeBuy.oldActive,bookBuyerAgent1.integerChange.u,bookBuyerAgent1.sampleTrigger.y,bookBuyerAgent1.transitionWithSignal.localCondition,bookBuyerAgent1.transitionWithSignal.enableFire,bookBuyerAgent1.transition.fire,bookBuyerAgent1.transition.t_start,bookBuyerAgent1.check.localActive,bookBuyerAgent1.check.outPort[2].available,bookBuyerAgent1.check.newActive,bookBuyerAgent1.check.oldActive,bookBuyerAgent1.newMessage.enableFire,bookBuyerAgent1.offer.localCondition,bookBuyerAgent1.offer.fire,bookBuyerAgent1.offer.t_start,bookBuyerAgent1.refuse.localCondition,bookBuyerAgent1.refuse.fire,bookBuyerAgent1.refuse.t_start,bookBuyerAgent1.done.fire,bookBuyerAgent1.done.t_start,bookBuyerAgent1.notDone.fire,bookBuyerAgent1.notDone.t_start,bookBuyerAgent1.sendRequest.localActive,bookBuyerAgent1.sendRequest.outPort[2].available,bookBuyerAgent1.sendRequest.newActive,bookBuyerAgent1.sendRequest.oldActive,bookBuyerAgent1.sendBuy.localActive,bookBuyerAgent1.sendBuy.outPort[2].available,bookBuyerAgent1.sendBuy.newActive,bookBuyerAgent1.sendBuy.oldActive,bookBuyerAgent1.check1.localActive,bookBuyerAgent1.check1.outPort[2].available,bookBuyerAgent1.check1.newActive,bookBuyerAgent1.check1.oldActive,bookBuyerAgent1.confirmation.localCondition,bookBuyerAgent1.confirmation.fire,bookBuyerAgent1.confirmation.t_start,bookBuyerAgent1.setDone.localActive,bookBuyerAgent1.setDone.newActive,bookBuyerAgent1.setDone.oldActive,bookBuyerAgent1.transition1.fire,bookBuyerAgent1.transition1.t_start,bookBuyerAgent1.transition3.fire,bookBuyerAgent1.transition3.t_start,bookBuyerAgent1.bookBought,bookBuyerAgent1.newMessage1.localCondition,bookBuyerAgent1.newMessage1.enableFire,bookBuyerAgent1.abort.fire,bookBuyerAgent1.abort.t_start,bookBuyerAgent1.stateOfOffers.localActive,bookBuyerAgent1.stateOfOffers.outPort[2].available,bookBuyerAgent1.stateOfOffers.newActive,bookBuyerAgent1.stateOfOffers.oldActive,bookBuyerAgent1.transitionWithSignal1.enableFire,bookBuyerAgent1.noOffers.fire,bookBuyerAgent1.noOffers.t_start,bookBuyerAgent1.abortAction.fire,bookBuyerAgent1.abortAction.t_start,bookBuyerAgent1.abortAction1.fire,bookBuyerAgent1.abortAction1.t_start,bookBuyerAgent1.notServed.localActive,bookBuyerAgent1.notServed.inPort[2].occupied,bookBuyerAgent1.notServed.newActive,bookBuyerAgent1.notServed.oldActive,bookBuyerAgent1.transition2.enableFire,bookBuyerAgent1.packager.backwardPropagatedBufferSize,bookBuyerAgent1.packager.bufferSize,bookBuyerAgent1.content.pkgIn.autoPkgBitSize,bookBuyerAgent1.uDPSend_adapted.pkgIn.userPkgBitSize,bookBuyerAgent1.uDPSend_adapted.pkgIn.autoPkgBitSize,bookBuyerAgent1.sender.pkgIn.autoPkgBitSize,bookBuyerAgent1.receiver.pkgIn.autoPkgBitSize,bookBuyerAgent1.reply_to.pkgIn.autoPkgBitSize,bookBuyerAgent1.ontology.pkgIn.autoPkgBitSize,bookBuyerAgent1.performative.pkgIn.autoPkgBitSize,bookBuyerAgent1.messageID.pkgIn.autoPkgBitSize) * Number of discrete states: 46 (bookBuyerAgent1.waiting.newActive,bookBuyerAgent1.composeRequest.newActive,bookBuyerAgent1.collectProposal.newActive,bookBuyerAgent1.composeBuy.newActive,bookBuyerAgent1.check.newActive,bookBuyerAgent1.sendRequest.newActive,bookBuyerAgent1.sendBuy.newActive,bookBuyerAgent1.check1.newActive,bookBuyerAgent1.setDone.newActive,bookBuyerAgent1.stateOfOffers.newActive,bookBuyerAgent1.notServed.newActive,$whenCondition23,$whenCondition22,bookBuyerAgent1.bookBought,$whenCondition21,$whenCondition20,bookBuyerAgent1.proposals[3,2],bookBuyerAgent1.proposals[3,1],bookBuyerAgent1.proposals[2,2],bookBuyerAgent1.proposals[2,1],bookBuyerAgent1.proposals[1,2],bookBuyerAgent1.proposals[1,1],$whenCondition19,bookBuyerAgent1.requestsDone,$whenCondition18,bookBuyerAgent1.messageID.u[1],bookBuyerAgent1.receiver.u[1],bookBuyerAgent1.uDPSend_adapted.receiver,bookBuyerAgent1.ontology.u[1],bookBuyerAgent1.reply_to.u[1],bookBuyerAgent1.sender.u[1],bookBuyerAgent1.performative.u[1],bookBuyerAgent1.content.u[2],bookBuyerAgent1.content.u[1],$whenCondition17,bookBuyerAgent1.bookOffered,bookBuyerAgent1.lowestPrice,bookBuyerAgent1.counterProposals,bookBuyerAgent1.counter,$whenCondition16,bookBuyerAgent1.integerChange.u,bookBuyerAgent1.transitionWithSignal.t_start,bookBuyerAgent1.newMessage.t_start,bookBuyerAgent1.newMessage1.t_start,bookBuyerAgent1.transitionWithSignal1.t_start,bookBuyerAgent1.transition2.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 157 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 71 * 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.001149/0.649, allocations: 0.7009 MB / 1.079 GB, free: 13.67 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.003343/0.6524, allocations: 2.553 MB / 1.082 GB, free: 11.1 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.6524, allocations: 0 / 1.082 GB, free: 11.1 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.002699/0.6551, allocations: 3.154 MB / 1.085 GB, free: 7.934 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.6563, allocations: 330.4 kB / 1.085 GB, free: 7.621 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004776/0.661, allocations: 3.419 MB / 1.088 GB, free: 4.137 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008998/0.662, allocations: 1.381 MB / 1.09 GB, free: 2.727 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003892/0.6624, allocations: 151.4 kB / 1.09 GB, free: 2.582 MB / 0.7638 GB Notification: Performance of SimCode: time 2.71e-07/0.6624, allocations: 0 / 1.09 GB, free: 2.582 MB / 0.7638 GB Notification: Performance of Templates: time 0.03342/0.6958, allocations: 27.58 MB / 1.117 GB, free: 7.105 MB / 0.795 GB make -j1 -f AixLib_latest_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2.makefile make -j1 -f AixLib_latest_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2.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.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2CalcHelperMain.o OMCppAixLib_latest_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2CalcHelperMain.cpp In file included from OMCppAixLib_latest_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2CalcHelperMain.cpp:28: In file included from ./OMCppAixLib_latest_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2Functions.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.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2CalcHelperMain.cpp:28: ./OMCppAixLib_latest_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2Functions.cpp:668:3: error: no matching function for call to 'MDD_SerialPackagerAddInteger' MDD_SerialPackagerAddInteger(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:243:16: note: candidate function not viable: 2nd argument ('const int *') would lose const qualifier DllExport void MDD_SerialPackagerAddInteger(void* p_package, int * u, size_t n, int endian) { ^ In file included from OMCppAixLib_latest_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2CalcHelperMain.cpp:28: ./OMCppAixLib_latest_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2Functions.cpp:689: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) { ^ 3 errors generated. make: *** [: OMCppAixLib_latest_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2CalcHelperMain.o] Error 1