Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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.001314/0.001314, allocations: 105 kB / 20.49 MB, free: 1.457 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.001611/0.001611, allocations: 218 kB / 23.8 MB, free: 4.652 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.409/1.409, allocations: 230.6 MB / 257.6 MB, free: 8.039 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.06023/0.06023, allocations: 12.21 MB / 326.2 MB, free: 7.285 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.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 67.89 kB / 454.6 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1032, allocations: 56.39 MB / 0.499 GB, free: 24 kB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.004395/0.1076, allocations: 2.407 MB / 0.5014 GB, free: 13.61 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001782/0.1094, allocations: 0.9692 MB / 0.5023 GB, free: 12.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.1095, allocations: 15.88 kB / 0.5024 GB, free: 12.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.1098, allocations: 87.17 kB / 0.5024 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002167/0.11, allocations: 51.53 kB / 0.5025 GB, free: 12.49 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:32:9-41:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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 master/ClockedBlocks/Communication.mo:292:7-303:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Communication.mo:272:7-290:30:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.readUDP_Conditional' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:76:9-86:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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 master/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.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/ClockedBlocks/Packaging.mo:43:9-52:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/ClockedBlocks/Packaging.mo:88:9-98:29:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0008651/0.1109, allocations: 339 kB / 0.5028 GB, free: 12.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004586/0.1113, allocations: 391.8 kB / 0.5032 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003105/0.1117, allocations: 163.5 kB / 0.5033 GB, free: 11.61 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002131/0.1119, allocations: 195.3 kB / 0.5035 GB, free: 11.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003204/0.1122, allocations: 235 kB / 0.5038 GB, free: 11.18 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.245e-05/0.1122, allocations: 40 kB / 0.5038 GB, free: 11.14 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003064/0.1126, allocations: 207.8 kB / 0.504 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001637/0.1127, allocations: 151.6 kB / 0.5041 GB, free: 10.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002133/0.1129, allocations: 206.8 kB / 0.5043 GB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007569/0.1137, allocations: 0.6691 MB / 0.505 GB, free: 9.918 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1137, allocations: 0 / 0.505 GB, free: 9.918 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.1137, allocations: 4 kB / 0.505 GB, free: 9.914 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.1137, allocations: 4 kB / 0.505 GB, free: 9.91 MB / 382.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = uDPSend.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001603/0.1153, allocations: 1.031 MB / 0.506 GB, free: 8.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.289e-05/0.1153, allocations: 8.031 kB / 0.506 GB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.1154, allocations: 52.66 kB / 0.5061 GB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004061/0.1158, allocations: 278.1 kB / 0.5063 GB, free: 8.453 MB / 382.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive.initialized = previous(uDPReceive.initialized) to residual form! Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001258/0.116, allocations: 101 kB / 0.5064 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.933e-05/0.116, allocations: 44.38 kB / 0.5065 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001843/0.1179, allocations: 1.166 MB / 0.5076 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.1179, allocations: 3.938 kB / 0.5076 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.724e-05/0.1179, allocations: 20 kB / 0.5076 GB, free: 7.047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.612e-05/0.118, allocations: 16 kB / 0.5076 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005251/0.1185, allocations: 307.9 kB / 0.5079 GB, free: 6.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.12, allocations: 1.35 MB / 0.5093 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.121, allocations: 0.6907 MB / 0.5099 GB, free: 4.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005386/0.1216, allocations: 368.4 kB / 0.5103 GB, free: 4.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001249/0.1217, allocations: 47.95 kB / 0.5103 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002323/0.1219, allocations: 166.1 kB / 0.5105 GB, free: 3.887 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 2.354e-06/0.1219, allocations: 4 kB / 0.5105 GB, free: 3.883 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.001456/0.1234, allocations: 0.8127 MB / 0.5113 GB, free: 3.066 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002571/0.1236, allocations: 335.3 kB / 0.5116 GB, free: 2.672 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.1239, allocations: 227 kB / 0.5118 GB, free: 2.441 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.764e-05/0.1239, allocations: 41.7 kB / 0.5119 GB, free: 2.395 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.1241, allocations: 165.7 kB / 0.512 GB, free: 2.227 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.635e-05/0.1242, allocations: 71.61 kB / 0.5121 GB, free: 2.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.1243, allocations: 138.7 kB / 0.5122 GB, free: 2.012 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001964/0.1245, allocations: 354.8 kB / 0.5126 GB, free: 1.656 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002225/0.1247, allocations: 121.9 kB / 0.5127 GB, free: 1.539 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006083/0.1253, allocations: 0.5781 MB / 0.5132 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1882/0.3136, allocations: 0.7604 MB / 0.514 GB, free: 20.64 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.049e-05/0.3136, allocations: 3.969 kB / 0.514 GB, free: 20.64 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0009788/0.3146, allocations: 0.6751 MB / 0.5146 GB, free: 20.61 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.3146, allocations: 12.84 kB / 0.5147 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.608e-05/0.3146, allocations: 17.69 kB / 0.5147 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/0.3146, allocations: 24.09 kB / 0.5147 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003847/0.315, allocations: 150.7 kB / 0.5148 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.238e-05/0.315, allocations: 33.7 kB / 0.5149 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.3153, allocations: 61.08 kB / 0.5149 GB, free: 20.61 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.3154, allocations: 49.59 kB / 0.515 GB, free: 20.61 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: trigger.y:DISCRETE(flow=false fixed = true ) \"Value of Boolean output\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.trigger.y,$whenCondition2,pre_trigger.y,$whenCondition1,trigger.y,integerExpression.y,getFloat.pkgOut[1].autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,assignClock2.y,assignClock2.u,getInteger.y[1],getInteger.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,uDPReceive.pkgOut.autoPkgBitSize,sample1.y,addInteger.u[1],uDPSend.bufferSize,getInteger.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addFloat.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.initialized,packager.pkgOut.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (uDPReceive.dummy,uDPReceive.initialized,uDPReceive.bufferSize,packager.dummy) * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003704/0.3157, allocations: 249.8 kB / 0.5152 GB, free: 20.49 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006586/0.3164, allocations: 496.6 kB / 0.5157 GB, free: 20.45 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007327/0.3171, allocations: 474 kB / 0.5161 GB, free: 20.39 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.522e-05/0.3171, allocations: 18.2 kB / 0.5162 GB, free: 20.39 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.3171, allocations: 3.969 kB / 0.5162 GB, free: 20.39 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.185e-05/0.3172, allocations: 4.141 kB / 0.5162 GB, free: 20.39 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006173/0.3178, allocations: 0.612 MB / 0.5168 GB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.3178, allocations: 5.438 kB / 0.5168 GB, free: 20.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003066/0.3181, allocations: 107.5 kB / 0.5169 GB, free: 20.1 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.3181, allocations: 4.516 kB / 0.5169 GB, free: 20.1 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.556e-05/0.3181, allocations: 27.83 kB / 0.5169 GB, free: 20.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.3181, allocations: 5.094 kB / 0.5169 GB, free: 20.1 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3181, allocations: 5.75 kB / 0.5169 GB, free: 20.1 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008549/0.319, allocations: 0.7771 MB / 0.5177 GB, free: 19.86 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.998e-05/0.319, allocations: 55.42 kB / 0.5177 GB, free: 19.83 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.258e-05/0.3191, allocations: 36.5 kB / 0.5178 GB, free: 19.83 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001572/0.3193, allocations: 13.75 kB / 0.5178 GB, free: 19.83 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.3193, allocations: 26.23 kB / 0.5178 GB, free: 19.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.316e-05/0.3193, allocations: 31.66 kB / 0.5178 GB, free: 19.82 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.087e-05/0.3194, allocations: 144.2 kB / 0.518 GB, free: 19.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3194, allocations: 1.938 kB / 0.518 GB, free: 19.75 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006275/0.3201, allocations: 161.5 kB / 0.5181 GB, free: 19.74 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 (uDPSend.bufferSize,addInteger.u[1],sample1.y,$cse6,$cse7,uDPReceive.pkgOut.autoPkgBitSize,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,uDPReceive.bufferSize,uDPReceive.initialized,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],assignClock2.u,assignClock2.y,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].autoPkgBitSize,$cse5,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,pre_trigger.y,trigger.y,$whenCondition1,$whenCondition2) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 2 * 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.0007928/0.3209, allocations: 375.3 kB / 0.5185 GB, free: 19.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0009291/0.3218, allocations: 1.222 MB / 0.5197 GB, free: 18.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.3218, allocations: 0 / 0.5197 GB, free: 18.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.3221, allocations: 0.7669 MB / 0.5204 GB, free: 18.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/0.3233, allocations: 1.192 MB / 0.5216 GB, free: 17.36 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.3246, allocations: 0.9491 MB / 0.5225 GB, free: 16.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.3249, allocations: 0.8803 MB / 0.5234 GB, free: 16.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.686e-05/0.325, allocations: 42.27 kB / 0.5234 GB, free: 16.22 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.325, allocations: 0 / 0.5234 GB, free: 16.22 MB / 382.1 MB Notification: Performance of Templates: time 0.01068/0.3357, allocations: 6.907 MB / 0.5302 GB, free: 15.46 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.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 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.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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, ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:29: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:222:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:242:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:243:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:244:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:309:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:329:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:330:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:331:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:390:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if (!_omcQ_24CLKPRE_P_packager_P_initialized_) { ^ 10 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.149682226125151] Failed to read output from testmodel.py, exit status != 0: 0.34374214499257505 0.35460120500000003 0.238519838 Calling exit ...