Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr AixLib_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.3.2/package.mo", uses=false) Using package AixLib with version 1.3.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2") translateModel(AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2,tolerance=1e-12,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="AixLib_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.001493/0.001493, allocations: 108.6 kB / 16.41 MB, free: 6.023 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.001675/0.001675, allocations: 186.4 kB / 17.34 MB, free: 5.629 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.406/1.406, allocations: 222.9 MB / 241 MB, free: 15.17 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.05978/0.05978, allocations: 12.04 MB / 303.2 MB, free: 3.102 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SDF master/package.mo): time 0.0005116/0.0005117, allocations: 27.89 kB / 356.3 MB, free: 13.97 MB / 302.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/AixLib 1.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/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.3.2/package.mo): time 1.574/1.574, allocations: 268.2 MB / 0.6617 GB, free: 2.637 MB / 478.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002165/0.002165, allocations: 107.8 kB / 0.888 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5777/0.5798, allocations: 108.4 MB / 0.9938 GB, free: 1.145 MB / 0.67 GB Notification: Performance of NFInst.instantiate(AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2): time 0.009114/0.589, allocations: 5.954 MB / 0.9996 GB, free: 11.16 MB / 0.6857 GB Notification: Performance of NFInst.instExpressions: time 0.006718/0.5958, allocations: 3.395 MB / 1.003 GB, free: 7.746 MB / 0.6857 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.5974, allocations: 47.69 kB / 1.003 GB, free: 7.699 MB / 0.6857 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.5987, allocations: 320.7 kB / 1.003 GB, free: 7.383 MB / 0.6857 GB Notification: Performance of NFTyping.typeBindings: time 0.001346/0.6001, allocations: 225.8 kB / 1.003 GB, free: 7.16 MB / 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.3.2/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.004159/0.6043, allocations: 1.491 MB / 1.005 GB, free: 5.672 MB / 0.6857 GB Notification: Performance of NFFlatten.flatten: time 0.004373/0.6087, allocations: 3.111 MB / 1.008 GB, free: 2.559 MB / 0.6857 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003479/0.6122, allocations: 2.149 MB / 1.01 GB, free: 360 kB / 0.6857 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002066/0.6143, allocations: 1.126 MB / 1.011 GB, free: 15.22 MB / 0.7013 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001925/0.6162, allocations: 1.214 MB / 1.012 GB, free: 14 MB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 0.0009483/0.6172, allocations: 344 kB / 1.013 GB, free: 13.67 MB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001353/0.6186, allocations: 0.492 MB / 1.013 GB, free: 13.18 MB / 0.7013 GB Notification: Performance of NFScalarize.scalarize: time 0.0014/0.62, allocations: 0.7637 MB / 1.014 GB, free: 12.41 MB / 0.7013 GB Notification: Performance of NFVerifyModel.verify: time 0.002345/0.6223, allocations: 1.245 MB / 1.015 GB, free: 11.16 MB / 0.7013 GB Notification: Performance of NFConvertDAE.convert: time 0.00464/0.627, allocations: 3.888 MB / 1.019 GB, free: 7.262 MB / 0.7013 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.627, allocations: 0 / 1.019 GB, free: 7.262 MB / 0.7013 GB Notification: Performance of FrontEnd: time 2.545e-06/0.627, allocations: 3.938 kB / 1.019 GB, free: 7.258 MB / 0.7013 GB Notification: Performance of Transformations before backend: time 6.89e-05/0.6271, allocations: 0 / 1.019 GB, free: 7.258 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.006883/0.634, allocations: 4.073 MB / 1.023 GB, free: 2.93 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 5.047e-05/0.6341, allocations: 12.03 kB / 1.023 GB, free: 2.918 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006574/0.6347, allocations: 263.4 kB / 1.023 GB, free: 2.66 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001786/0.6366, allocations: 1.092 MB / 1.024 GB, free: 1.527 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.6367, allocations: 196.7 kB / 1.024 GB, free: 1.332 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003682/0.6371, allocations: 264.3 kB / 1.025 GB, free: 1.074 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005119/0.6422, allocations: 2.682 MB / 1.027 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.801e-05/0.6423, allocations: 0 / 1.027 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/0.6425, allocations: 95.98 kB / 1.027 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.273e-05/0.6426, allocations: 60 kB / 1.027 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003998/0.6466, allocations: 2.083 MB / 1.029 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01006/0.6567, allocations: 7.254 MB / 1.037 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003505/0.6602, allocations: 2.526 MB / 1.039 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/0.6622, allocations: 1.626 MB / 1.041 GB, free: 380 kB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.409e-05/0.6623, allocations: 22 kB / 1.041 GB, free: 356 kB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002176/0.6645, allocations: 1.581 MB / 1.042 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=249): time 4.379e-06/0.6645, allocations: 0 / 1.042 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of matching and sorting (n=249): time 0.005529/0.67, allocations: 3.293 MB / 1.045 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004164/0.6704, allocations: 0.6232 MB / 1.046 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001208/0.6717, allocations: 0.7451 MB / 1.047 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002652/0.6719, allocations: 157.7 kB / 1.047 GB, free: 9.723 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005969/0.6725, allocations: 0.6953 MB / 1.048 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005675/0.6731, allocations: 0.6247 MB / 1.048 GB, free: 8.391 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008168/0.6739, allocations: 0.6513 MB / 1.049 GB, free: 7.73 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.6741, allocations: 349.9 kB / 1.049 GB, free: 7.383 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001354/0.6755, allocations: 0.7672 MB / 1.05 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/0.6774, allocations: 1.532 MB / 1.051 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00494/0.6824, allocations: 3.243 MB / 1.055 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.138e-05/0.6824, allocations: 8 kB / 1.055 GB, free: 1.176 MB / 0.7325 GB Notification: Performance of matching and sorting (n=400) (initialization): time 0.004807/0.6872, allocations: 2.708 MB / 1.057 GB, free: 14.46 MB / 0.7482 GB Notification: Performance of prepare postOptimizeDAE: time 7.428e-05/0.6873, allocations: 52.45 kB / 1.057 GB, free: 14.4 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.148e-05/0.6874, allocations: 24.94 kB / 1.057 GB, free: 14.38 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.149e-05/0.6875, allocations: 43.98 kB / 1.057 GB, free: 14.34 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.6887, allocations: 351.1 kB / 1.058 GB, free: 13.99 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-05/0.6888, allocations: 51.86 kB / 1.058 GB, free: 13.94 MB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.69, allocations: 250.4 kB / 1.058 GB, free: 13.7 MB / 0.7482 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002714/0.6903, allocations: 136 kB / 1.058 GB, free: 13.56 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.002034/0.6923, allocations: 0.966 MB / 1.059 GB, free: 12.57 MB / 0.7482 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005075/0.6928, allocations: 159.1 kB / 1.059 GB, free: 12.41 MB / 0.7482 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004524/0.6974, allocations: 2.51 MB / 1.062 GB, free: 9.883 MB / 0.7482 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.67e-05/0.6974, allocations: 24 kB / 1.062 GB, free: 9.859 MB / 0.7482 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.6974, allocations: 0 / 1.062 GB, free: 9.859 MB / 0.7482 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.236e-05/0.6975, allocations: 15.95 kB / 1.062 GB, free: 9.844 MB / 0.7482 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009158/0.7066, allocations: 5.027 MB / 1.067 GB, free: 4.75 MB / 0.7482 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.835e-05/0.7067, allocations: 3.984 kB / 1.067 GB, free: 4.746 MB / 0.7482 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004964/0.7072, allocations: 115.7 kB / 1.067 GB, free: 4.633 MB / 0.7482 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-05/0.7072, allocations: 11.98 kB / 1.067 GB, free: 4.621 MB / 0.7482 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000176/0.7074, allocations: 79.88 kB / 1.067 GB, free: 4.543 MB / 0.7482 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.656e-05/0.7074, allocations: 15.94 kB / 1.067 GB, free: 4.527 MB / 0.7482 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.7074, allocations: 4 kB / 1.067 GB, free: 4.523 MB / 0.7482 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006588/0.714, allocations: 4.087 MB / 1.071 GB, free: 352 kB / 0.7482 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003892/0.7144, allocations: 227.7 kB / 1.071 GB, free: 104 kB / 0.7482 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003287/0.7148, allocations: 91.89 kB / 1.071 GB, free: 12 kB / 0.7482 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007244/0.7155, allocations: 75.94 kB / 1.071 GB, free: 15.94 MB / 0.7638 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004691/0.716, allocations: 229.7 kB / 1.071 GB, free: 15.71 MB / 0.7638 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001989/0.7162, allocations: 108 kB / 1.071 GB, free: 15.61 MB / 0.7638 GB Notification: Performance of sorting global known variables: time 0.0004699/0.7167, allocations: 326.9 kB / 1.072 GB, free: 15.29 MB / 0.7638 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7167, allocations: 0 / 1.072 GB, free: 15.29 MB / 0.7638 GB Notification: Performance of remove unused functions: time 0.002064/0.7187, allocations: 0.6234 MB / 1.072 GB, free: 14.67 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.001531/0.7203, allocations: 0.7007 MB / 1.073 GB, free: 14.11 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.004701/0.725, allocations: 2.545 MB / 1.076 GB, free: 11.54 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 8.997e-06/0.725, allocations: 0 / 1.076 GB, free: 11.54 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.003307/0.7283, allocations: 3.161 MB / 1.079 GB, free: 8.371 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001611/0.73, allocations: 335.3 kB / 1.079 GB, free: 8.062 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00683/0.7368, allocations: 3.474 MB / 1.082 GB, free: 4.52 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/0.7383, allocations: 1.377 MB / 1.084 GB, free: 3.113 MB / 0.7638 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000602/0.7389, allocations: 151.4 kB / 1.084 GB, free: 2.969 MB / 0.7638 GB Notification: Performance of SimCode: time 7.01e-07/0.7389, allocations: 0 / 1.084 GB, free: 2.969 MB / 0.7638 GB Notification: Performance of Templates: time 0.04528/0.7842, allocations: 27.6 MB / 1.111 GB, free: 7.441 MB / 0.795 GB make -j1 -f AixLib_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2.makefile make -j1 -f AixLib_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_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2CalcHelperMain.o OMCppAixLib_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2CalcHelperMain.cpp In file included from OMCppAixLib_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2CalcHelperMain.cpp:28: In file included from ./OMCppAixLib_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_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2CalcHelperMain.cpp:28: ./OMCppAixLib_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_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2CalcHelperMain.cpp:28: ./OMCppAixLib_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_AixLib.Controls.HVACAgentBasedControl.Examples.BookTrading.NetworkCommunication2CalcHelperMain.o] Error 1