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.001325/0.001325, allocations: 100.4 kB / 20.48 MB, free: 1.227 MB / 14.72 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.001491/0.001491, allocations: 210.8 kB / 23.79 MB, free: 4.414 MB / 14.72 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 1.501/1.501, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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.06391/0.06391, allocations: 12.22 MB / 326.2 MB, free: 7.047 MB / 254.1 MB " [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 0.002038/0.002038, allocations: 67.84 kB / 454.5 MB, free: 8.348 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1138, allocations: 56.41 MB / 0.499 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServer): time 0.005792/0.1196, allocations: 3.225 MB / 0.5021 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1214, allocations: 0.8914 MB / 0.503 GB, free: 11.71 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001601/0.1215, allocations: 15.81 kB / 0.503 GB, free: 11.7 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003457/0.1219, allocations: 95.23 kB / 0.5031 GB, free: 11.6 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001454/0.122, allocations: 43.53 kB / 0.5031 GB, free: 11.56 MB / 382.1 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.000897/0.1229, allocations: 325.2 kB / 0.5034 GB, free: 11.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004519/0.1234, allocations: 403.4 kB / 0.5038 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.1237, allocations: 134.7 kB / 0.504 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.1238, allocations: 175.5 kB / 0.5041 GB, free: 10.53 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002532/0.1241, allocations: 183.1 kB / 0.5043 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.778e-05/0.1242, allocations: 40 kB / 0.5043 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002654/0.1244, allocations: 167.8 kB / 0.5045 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001395/0.1246, allocations: 119.7 kB / 0.5046 GB, free: 10.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001594/0.1247, allocations: 159.1 kB / 0.5048 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006868/0.1254, allocations: 0.5874 MB / 0.5053 GB, free: 9.285 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1254, allocations: 0 / 0.5053 GB, free: 9.285 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.1254, allocations: 3.938 kB / 0.5053 GB, free: 9.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.928e-06/0.1254, allocations: 4 kB / 0.5053 GB, free: 9.277 MB / 382.1 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.001457/0.1269, allocations: 0.8469 MB / 0.5062 GB, free: 8.371 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1269, allocations: 12.03 kB / 0.5062 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.127, allocations: 52.64 kB / 0.5062 GB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004346/0.1275, allocations: 272.8 kB / 0.5065 GB, free: 8.016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.746e-05/0.1275, allocations: 25.38 kB / 0.5065 GB, free: 7.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/0.1276, allocations: 44.36 kB / 0.5066 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000682/0.1283, allocations: 428.8 kB / 0.507 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.409e-05/0.1283, allocations: 192 / 0.507 GB, free: 7.504 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.1283, allocations: 19.92 kB / 0.507 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.085e-05/0.1283, allocations: 8 kB / 0.507 GB, free: 7.477 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004213/0.1287, allocations: 249.1 kB / 0.5072 GB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.1302, allocations: 1.093 MB / 0.5083 GB, free: 6.086 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005119/0.1307, allocations: 274.7 kB / 0.5086 GB, free: 5.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002167/0.1309, allocations: 135.4 kB / 0.5087 GB, free: 5.637 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.697e-05/0.1309, allocations: 4 kB / 0.5087 GB, free: 5.633 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003966/0.1313, allocations: 259.5 kB / 0.5089 GB, free: 5.352 MB / 382.1 MB Notification: Performance of pre-optimization done (n=42): time 1.863e-06/0.1313, allocations: 0 / 0.5089 GB, free: 5.352 MB / 382.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009915/0.1323, allocations: 0.5363 MB / 0.5095 GB, free: 4.809 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001121/0.1324, allocations: 156.4 kB / 0.5096 GB, free: 4.625 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002705/0.1327, allocations: 260.9 kB / 0.5099 GB, free: 4.359 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.872e-05/0.1328, allocations: 45.64 kB / 0.5099 GB, free: 4.309 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000156/0.1329, allocations: 204.8 kB / 0.5101 GB, free: 4.105 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.133, allocations: 107.2 kB / 0.5102 GB, free: 4 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.1332, allocations: 118.1 kB / 0.5103 GB, free: 3.879 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001564/0.1333, allocations: 342.8 kB / 0.5106 GB, free: 3.535 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002605/0.1336, allocations: 172.5 kB / 0.5108 GB, free: 3.352 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.134, allocations: 340.1 kB / 0.5111 GB, free: 2.941 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008664/0.1348, allocations: 0.6749 MB / 0.5118 GB, free: 2.164 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1348, allocations: 0 / 0.5118 GB, free: 2.164 MB / 382.1 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.0009273/0.1358, allocations: 0.6168 MB / 0.5124 GB, free: 1.516 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.023e-05/0.1358, allocations: 69.73 kB / 0.5125 GB, free: 1.438 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.038e-05/0.1359, allocations: 8 kB / 0.5125 GB, free: 1.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.455e-05/0.1359, allocations: 8.562 kB / 0.5125 GB, free: 1.422 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.1361, allocations: 59.84 kB / 0.5125 GB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.355e-05/0.1361, allocations: 15.94 kB / 0.5125 GB, free: 1.348 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001837/0.1363, allocations: 39.73 kB / 0.5126 GB, free: 1.309 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.33e-05/0.1363, allocations: 31.98 kB / 0.5126 GB, free: 1.277 MB / 382.1 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.0003035/0.1366, allocations: 224.9 kB / 0.5128 GB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.1367, allocations: 39.73 kB / 0.5129 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.542e-05/0.1367, allocations: 22.97 kB / 0.5129 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.1368, allocations: 7.984 kB / 0.5129 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.1368, allocations: 4 kB / 0.5129 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1368, allocations: 4 kB / 0.5129 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00123/0.138, allocations: 0.7551 MB / 0.5136 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.138, allocations: 0 / 0.5136 GB, free: 184 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.26e-05/0.138, allocations: 4 kB / 0.5136 GB, free: 180 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.138, allocations: 4 kB / 0.5137 GB, free: 176 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.627e-05/0.1381, allocations: 11.98 kB / 0.5137 GB, free: 164 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.1381, allocations: 11.94 kB / 0.5137 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1381, allocations: 0 / 0.5137 GB, free: 152 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2586/0.3967, allocations: 0.5357 MB / 0.5142 GB, free: 21.43 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.786e-05/0.3968, allocations: 31.06 kB / 0.5142 GB, free: 21.43 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.787e-05/0.3968, allocations: 11.59 kB / 0.5142 GB, free: 21.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.397, allocations: 4.484 kB / 0.5142 GB, free: 21.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.407e-05/0.397, allocations: 26 kB / 0.5143 GB, free: 21.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.598e-05/0.3971, allocations: 22.7 kB / 0.5143 GB, free: 21.43 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001361/0.3972, allocations: 154.2 kB / 0.5144 GB, free: 21.35 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3972, allocations: 0 / 0.5144 GB, free: 21.35 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006774/0.3979, allocations: 146.2 kB / 0.5146 GB, free: 21.35 MB / 382.1 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.00136/0.3993, allocations: 457.3 kB / 0.515 GB, free: 21.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0007713/0.4, allocations: 0.5308 MB / 0.5155 GB, free: 21.01 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.4, allocations: 0 / 0.5155 GB, free: 21.01 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002363/0.4003, allocations: 164.7 kB / 0.5157 GB, free: 20.98 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.4007, allocations: 55.14 kB / 0.5157 GB, free: 20.97 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001025/0.4017, allocations: 0.6876 MB / 0.5164 GB, free: 20.62 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/0.4019, allocations: 208.8 kB / 0.5166 GB, free: 20.54 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.579e-05/0.4019, allocations: 24.03 kB / 0.5166 GB, free: 20.53 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.4019, allocations: 1.344 kB / 0.5166 GB, free: 20.53 MB / 382.1 MB Notification: Performance of Templates: time 0.01055/0.4125, allocations: 6.008 MB / 0.5225 GB, free: 19.89 MB / 382.1 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/jenkins1/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/jenkins1/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' 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, ^ 1 error generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_TCPIPServerCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.485047189053148] Failed to read output from testmodel.py, exit status != 0: 0.4214706849306822 0.43476234299999994 0.306509459 Calling exit ...