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.0009515/0.0009516, allocations: 112.4 kB / 17.09 MB, free: 6.004 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.0009315/0.0009315, allocations: 195 kB / 18.02 MB, free: 5.086 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.203/1.203, allocations: 222.9 MB / 241.7 MB, free: 15.19 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.05278/0.05278, allocations: 12.05 MB / 303.9 MB, free: 3.133 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001144, allocations: 67.88 kB / 367.9 MB, free: 3.07 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1854/0.1866, allocations: 52.32 MB / 420.2 MB, free: 20.95 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003041/0.1897, allocations: 2.282 MB / 422.5 MB, free: 18.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.1909, allocations: 0.9497 MB / 423.5 MB, free: 17.72 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001131/0.191, allocations: 11.94 kB / 423.5 MB, free: 17.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002044/0.1912, allocations: 89.81 kB / 423.6 MB, free: 17.62 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.1914, allocations: 47.53 kB / 423.6 MB, free: 17.58 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.0006393/0.1921, allocations: 323.1 kB / 423.9 MB, free: 17.26 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.1923, allocations: 391.8 kB / 424.3 MB, free: 16.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002648/0.1926, allocations: 250 kB / 424.6 MB, free: 16.64 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1927, allocations: 187.3 kB / 424.7 MB, free: 16.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001798/0.1929, allocations: 227 kB / 425 MB, free: 16.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.593e-05/0.193, allocations: 44 kB / 425 MB, free: 16.19 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001976/0.1932, allocations: 195.8 kB / 425.2 MB, free: 16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.1933, allocations: 147.6 kB / 425.3 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001217/0.1934, allocations: 206.8 kB / 425.5 MB, free: 15.65 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004398/0.1938, allocations: 0.658 MB / 426.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1939, allocations: 0 / 426.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.1939, allocations: 0 / 426.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.232e-06/0.1939, allocations: 0 / 426.2 MB, free: 14.99 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.001099/0.195, allocations: 1.113 MB / 427.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.556e-05/0.195, allocations: 11.97 kB / 427.3 MB, free: 13.78 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.096e-05/0.1951, allocations: 52.38 kB / 427.4 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.1954, allocations: 340 kB / 427.7 MB, free: 13.36 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 7.866e-05/0.1955, allocations: 99.14 kB / 427.8 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.597e-05/0.1955, allocations: 44.38 kB / 427.9 MB, free: 13.21 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.1968, allocations: 1.138 MB / 429 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.1968, allocations: 0 / 429 MB, free: 12.02 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.724e-05/0.1968, allocations: 20 kB / 429 MB, free: 12 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.767e-05/0.1969, allocations: 19.98 kB / 429 MB, free: 11.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.1973, allocations: 304 kB / 429.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001057/0.1984, allocations: 1.389 MB / 430.7 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000776/0.1991, allocations: 1.348 MB / 432.1 MB, free: 8.613 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003823/0.1995, allocations: 412.7 kB / 432.5 MB, free: 8.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.746e-05/0.1996, allocations: 43.97 kB / 432.5 MB, free: 8.137 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.1998, allocations: 172.8 kB / 432.7 MB, free: 7.934 MB / 302.1 MB Notification: Performance of pre-optimization done (n=78): time 2.535e-06/0.1998, allocations: 0 / 432.7 MB, free: 7.934 MB / 302.1 MB Notification: Performance of matching and sorting (n=78): time 0.001086/0.2009, allocations: 0.8023 MB / 433.5 MB, free: 7.129 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.448e-05/0.201, allocations: 335.3 kB / 433.8 MB, free: 6.734 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.2012, allocations: 216.1 kB / 434 MB, free: 6.516 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.121e-05/0.2012, allocations: 37.7 kB / 434.1 MB, free: 6.473 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.2013, allocations: 174.5 kB / 434.2 MB, free: 6.301 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.975e-05/0.2013, allocations: 75.41 kB / 434.3 MB, free: 6.227 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001146/0.2014, allocations: 134.7 kB / 434.4 MB, free: 6.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.155e-05/0.2015, allocations: 346.8 kB / 434.8 MB, free: 5.742 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.2017, allocations: 125.9 kB / 434.9 MB, free: 5.617 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003012/0.202, allocations: 0.5781 MB / 435.5 MB, free: 4.812 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005263/0.2025, allocations: 0.7758 MB / 436.2 MB, free: 3.809 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.2025, allocations: 4 kB / 436.3 MB, free: 3.805 MB / 302.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0008172/0.2034, allocations: 0.6733 MB / 436.9 MB, free: 3.125 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.436e-05/0.2034, allocations: 12.19 kB / 436.9 MB, free: 3.113 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.553e-05/0.2034, allocations: 20 kB / 437 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.01e-05/0.2035, allocations: 27.94 kB / 437 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000355/0.2038, allocations: 143.8 kB / 437.1 MB, free: 2.926 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.108e-05/0.2038, allocations: 35.8 kB / 437.2 MB, free: 2.891 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.2041, allocations: 59.78 kB / 437.2 MB, free: 2.832 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.015e-05/0.2042, allocations: 47.98 kB / 437.3 MB, free: 2.785 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.0002586/0.2044, allocations: 262.2 kB / 437.5 MB, free: 2.523 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006064/0.2051, allocations: 497.8 kB / 438 MB, free: 2.031 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006935/0.2058, allocations: 475.2 kB / 438.5 MB, free: 1.562 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-05/0.2058, allocations: 15.98 kB / 438.5 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.2058, allocations: 0 / 438.5 MB, free: 1.547 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.2058, allocations: 7.984 kB / 438.5 MB, free: 1.539 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005553/0.2064, allocations: 0.6267 MB / 439.1 MB, free: 0.8555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.2064, allocations: 8.125 kB / 439.1 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002831/0.2067, allocations: 103.8 kB / 439.2 MB, free: 0.7461 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.2067, allocations: 11.98 kB / 439.2 MB, free: 0.7344 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.2067, allocations: 23.98 kB / 439.3 MB, free: 0.7109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.709e-06/0.2067, allocations: 4 kB / 439.3 MB, free: 0.707 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2068, allocations: 4 kB / 439.3 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008271/0.2076, allocations: 0.7897 MB / 440.1 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.904e-05/0.2077, allocations: 128.5 kB / 440.2 MB, free: 15.72 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.2077, allocations: 20 kB / 440.2 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001638/0.2079, allocations: 19.98 kB / 440.2 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.689e-05/0.208, allocations: 19.86 kB / 440.2 MB, free: 15.66 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.424e-05/0.208, allocations: 35.98 kB / 440.3 MB, free: 15.62 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001101/0.2081, allocations: 151.5 kB / 440.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2081, allocations: 0 / 440.4 MB, free: 15.48 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006655/0.2088, allocations: 163.7 kB / 440.6 MB, free: 15.32 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.0006929/0.2095, allocations: 374.3 kB / 441 MB, free: 15 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00116/0.2107, allocations: 1.241 MB / 442.2 MB, free: 13.75 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.2107, allocations: 4 kB / 442.2 MB, free: 13.74 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004497/0.2112, allocations: 0.7776 MB / 443 MB, free: 12.94 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.2127, allocations: 1.195 MB / 444.2 MB, free: 11.7 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001293/0.214, allocations: 0.9322 MB / 445.1 MB, free: 10.71 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.2144, allocations: 0.8753 MB / 446 MB, free: 9.812 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001395/0.2146, allocations: 64.23 kB / 446 MB, free: 9.75 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.708e-05/0.2146, allocations: 39.42 kB / 446.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of SimCode: time 2.2e-07/0.2146, allocations: 0 / 446.1 MB, free: 9.711 MB / 318.1 MB Notification: Performance of Templates: time 0.01099/0.2256, allocations: 6.82 MB / 452.9 MB, free: 2.973 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