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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 117.8 kB / 19.74 MB, free: 2.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001681/0.001681, allocations: 186.7 kB / 23.02 MB, free: 4.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.518/1.518, allocations: 225.6 MB / 251.8 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06159/0.06159, allocations: 12.18 MB / 319.2 MB, free: 12.86 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(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.001941/0.001941, allocations: 71.83 kB / 445.3 MB, free: 3.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1282, allocations: 55.22 MB / 0.4888 GB, free: 12.69 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.00495/0.1331, allocations: 2.41 MB / 0.4911 GB, free: 10.27 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.1353, allocations: 0.977 MB / 0.4921 GB, free: 9.293 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001889/0.1355, allocations: 11.88 kB / 0.4921 GB, free: 9.281 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003565/0.1359, allocations: 83.2 kB / 0.4922 GB, free: 9.199 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002598/0.1361, allocations: 55.52 kB / 0.4922 GB, free: 9.145 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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.001092/0.1372, allocations: 323.1 kB / 0.4925 GB, free: 8.828 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004959/0.1377, allocations: 387.8 kB / 0.4929 GB, free: 8.445 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000339/0.1381, allocations: 167.5 kB / 0.4931 GB, free: 8.277 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003095/0.1384, allocations: 191.3 kB / 0.4932 GB, free: 8.09 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003859/0.1388, allocations: 235 kB / 0.4935 GB, free: 7.859 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-05/0.1388, allocations: 44 kB / 0.4935 GB, free: 7.816 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000386/0.1392, allocations: 203.8 kB / 0.4937 GB, free: 7.617 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001901/0.1394, allocations: 155.6 kB / 0.4938 GB, free: 7.465 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000221/0.1396, allocations: 210.7 kB / 0.494 GB, free: 7.258 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008716/0.1405, allocations: 0.6652 MB / 0.4947 GB, free: 6.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1405, allocations: 0 / 0.4947 GB, free: 6.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1405, allocations: 0 / 0.4947 GB, free: 6.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.307e-06/0.1405, allocations: 0 / 0.4947 GB, free: 6.59 MB / 366.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.00178/0.1423, allocations: 1.039 MB / 0.4957 GB, free: 5.48 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.1423, allocations: 12.02 kB / 0.4957 GB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000124/0.1425, allocations: 56.61 kB / 0.4958 GB, free: 5.414 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004489/0.1429, allocations: 277.4 kB / 0.496 GB, free: 5.117 MB / 366.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.0001566/0.1431, allocations: 96.95 kB / 0.4961 GB, free: 5.012 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.505e-05/0.1431, allocations: 48.31 kB / 0.4962 GB, free: 4.965 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.1451, allocations: 1.148 MB / 0.4973 GB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1451, allocations: 0 / 0.4973 GB, free: 3.754 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.589e-05/0.1451, allocations: 27.98 kB / 0.4973 GB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.451e-05/0.1452, allocations: 12 kB / 0.4973 GB, free: 3.715 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005596/0.1457, allocations: 307.4 kB / 0.4976 GB, free: 3.418 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.1474, allocations: 1.342 MB / 0.4989 GB, free: 1.996 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001251/0.1486, allocations: 0.6916 MB / 0.4996 GB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007191/0.1494, allocations: 383.4 kB / 0.5 GB, free: 0.8086 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.1495, allocations: 43.97 kB / 0.5 GB, free: 0.7656 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002534/0.1497, allocations: 166.1 kB / 0.5002 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.705e-06/0.1497, allocations: 0 / 0.5002 GB, free: 0.5664 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.001639/0.1514, allocations: 0.8086 MB / 0.501 GB, free: 15.75 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002411/0.1516, allocations: 341.5 kB / 0.5013 GB, free: 15.36 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002546/0.1519, allocations: 223 kB / 0.5015 GB, free: 15.13 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.334e-05/0.1519, allocations: 41.7 kB / 0.5016 GB, free: 15.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.1522, allocations: 157.8 kB / 0.5017 GB, free: 14.92 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.104e-05/0.1523, allocations: 87.53 kB / 0.5018 GB, free: 14.84 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002537/0.1525, allocations: 134.7 kB / 0.5019 GB, free: 14.7 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.1527, allocations: 350.8 kB / 0.5023 GB, free: 14.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.153, allocations: 125.9 kB / 0.5024 GB, free: 14.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006226/0.1536, allocations: 0.5742 MB / 0.5029 GB, free: 13.42 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009251/0.1545, allocations: 0.7758 MB / 0.5037 GB, free: 12.42 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.1545, allocations: 4 kB / 0.5037 GB, free: 12.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001114/0.1556, allocations: 0.6697 MB / 0.5043 GB, free: 11.74 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.1557, allocations: 15.98 kB / 0.5044 GB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.825e-05/0.1557, allocations: 16 kB / 0.5044 GB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.781e-05/0.1557, allocations: 27.94 kB / 0.5044 GB, free: 11.68 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004319/0.1562, allocations: 147.7 kB / 0.5045 GB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.265e-05/0.1562, allocations: 27.92 kB / 0.5046 GB, free: 11.51 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003361/0.1565, allocations: 63.62 kB / 0.5046 GB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.1566, allocations: 44 kB / 0.5047 GB, free: 11.4 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.000418/0.157, allocations: 257.8 kB / 0.5049 GB, free: 11.14 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009114/0.1579, allocations: 0.4929 MB / 0.5054 GB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009043/0.1588, allocations: 474.5 kB / 0.5059 GB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.92e-05/0.1589, allocations: 12 kB / 0.5059 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.1589, allocations: 8.156 kB / 0.5059 GB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/0.1589, allocations: 7.984 kB / 0.5059 GB, free: 10.15 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009148/0.1598, allocations: 0.614 MB / 0.5065 GB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-05/0.1598, allocations: 4 kB / 0.5065 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003408/0.1601, allocations: 107.8 kB / 0.5066 GB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.1602, allocations: 4 kB / 0.5066 GB, free: 9.371 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-05/0.1602, allocations: 16 kB / 0.5066 GB, free: 9.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.665e-06/0.1602, allocations: 11.98 kB / 0.5066 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.1602, allocations: 4 kB / 0.5066 GB, free: 9.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.1614, allocations: 0.7868 MB / 0.5074 GB, free: 8.508 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.716e-05/0.1614, allocations: 51.62 kB / 0.5074 GB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.919e-05/0.1615, allocations: 20 kB / 0.5075 GB, free: 8.438 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.1617, allocations: 20 kB / 0.5075 GB, free: 8.418 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.797e-05/0.1618, allocations: 27.84 kB / 0.5075 GB, free: 8.391 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.363e-05/0.1618, allocations: 31.98 kB / 0.5075 GB, free: 8.359 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001467/0.162, allocations: 148.6 kB / 0.5077 GB, free: 8.215 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.162, allocations: 0 / 0.5077 GB, free: 8.215 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007948/0.1627, allocations: 159.6 kB / 0.5078 GB, free: 8.059 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.001062/0.1638, allocations: 385.6 kB / 0.5082 GB, free: 7.742 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001487/0.1653, allocations: 1.223 MB / 0.5094 GB, free: 6.5 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.1653, allocations: 0.5 kB / 0.5094 GB, free: 6.5 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000612/0.1659, allocations: 0.7648 MB / 0.5101 GB, free: 5.711 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001749/0.1677, allocations: 1.18 MB / 0.5113 GB, free: 4.488 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001721/0.1694, allocations: 0.9353 MB / 0.5122 GB, free: 3.5 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007663/0.1701, allocations: 0.8793 MB / 0.5131 GB, free: 2.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000189/0.1703, allocations: 72.16 kB / 0.5131 GB, free: 2.512 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.331e-05/0.1704, allocations: 39.42 kB / 0.5132 GB, free: 2.473 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1704, allocations: 0 / 0.5132 GB, free: 2.473 MB / 382.1 MB Notification: Performance of Templates: time 0.2457/0.4161, allocations: 7.362 MB / 0.5204 GB, free: 28.55 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 -Os -DOM_HAVE_PTHREADS -fPIC -falign-functions -mfpmath=sse -fno-dollars-in-identifiers -Wno-parentheses-equality "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc" -I. -DOPENMODELICA_XML_FROM_FILE_AT_RUNTIME -DOMC_MODEL_PREFIX=Modelica_DeviceDrivers_Modelica_DeviceDrivers_ClockedBlocks_Examples_TestSerialPackager_UDPWithoutReceiveThread -DOMC_NUM_MIXED_SYSTEMS=0 -DOMC_NUM_LINEAR_SYSTEMS=0 -DOMC_NUM_NONLINEAR_SYSTEMS=0 -DOMC_NDELAY_EXPRESSIONS=0 -DOMC_NVAR_STRING=0 -c -o Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.o Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:352:136: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[17]] /* packager.backwardPropagatedBufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._backwardPropagatedBufferSize; ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:365:118: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->integerVars[data->simulationInfo->integerVarsIndex[18]] /* packager.bufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._bufferSize; ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:378:118: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->booleanVars[data->simulationInfo->booleanVarsIndex[3]] /* packager.initialized DISCRETE */) = _omcQ_24CLKPRE._packager._initialized; ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:404:8: error: use of undeclared identifier '_omcQ_24CLKPRE' if((!_omcQ_24CLKPRE._packager._initialized)) ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:472:8: error: use of undeclared identifier '_omcQ_24CLKPRE' if((!_omcQ_24CLKPRE._packager._initialized)) ^ 5 errors generated. make: *** [<builtin>: Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.o] Error 1 [Calling os._exit(0), Time elapsed: 3.0521587692201138] Failed to read output from testmodel.py, exit status != 0: 0.4231462813913822 0.437354414 0.29394711100000004 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fdc93e917b0>