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.001439/0.001439, allocations: 100.4 kB / 20.49 MB, free: 1.344 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.001653/0.001653, allocations: 198.6 kB / 23.78 MB, free: 4.5 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.451/1.451, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.06086/0.06086, allocations: 12.24 MB / 326.2 MB, free: 7.031 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.002116/0.002116, allocations: 71.89 kB / 454.5 MB, free: 8.324 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1347/0.1368, allocations: 56.4 MB / 0.499 GB, free: 15.83 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.004914/0.1417, allocations: 2.315 MB / 0.5012 GB, free: 13.51 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002053/0.1438, allocations: 0.9186 MB / 0.5021 GB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001885/0.1439, allocations: 15.88 kB / 0.5021 GB, free: 12.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000305/0.1442, allocations: 83.19 kB / 0.5022 GB, free: 12.49 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002934/0.1445, allocations: 55.47 kB / 0.5023 GB, free: 12.43 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.001093/0.1456, allocations: 331.1 kB / 0.5026 GB, free: 12.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004823/0.1461, allocations: 391.8 kB / 0.503 GB, free: 11.72 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.1464, allocations: 163.4 kB / 0.5031 GB, free: 11.56 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002156/0.1467, allocations: 191.4 kB / 0.5033 GB, free: 11.37 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003003/0.147, allocations: 207 kB / 0.5035 GB, free: 11.17 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.366e-05/0.147, allocations: 40 kB / 0.5035 GB, free: 11.13 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003666/0.1474, allocations: 207.7 kB / 0.5037 GB, free: 10.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001728/0.1476, allocations: 155.6 kB / 0.5039 GB, free: 10.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001726/0.1477, allocations: 163.1 kB / 0.504 GB, free: 10.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008609/0.1486, allocations: 0.6691 MB / 0.5047 GB, free: 9.941 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1486, allocations: 0 / 0.5047 GB, free: 9.941 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1486, allocations: 0 / 0.5047 GB, free: 9.941 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.097e-06/0.1486, allocations: 4 kB / 0.5047 GB, free: 9.938 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.001778/0.1504, allocations: 1.035 MB / 0.5057 GB, free: 8.832 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.1504, allocations: 8.031 kB / 0.5057 GB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.1505, allocations: 48.66 kB / 0.5058 GB, free: 8.777 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004546/0.151, allocations: 282.1 kB / 0.506 GB, free: 8.477 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.0001446/0.1511, allocations: 96.95 kB / 0.5061 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.661e-05/0.1512, allocations: 40.38 kB / 0.5062 GB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.1531, allocations: 1.189 MB / 0.5073 GB, free: 7.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.1531, allocations: 11.98 kB / 0.5073 GB, free: 7.059 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.561e-05/0.1531, allocations: 16 kB / 0.5074 GB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.585e-05/0.1532, allocations: 12 kB / 0.5074 GB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005493/0.1537, allocations: 308 kB / 0.5077 GB, free: 6.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.1551, allocations: 1.182 MB / 0.5088 GB, free: 5.48 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001048/0.1562, allocations: 0.6912 MB / 0.5095 GB, free: 4.695 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005776/0.1567, allocations: 376.9 kB / 0.5098 GB, free: 4.301 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000113/0.1568, allocations: 43.92 kB / 0.5099 GB, free: 4.258 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002657/0.1571, allocations: 195.2 kB / 0.5101 GB, free: 4.027 MB / 382.1 MB Notification: Performance of pre-optimization done (n=78): time 3.236e-06/0.1571, allocations: 3.938 kB / 0.5101 GB, free: 4.023 MB / 382.1 MB Notification: Performance of matching and sorting (n=78): time 0.001543/0.1587, allocations: 0.8127 MB / 0.5109 GB, free: 3.207 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002421/0.1589, allocations: 334.5 kB / 0.5112 GB, free: 2.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.1591, allocations: 223.7 kB / 0.5114 GB, free: 2.586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.44e-05/0.1592, allocations: 45.69 kB / 0.5114 GB, free: 2.535 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.1593, allocations: 165.7 kB / 0.5116 GB, free: 2.367 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.706e-05/0.1594, allocations: 79.59 kB / 0.5117 GB, free: 2.289 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001642/0.1596, allocations: 138.6 kB / 0.5118 GB, free: 2.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001724/0.1597, allocations: 346.8 kB / 0.5121 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002389/0.16, allocations: 125.9 kB / 0.5123 GB, free: 1.676 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000618/0.1606, allocations: 0.5742 MB / 0.5128 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2537/0.4143, allocations: 0.7631 MB / 0.5136 GB, free: 20.85 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.644e-05/0.4143, allocations: 4.812 kB / 0.5136 GB, free: 20.85 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001124/0.4154, allocations: 0.6815 MB / 0.5142 GB, free: 20.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.4154, allocations: 13.19 kB / 0.5143 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.4155, allocations: 17 kB / 0.5143 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.947e-05/0.4155, allocations: 27.09 kB / 0.5143 GB, free: 20.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/0.4159, allocations: 148.1 kB / 0.5144 GB, free: 20.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.833e-05/0.4159, allocations: 33.69 kB / 0.5145 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003209/0.4162, allocations: 55.95 kB / 0.5145 GB, free: 20.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.887e-05/0.4163, allocations: 47.31 kB / 0.5146 GB, free: 20.72 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.0004288/0.4167, allocations: 256 kB / 0.5148 GB, free: 20.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007954/0.4175, allocations: 493.3 kB / 0.5153 GB, free: 20.55 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000765/0.4183, allocations: 471.9 kB / 0.5157 GB, free: 20.49 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.602e-05/0.4183, allocations: 13.69 kB / 0.5157 GB, free: 20.49 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/0.4183, allocations: 4.812 kB / 0.5158 GB, free: 20.49 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.4183, allocations: 3.703 kB / 0.5158 GB, free: 20.49 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005944/0.4189, allocations: 474.4 kB / 0.5162 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-05/0.4189, allocations: 12.47 kB / 0.5162 GB, free: 20.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.4193, allocations: 102.7 kB / 0.5163 GB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.801e-06/0.4193, allocations: 3.656 kB / 0.5163 GB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.4193, allocations: 24.19 kB / 0.5163 GB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/0.4193, allocations: 8.719 kB / 0.5164 GB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4193, allocations: 6.469 kB / 0.5164 GB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009182/0.4202, allocations: 0.789 MB / 0.5171 GB, free: 19.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.4203, allocations: 48.52 kB / 0.5172 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.607e-05/0.4203, allocations: 24.88 kB / 0.5172 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.4205, allocations: 23.5 kB / 0.5172 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.4206, allocations: 21.75 kB / 0.5172 GB, free: 19.96 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.855e-05/0.4206, allocations: 32.45 kB / 0.5173 GB, free: 19.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001102/0.4207, allocations: 142.2 kB / 0.5174 GB, free: 19.88 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4207, allocations: 0 / 0.5174 GB, free: 19.88 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006729/0.4214, allocations: 167 kB / 0.5176 GB, free: 19.88 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.0009319/0.4223, allocations: 390.5 kB / 0.5179 GB, free: 19.76 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001085/0.4234, allocations: 1.224 MB / 0.5191 GB, free: 19.02 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.4234, allocations: 1.094 kB / 0.5191 GB, free: 19.02 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003546/0.4238, allocations: 0.7685 MB / 0.5199 GB, free: 18.34 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001377/0.4251, allocations: 1.18 MB / 0.521 GB, free: 17.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001414/0.4265, allocations: 0.9551 MB / 0.522 GB, free: 17.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002891/0.4268, allocations: 274.4 kB / 0.5222 GB, free: 17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.18e-05/0.4269, allocations: 47.75 kB / 0.5223 GB, free: 16.99 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.4269, allocations: 0 / 0.5223 GB, free: 16.99 MB / 382.1 MB Notification: Performance of Templates: time 0.01619/0.4431, allocations: 6.975 MB / 0.5291 GB, free: 16.23 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 -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.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.548700420185924] Failed to read output from testmodel.py, exit status != 0: 0.45238652266561985 0.46502567400000006 0.313689182 Calling exit ...