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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 113.1 kB / 17.09 MB, free: 5.773 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001009/0.00101, allocations: 195 kB / 18.02 MB, free: 4.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.233/1.233, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05222/0.05222, allocations: 12.04 MB / 303.9 MB, free: 3.094 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 59.91 kB / 367.9 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1676/0.1688, allocations: 52.31 MB / 420.2 MB, free: 20.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003138/0.172, allocations: 2.279 MB / 422.5 MB, free: 18.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001187/0.1732, allocations: 0.9497 MB / 423.5 MB, free: 17.7 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1733, allocations: 15.88 kB / 423.5 MB, free: 17.69 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002079/0.1735, allocations: 78.02 kB / 423.6 MB, free: 17.61 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1737, allocations: 55.47 kB / 423.6 MB, free: 17.56 MB / 302.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.0006282/0.1743, allocations: 333.6 kB / 423.9 MB, free: 17.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.1746, allocations: 391.8 kB / 424.3 MB, free: 16.85 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002719/0.1749, allocations: 253 kB / 424.6 MB, free: 16.61 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001188/0.175, allocations: 187.3 kB / 424.8 MB, free: 16.42 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000188/0.1752, allocations: 215 kB / 425 MB, free: 16.21 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.815e-05/0.1753, allocations: 44 kB / 425 MB, free: 16.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.1755, allocations: 199.8 kB / 425.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.1756, allocations: 159.5 kB / 425.4 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.1757, allocations: 206.8 kB / 425.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004425/0.1762, allocations: 0.6541 MB / 426.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.1762, allocations: 0 / 426.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1762, allocations: 0 / 426.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.632e-06/0.1762, allocations: 0 / 426.2 MB, free: 14.96 MB / 302.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.001171/0.1774, allocations: 1.113 MB / 427.3 MB, free: 13.76 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.1774, allocations: 12.03 kB / 427.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.405e-05/0.1775, allocations: 52.38 kB / 427.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002942/0.1778, allocations: 332.1 kB / 427.7 MB, free: 13.34 MB / 302.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 8.131e-05/0.1779, allocations: 96.95 kB / 427.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.898e-05/0.178, allocations: 44.38 kB / 427.8 MB, free: 13.19 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001258/0.1792, allocations: 1.138 MB / 429 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.1792, allocations: 0 / 429 MB, free: 11.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.1793, allocations: 20 kB / 429 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.02e-05/0.1793, allocations: 19.98 kB / 429 MB, free: 11.95 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003928/0.1797, allocations: 307.9 kB / 429.3 MB, free: 11.65 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008796/0.1806, allocations: 1.393 MB / 430.7 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000752/0.1814, allocations: 1.348 MB / 432.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/0.1817, allocations: 414.5 kB / 432.5 MB, free: 8.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.788e-05/0.1818, allocations: 39.97 kB / 432.5 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001541/0.182, allocations: 170.1 kB / 432.7 MB, free: 7.906 MB / 302.1 MB Notification: Performance of pre-optimization done (n=78): time 2.234e-06/0.182, allocations: 4 kB / 432.7 MB, free: 7.902 MB / 302.1 MB Notification: Performance of matching and sorting (n=78): time 0.001041/0.1831, allocations: 0.8144 MB / 433.5 MB, free: 7.086 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.65e-05/0.1832, allocations: 318.7 kB / 433.8 MB, free: 6.707 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.1833, allocations: 220.1 kB / 434 MB, free: 6.484 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.1833, allocations: 38.91 kB / 434.1 MB, free: 6.441 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.1834, allocations: 169.3 kB / 434.2 MB, free: 6.273 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.588e-05/0.1834, allocations: 75.41 kB / 434.3 MB, free: 6.199 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.1836, allocations: 138.7 kB / 434.4 MB, free: 6.059 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.097e-05/0.1836, allocations: 354.7 kB / 434.8 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001536/0.1838, allocations: 117.9 kB / 434.9 MB, free: 5.586 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00027/0.1841, allocations: 0.5742 MB / 435.5 MB, free: 4.785 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004909/0.1846, allocations: 0.7758 MB / 436.2 MB, free: 3.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.1846, allocations: 4 kB / 436.2 MB, free: 3.777 MB / 302.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0007228/0.1853, allocations: 0.6772 MB / 436.9 MB, free: 3.094 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.1853, allocations: 12 kB / 436.9 MB, free: 3.082 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.1853, allocations: 16 kB / 437 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.498e-05/0.1854, allocations: 23.94 kB / 437 MB, free: 3.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.1857, allocations: 151.6 kB / 437.1 MB, free: 2.895 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/0.1857, allocations: 31.86 kB / 437.2 MB, free: 2.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002585/0.186, allocations: 59.53 kB / 437.2 MB, free: 2.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.186, allocations: 47.98 kB / 437.3 MB, free: 2.758 MB / 302.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.0002164/0.1863, allocations: 258.7 kB / 437.5 MB, free: 2.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005673/0.1868, allocations: 497.8 kB / 438 MB, free: 2.008 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006359/0.1875, allocations: 478.8 kB / 438.5 MB, free: 1.535 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.1875, allocations: 20.14 kB / 438.5 MB, free: 1.516 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.572e-05/0.1875, allocations: 4 kB / 438.5 MB, free: 1.512 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.616e-06/0.1876, allocations: 3.984 kB / 438.5 MB, free: 1.508 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000511/0.1881, allocations: 0.6227 MB / 439.1 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/0.1881, allocations: 15.92 kB / 439.1 MB, free: 0.8125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000276/0.1884, allocations: 99.89 kB / 439.2 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1884, allocations: 4 kB / 439.2 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.334e-05/0.1884, allocations: 27.97 kB / 439.3 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.05e-06/0.1884, allocations: 11.94 kB / 439.3 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.1884, allocations: 7.938 kB / 439.3 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008106/0.1893, allocations: 0.7782 MB / 440.1 MB, free: 15.83 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.457e-05/0.1893, allocations: 128.5 kB / 440.2 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.047e-05/0.1894, allocations: 20 kB / 440.2 MB, free: 15.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.1896, allocations: 15.98 kB / 440.2 MB, free: 15.65 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.1896, allocations: 27.92 kB / 440.2 MB, free: 15.62 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-05/0.1897, allocations: 31.98 kB / 440.3 MB, free: 15.59 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001122/0.1898, allocations: 147.5 kB / 440.4 MB, free: 15.45 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1898, allocations: 0 / 440.4 MB, free: 15.45 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006183/0.1904, allocations: 163.7 kB / 440.6 MB, free: 15.29 MB / 318.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.0006419/0.1911, allocations: 385 kB / 441 MB, free: 14.98 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001113/0.1922, allocations: 1.253 MB / 442.2 MB, free: 13.71 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.1922, allocations: 4.25 kB / 442.2 MB, free: 13.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004647/0.1927, allocations: 0.7648 MB / 443 MB, free: 12.91 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0014/0.1941, allocations: 1.209 MB / 444.2 MB, free: 11.66 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.1953, allocations: 0.9167 MB / 445.1 MB, free: 10.69 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004037/0.1957, allocations: 0.8792 MB / 446 MB, free: 9.785 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001322/0.1959, allocations: 64.8 kB / 446 MB, free: 9.723 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.237e-05/0.196, allocations: 43.42 kB / 446.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of SimCode: time 2.4e-07/0.196, allocations: 0 / 446.1 MB, free: 9.68 MB / 318.1 MB Notification: Performance of Templates: time 0.01061/0.2066, allocations: 6.814 MB / 452.9 MB, free: 2.941 MB / 318.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/bin/../include/omc/c" -I"/var/lib/jenkins1/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:96: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->integerVars[17] /* packager.backwardPropagatedBufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._backwardPropagatedBufferSize; ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:365:78: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->integerVars[18] /* packager.bufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._bufferSize; ^ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:378:78: error: use of undeclared identifier '_omcQ_24CLKPRE' (data->localData[0]->booleanVars[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: *** [: Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.o] Error 1