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.001142/0.001142, allocations: 106.8 kB / 16.31 MB, free: 5.879 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.001215/0.001215, allocations: 192.6 kB / 17.24 MB, free: 5.539 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.18 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.05622/0.05622, allocations: 12.05 MB / 303.1 MB, free: 3.195 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001515/0.001515, allocations: 67.89 kB / 366.5 MB, free: 3.812 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2688, allocations: 52.34 MB / 418.8 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003572/0.2724, allocations: 2.265 MB / 421.1 MB, free: 18.84 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001385/0.2739, allocations: 0.9536 MB / 422 MB, free: 17.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001412/0.274, allocations: 15.84 kB / 422 MB, free: 17.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002417/0.2743, allocations: 83.19 kB / 422.1 MB, free: 17.79 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.2745, allocations: 47.53 kB / 422.2 MB, free: 17.74 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.0007105/0.2752, allocations: 323.1 kB / 422.5 MB, free: 17.42 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002748/0.2755, allocations: 379.9 kB / 422.9 MB, free: 17.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002864/0.2758, allocations: 263 kB / 423.1 MB, free: 16.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000121/0.2759, allocations: 187.4 kB / 423.3 MB, free: 16.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001939/0.2761, allocations: 230.9 kB / 423.5 MB, free: 16.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.346e-05/0.2762, allocations: 40 kB / 423.6 MB, free: 16.34 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002608/0.2764, allocations: 199.8 kB / 423.7 MB, free: 16.14 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001222/0.2766, allocations: 151.6 kB / 423.9 MB, free: 16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001339/0.2767, allocations: 214.7 kB / 424.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004989/0.2772, allocations: 0.6193 MB / 424.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.2772, allocations: 4 kB / 424.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.2772, allocations: 0 / 424.7 MB, free: 15.16 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.2772, allocations: 3.938 kB / 424.7 MB, free: 15.16 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.001196/0.2784, allocations: 1.102 MB / 425.8 MB, free: 13.97 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.2785, allocations: 8.031 kB / 425.8 MB, free: 13.96 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.463e-05/0.2786, allocations: 48.38 kB / 425.9 MB, free: 13.91 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.2789, allocations: 331.5 kB / 426.2 MB, free: 13.55 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 9.337e-05/0.279, allocations: 96.95 kB / 426.3 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.49e-05/0.279, allocations: 44.38 kB / 426.4 MB, free: 13.4 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001325/0.2804, allocations: 1.138 MB / 427.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.2804, allocations: 0 / 427.5 MB, free: 12.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.2804, allocations: 20 kB / 427.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.2805, allocations: 23.97 kB / 427.5 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004058/0.2809, allocations: 308 kB / 427.8 MB, free: 11.87 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009274/0.2818, allocations: 1.389 MB / 429.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008236/0.2827, allocations: 1.351 MB / 430.6 MB, free: 8.801 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003806/0.283, allocations: 414.4 kB / 431 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.108e-05/0.2831, allocations: 43.97 kB / 431 MB, free: 8.324 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001622/0.2833, allocations: 170.1 kB / 431.2 MB, free: 8.121 MB / 302.1 MB Notification: Performance of pre-optimization done (n=78): time 2.425e-06/0.2833, allocations: 1.203 kB / 431.2 MB, free: 8.121 MB / 302.1 MB Notification: Performance of matching and sorting (n=78): time 0.001105/0.2844, allocations: 0.8132 MB / 432 MB, free: 7.305 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001165/0.2846, allocations: 334.6 kB / 432.3 MB, free: 6.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.2847, allocations: 212.1 kB / 432.5 MB, free: 6.695 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.163e-05/0.2848, allocations: 41.69 kB / 432.6 MB, free: 6.648 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.345e-05/0.2848, allocations: 169.4 kB / 432.7 MB, free: 6.48 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.2849, allocations: 75.41 kB / 432.8 MB, free: 6.406 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/0.285, allocations: 134.7 kB / 432.9 MB, free: 6.27 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.896e-05/0.2851, allocations: 346.8 kB / 433.3 MB, free: 5.922 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.2852, allocations: 129.9 kB / 433.4 MB, free: 5.793 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003429/0.2856, allocations: 0.5742 MB / 434 MB, free: 4.992 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006139/0.2862, allocations: 0.776 MB / 434.8 MB, free: 3.988 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.732e-06/0.2862, allocations: 8 kB / 434.8 MB, free: 3.98 MB / 302.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0007661/0.287, allocations: 0.6732 MB / 435.4 MB, free: 3.301 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.287, allocations: 16.25 kB / 435.5 MB, free: 3.285 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.2871, allocations: 16 kB / 435.5 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.251e-05/0.2871, allocations: 27.94 kB / 435.5 MB, free: 3.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000334/0.2874, allocations: 147.7 kB / 435.6 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/0.2875, allocations: 31.86 kB / 435.7 MB, free: 3.066 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002541/0.2877, allocations: 59.53 kB / 435.7 MB, free: 3.008 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.57e-05/0.2878, allocations: 43.98 kB / 435.8 MB, free: 2.965 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.000305/0.2881, allocations: 258.2 kB / 436 MB, free: 2.707 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006876/0.2888, allocations: 494.6 kB / 436.5 MB, free: 2.219 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007255/0.2895, allocations: 467.3 kB / 437 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.591e-05/0.2896, allocations: 15.98 kB / 437 MB, free: 1.738 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.114e-06/0.2896, allocations: 8.156 kB / 437 MB, free: 1.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.2896, allocations: 8.234 kB / 437 MB, free: 1.723 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006335/0.2902, allocations: 0.6266 MB / 437.6 MB, free: 1.039 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.409e-05/0.2902, allocations: 8 kB / 437.6 MB, free: 1.031 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002949/0.2905, allocations: 103.8 kB / 437.7 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.2906, allocations: 4 kB / 437.7 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.74e-05/0.2906, allocations: 31.98 kB / 437.8 MB, free: 0.8945 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/0.2906, allocations: 4 kB / 437.8 MB, free: 0.8906 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.2906, allocations: 4 kB / 437.8 MB, free: 0.8867 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008171/0.2914, allocations: 0.7836 MB / 438.6 MB, free: 56 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.993e-05/0.2916, allocations: 124.5 kB / 438.7 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.96e-05/0.2916, allocations: 28.12 kB / 438.7 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000156/0.2918, allocations: 12 kB / 438.7 MB, free: 15.88 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.702e-05/0.2919, allocations: 31.84 kB / 438.8 MB, free: 15.84 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.64e-05/0.2919, allocations: 35.98 kB / 438.8 MB, free: 15.81 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001254/0.2921, allocations: 147.4 kB / 438.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2921, allocations: 0 / 438.9 MB, free: 15.66 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006755/0.2928, allocations: 163.7 kB / 439.1 MB, free: 15.5 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.0006979/0.2935, allocations: 363.6 kB / 439.5 MB, free: 15.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001436/0.2949, allocations: 1.328 MB / 440.8 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2949, allocations: 4.125 kB / 440.8 MB, free: 13.86 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000536/0.2955, allocations: 0.7729 MB / 441.6 MB, free: 13.06 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001596/0.2971, allocations: 1.219 MB / 442.8 MB, free: 11.8 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001452/0.2985, allocations: 0.9362 MB / 443.7 MB, free: 10.8 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004369/0.299, allocations: 0.8792 MB / 444.6 MB, free: 9.898 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001597/0.2992, allocations: 60.25 kB / 444.6 MB, free: 9.84 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.2992, allocations: 43.42 kB / 444.7 MB, free: 9.797 MB / 318.1 MB Notification: Performance of SimCode: time 3.31e-07/0.2992, allocations: 0 / 444.7 MB, free: 9.797 MB / 318.1 MB Notification: Performance of Templates: time 0.01136/0.3106, allocations: 6.816 MB / 451.5 MB, free: 3.062 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/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: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