Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006274/0.0006274, allocations: 84.44 kB / 20.73 MB, free: 3.836 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008403/0.0008403, allocations: 165.9 kB / 24 MB, free: 0.5586 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8718/0.8718, allocations: 177.1 MB / 204.3 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.03397/0.03397, allocations: 9.148 MB / 269.9 MB, free: 4.469 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 398.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.553e-05/3.708e-05, allocations: 6.219 kB / 398.3 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer): time 0.003757/0.003794, allocations: 3.232 MB / 401.5 MB, free: 12.3 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001333/0.005127, allocations: 0.8949 MB / 402.4 MB, free: 11.4 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001967/0.005324, allocations: 15.81 kB / 402.5 MB, free: 11.38 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000314/0.005638, allocations: 99.09 kB / 402.6 MB, free: 11.29 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.005763, allocations: 47.53 kB / 402.6 MB, free: 11.24 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1308:7-1320:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.readP'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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 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 master/Blocks/Packaging/SerialPackager.mo:171:5-182:15:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getPos' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getPos'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Communication.mo:1322:7-1334:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendPTCPIPServer' contains a call to impure function 'Modelica_DeviceDrivers.Communication.TCPIPServer_.sendP'. Notification: Performance of NFTyping.typeClassSections: time 0.0008167/0.00658, allocations: 322.8 kB / 402.9 MB, free: 10.92 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000395/0.006975, allocations: 399.4 kB / 403.3 MB, free: 10.53 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002173/0.007192, allocations: 138.7 kB / 403.4 MB, free: 10.39 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002281/0.00742, allocations: 243.5 kB / 403.7 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002287/0.007649, allocations: 159.5 kB / 403.8 MB, free: 9.996 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.295e-05/0.007702, allocations: 40 kB / 403.9 MB, free: 9.957 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.007937, allocations: 167.7 kB / 404 MB, free: 9.793 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000108/0.008045, allocations: 123.6 kB / 404.2 MB, free: 9.672 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.008149, allocations: 131.6 kB / 404.3 MB, free: 9.543 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006096/0.008759, allocations: 0.6112 MB / 404.9 MB, free: 8.93 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.008763, allocations: 8 kB / 404.9 MB, free: 8.922 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.008765, allocations: 0 / 404.9 MB, free: 8.922 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.654e-06/0.008773, allocations: 0 / 404.9 MB, free: 8.922 MB / 330.7 MB Warning: Alias equations of external objects are not Modelica compliant as in: addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addInteger.pkgOut[1].pkg = tCPIPSend.pkgIn.pkg packager.pkgOut.pkg = addInteger.pkgIn.pkg tCPIPReceive.pkgOut.pkg = getInteger.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.001233/0.01001, allocations: 0.8354 MB / 405.7 MB, free: 8.027 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.01004, allocations: 12.03 kB / 405.8 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.493e-05/0.01014, allocations: 52.61 kB / 405.8 MB, free: 7.965 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002979/0.01044, allocations: 268.5 kB / 406.1 MB, free: 7.68 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.188e-05/0.01047, allocations: 29.38 kB / 406.1 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.275e-05/0.01051, allocations: 44.34 kB / 406.1 MB, free: 7.609 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004865/0.011, allocations: 432.8 kB / 406.6 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.01101, allocations: 192 / 406.6 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.01104, allocations: 16.38 kB / 406.6 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/0.01105, allocations: 8.375 kB / 406.6 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002981/0.01135, allocations: 245.2 kB / 406.8 MB, free: 6.895 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.01238, allocations: 1.09 MB / 407.9 MB, free: 5.754 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000385/0.01277, allocations: 270.7 kB / 408.2 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.0129, allocations: 135.3 kB / 408.3 MB, free: 5.309 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.631e-05/0.01294, allocations: 11.98 kB / 408.3 MB, free: 5.297 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002464/0.01319, allocations: 247.5 kB / 408.6 MB, free: 5.027 MB / 330.7 MB Notification: Performance of pre-optimization done (n=42): time 1.392e-06/0.01319, allocations: 0 / 408.6 MB, free: 5.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=42): time 0.0006649/0.01385, allocations: 0.5363 MB / 409.1 MB, free: 4.484 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.227e-05/0.01393, allocations: 156.4 kB / 409.3 MB, free: 4.301 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.01412, allocations: 265.7 kB / 409.5 MB, free: 4.031 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.065e-05/0.01415, allocations: 41.7 kB / 409.6 MB, free: 3.984 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.01425, allocations: 196.8 kB / 409.7 MB, free: 3.789 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.151e-05/0.01431, allocations: 123.2 kB / 409.9 MB, free: 3.668 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.01442, allocations: 110.2 kB / 410 MB, free: 3.555 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.48e-05/0.01452, allocations: 346.8 kB / 410.3 MB, free: 3.207 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.01469, allocations: 176.5 kB / 410.5 MB, free: 3.023 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.01491, allocations: 332.1 kB / 410.8 MB, free: 2.621 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000582/0.01549, allocations: 0.675 MB / 411.5 MB, free: 1.844 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.51e-06/0.0155, allocations: 0 / 411.5 MB, free: 1.844 MB / 330.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0005925/0.01609, allocations: 0.6173 MB / 412.1 MB, free: 1.195 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.16e-05/0.01613, allocations: 63.34 kB / 412.2 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.01614, allocations: 8 kB / 412.2 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.01616, allocations: 11.94 kB / 412.2 MB, free: 1.102 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.01628, allocations: 59.91 kB / 412.2 MB, free: 1.043 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.01629, allocations: 11.92 kB / 412.3 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.0164, allocations: 47.67 kB / 412.3 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.367e-05/0.01643, allocations: 24 kB / 412.3 MB, free: 0.9609 MB / 330.7 MB Warning: Assuming fixed start value for the following 5 variables: process.y[1]:DISCRETE(flow=false fixed = true ) type: Integer [3] process.y[2]:DISCRETE(flow=false fixed = true ) type: Integer [3] process.y[3]:DISCRETE(flow=false fixed = true ) type: Integer [3] tCPIPSend.dataSent:DISCRETE(fixed = true ) type: Integer tCPIPReceive.nReceivedBytes:DISCRETE(flow=false fixed = true ) \"Number of received bytes\" type: Integer Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.process.y[1],process.y[1],$PRE.process.y[2],process.y[2],$PRE.process.y[3],process.y[3],tCPIPSend.dummy1,$PRE.tCPIPSend.dummy1,tCPIPSend.pkgSize,$PRE.tCPIPSend.pkgSize,$PRE.tCPIPSend.dataSent,tCPIPSend.dataSent,tCPIPSend.dummy2,$PRE.tCPIPSend.dummy2,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[3],$PRE.getInteger.y[3],getInteger.y[2],$PRE.getInteger.y[2],getInteger.y[1],$PRE.getInteger.y[1],tCPIPReceive.pkgOut.dummy,$PRE.tCPIPReceive.pkgOut.dummy,$PRE.tCPIPSend.block_,$PRE.tCPIPSend.accepted,$PRE.tCPIPReceive.block_,$PRE.tCPIPReceive.accepted,$PRE.tCPIPReceive.nReceivedBytes,tCPIPSend.block_,tCPIPSend.accepted,addInteger.pkgOut[1].backwardTrigger,addInteger.pkgOut[1].trigger,tCPIPReceive.block_,tCPIPReceive.accepted,tCPIPReceive.recvTrigger,tCPIPReceive.nReceivedBytes,tCPIPReceive.conditionalInternalTrigger,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tCPIPSend.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,tCPIPSend.bufferSize,tCPIPSend.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,addInteger.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,getInteger.pkgIn.autoPkgBitSize,tCPIPReceive.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 2 * 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.0002242/0.01665, allocations: 241 kB / 412.6 MB, free: 0.7188 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.01669, allocations: 31.81 kB / 412.6 MB, free: 0.6875 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.638e-05/0.01674, allocations: 22.95 kB / 412.6 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.01675, allocations: 7.938 kB / 412.6 MB, free: 0.6484 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.01676, allocations: 4 kB / 412.6 MB, free: 0.6445 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.01676, allocations: 7.984 kB / 412.6 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1312/0.148, allocations: 0.7395 MB / 413.4 MB, free: 27.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.148, allocations: 1.969 kB / 413.4 MB, free: 27.4 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.302e-05/0.148, allocations: 13.55 kB / 413.4 MB, free: 27.4 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.148, allocations: 3.484 kB / 413.4 MB, free: 27.4 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.506e-05/0.1481, allocations: 8.891 kB / 413.4 MB, free: 27.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1481, allocations: 1.25 kB / 413.4 MB, free: 27.4 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1481, allocations: 1.438 kB / 413.4 MB, free: 27.4 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00052/0.1486, allocations: 0.5452 MB / 413.9 MB, free: 27.24 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.299e-05/0.1486, allocations: 34.61 kB / 414 MB, free: 27.24 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.653e-05/0.1487, allocations: 9.359 kB / 414 MB, free: 27.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.326e-05/0.1487, allocations: 8.438 kB / 414 MB, free: 27.24 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.525e-05/0.1488, allocations: 22.02 kB / 414 MB, free: 27.24 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.382e-05/0.1488, allocations: 18.31 kB / 414 MB, free: 27.24 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.283e-05/0.1489, allocations: 160.5 kB / 414.2 MB, free: 27.16 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1489, allocations: 5.25 kB / 414.2 MB, free: 27.16 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003953/0.1493, allocations: 145.2 kB / 414.3 MB, free: 27.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 36 (tCPIPSend.internalTrigger,packager.backwardPropagatedBufferSize,packager.bufferSize,addInteger.pkgIn.autoPkgBitSize,tCPIPSend.pkgIn.userPkgBitSize,tCPIPSend.pkgIn.autoPkgBitSize,addInteger.pkgOut[1].trigger,tCPIPReceive.recvTrigger,tCPIPReceive.conditionalInternalTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,tCPIPReceive.pkgOut.dummy,tCPIPReceive.nReceivedBytes,tCPIPReceive.accepted,tCPIPReceive.bufferSize,tCPIPReceive.block_,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],getInteger.y[2],getInteger.y[3],getInteger.dummy,packager.pkgOut.dummy,addInteger.pkgOut[1].dummy,addInteger.pkgOut[1].backwardTrigger,tCPIPSend.dataSent,tCPIPSend.accepted,tCPIPSend.bufferSize,tCPIPSend.dummy1,tCPIPSend.dummy2,tCPIPSend.pkgSize,tCPIPSend.block_,process.y[1],process.y[2],process.y[3]) * Number of discrete states: 2 (tCPIPReceive.block_,tCPIPSend.block_) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 21 * 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.0005973/0.1499, allocations: 459.6 kB / 414.8 MB, free: 27.05 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004967/0.1504, allocations: 0.5285 MB / 415.3 MB, free: 26.82 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.1504, allocations: 0 / 415.3 MB, free: 26.82 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001577/0.1505, allocations: 176.2 kB / 415.5 MB, free: 26.77 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.1508, allocations: 50.5 kB / 415.5 MB, free: 26.76 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007237/0.1515, allocations: 0.6747 MB / 416.2 MB, free: 26.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.1517, allocations: 208.2 kB / 416.4 MB, free: 26.26 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.75e-05/0.1517, allocations: 30.23 kB / 416.4 MB, free: 26.25 MB / 330.7 MB Notification: Performance of SimCode: time 4.31e-07/0.1517, allocations: 0 / 416.4 MB, free: 26.25 MB / 330.7 MB Notification: Performance of Templates: time 0.006705/0.1584, allocations: 6.034 MB / 422.5 MB, free: 25.5 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include""-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -I"." -I"." -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include/MDDSerialPackager.h:452:5: error: no matching function for call to 'strncpy' 452 | 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 144 | extern char *strncpy (char *__restrict __dest, | ^ ~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 2.440281451679766] Failed to read output from testmodel.py, exit status != 0: 0.16395833529531956 0.169791733 0.159733635 Calling exit ...