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.001006/0.001006, allocations: 106.5 kB / 16.45 MB, free: 6.441 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.001171/0.001171, allocations: 186.4 kB / 17.38 MB, free: 5.656 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.22/1.22, allocations: 222.9 MB / 241.1 MB, free: 15.04 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.05225/0.05225, allocations: 12.05 MB / 303.3 MB, free: 3.059 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 63.91 kB / 420.1 MB, free: 17.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07872/0.07985, allocations: 52.32 MB / 472.4 MB, free: 12.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003946/0.08384, allocations: 2.28 MB / 474.7 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001726/0.08559, allocations: 0.9419 MB / 475.6 MB, free: 9.582 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001923/0.0858, allocations: 15.88 kB / 475.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.08608, allocations: 79.25 kB / 475.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002437/0.08635, allocations: 55.47 kB / 475.8 MB, free: 9.434 MB / 350.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.0008956/0.08726, allocations: 338.2 kB / 476.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000431/0.0877, allocations: 395.8 kB / 476.5 MB, free: 8.719 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003842/0.08809, allocations: 251 kB / 476.7 MB, free: 8.469 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00023/0.08833, allocations: 179.4 kB / 476.9 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002959/0.08863, allocations: 227 kB / 477.1 MB, free: 8.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.8e-05/0.08871, allocations: 44 kB / 477.2 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002982/0.08901, allocations: 199.8 kB / 477.4 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001383/0.08916, allocations: 147.6 kB / 477.5 MB, free: 7.688 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001689/0.08934, allocations: 214.7 kB / 477.7 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007226/0.09006, allocations: 0.6613 MB / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.09008, allocations: 0 / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.09009, allocations: 0 / 478.4 MB, free: 6.812 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.112e-05/0.0901, allocations: 0 / 478.4 MB, free: 6.812 MB / 350.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.00159/0.0917, allocations: 1.122 MB / 479.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.09174, allocations: 12.03 kB / 479.5 MB, free: 5.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001255/0.09187, allocations: 52.61 kB / 479.6 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.09228, allocations: 347.9 kB / 479.9 MB, free: 5.16 MB / 350.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.0001108/0.0924, allocations: 96.95 kB / 480 MB, free: 5.051 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/0.09246, allocations: 44.38 kB / 480 MB, free: 5.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001636/0.0941, allocations: 1.146 MB / 481.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.09413, allocations: 0 / 481.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.326e-05/0.09418, allocations: 24 kB / 481.2 MB, free: 3.785 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.23e-05/0.09422, allocations: 15.98 kB / 481.2 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004992/0.09473, allocations: 313.8 kB / 481.5 MB, free: 3.465 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001283/0.09602, allocations: 1.378 MB / 482.9 MB, free: 2 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.09719, allocations: 1.345 MB / 484.2 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004984/0.0977, allocations: 410.1 kB / 484.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001147/0.09782, allocations: 47.92 kB / 484.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002116/0.09804, allocations: 170.1 kB / 484.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 3.497e-06/0.09805, allocations: 0 / 484.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.001336/0.09939, allocations: 0.8165 MB / 485.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001648/0.09957, allocations: 326.7 kB / 486 MB, free: 14.53 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001915/0.09977, allocations: 220.1 kB / 486.2 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.09982, allocations: 37.7 kB / 486.2 MB, free: 14.26 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.8e-05/0.09992, allocations: 169.7 kB / 486.4 MB, free: 14.09 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.875e-05/0.1, allocations: 79.56 kB / 486.5 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001586/0.1002, allocations: 134.7 kB / 486.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1003, allocations: 358.7 kB / 487 MB, free: 13.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001894/0.1005, allocations: 121.9 kB / 487.1 MB, free: 13.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004453/0.1009, allocations: 0.5742 MB / 487.7 MB, free: 12.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007434/0.1017, allocations: 0.7681 MB / 488.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.1017, allocations: 8 kB / 488.4 MB, free: 11.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0009274/0.1027, allocations: 0.6737 MB / 489.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1027, allocations: 16.03 kB / 489.1 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.804e-05/0.1027, allocations: 20 kB / 489.1 MB, free: 10.87 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.755e-05/0.1027, allocations: 23.94 kB / 489.2 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.1031, allocations: 147.7 kB / 489.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.472e-05/0.1032, allocations: 31.86 kB / 489.3 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002726/0.1034, allocations: 63.88 kB / 489.4 MB, free: 10.61 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.271e-05/0.1035, allocations: 51.98 kB / 489.5 MB, free: 10.56 MB / 366.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.0002753/0.1038, allocations: 261.6 kB / 489.7 MB, free: 10.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007202/0.1045, allocations: 0.4928 MB / 490.2 MB, free: 9.801 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007445/0.1053, allocations: 463.4 kB / 490.7 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.597e-05/0.1053, allocations: 15.98 kB / 490.7 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.1053, allocations: 0 / 490.7 MB, free: 9.328 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/0.1053, allocations: 12.14 kB / 490.7 MB, free: 9.316 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006631/0.106, allocations: 0.6306 MB / 491.3 MB, free: 8.629 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.435e-05/0.106, allocations: 8 kB / 491.3 MB, free: 8.621 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.1063, allocations: 99.89 kB / 491.4 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.123e-06/0.1063, allocations: 4 kB / 491.4 MB, free: 8.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.907e-05/0.1064, allocations: 23.98 kB / 491.5 MB, free: 8.496 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.1064, allocations: 7.938 kB / 491.5 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.1064, allocations: 8 kB / 491.5 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009367/0.1074, allocations: 0.7899 MB / 492.3 MB, free: 7.645 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.762e-05/0.1074, allocations: 124.7 kB / 492.4 MB, free: 7.504 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.004e-05/0.1075, allocations: 23.98 kB / 492.4 MB, free: 7.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.1077, allocations: 19.98 kB / 492.4 MB, free: 7.461 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.1077, allocations: 19.92 kB / 492.4 MB, free: 7.441 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-05/0.1078, allocations: 31.98 kB / 492.5 MB, free: 7.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000109/0.1079, allocations: 151.5 kB / 492.6 MB, free: 7.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1079, allocations: 0 / 492.6 MB, free: 7.262 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006534/0.1086, allocations: 163.6 kB / 492.8 MB, free: 7.102 MB / 366.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.0006646/0.1092, allocations: 383.2 kB / 493.2 MB, free: 6.785 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.1104, allocations: 1.242 MB / 494.4 MB, free: 5.52 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1104, allocations: 0 / 494.4 MB, free: 5.52 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000458/0.1109, allocations: 0.7728 MB / 495.2 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001416/0.1123, allocations: 1.222 MB / 496.4 MB, free: 3.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001282/0.1136, allocations: 0.935 MB / 497.3 MB, free: 2.473 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.114, allocations: 0.8759 MB / 498.2 MB, free: 1.57 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001456/0.1141, allocations: 64.23 kB / 498.3 MB, free: 1.504 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.827e-05/0.1142, allocations: 39.42 kB / 498.3 MB, free: 1.465 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1142, allocations: 0 / 498.3 MB, free: 1.465 MB / 366.1 MB Notification: Performance of Templates: time 0.01199/0.1262, allocations: 6.944 MB / 0.4934 GB, free: 10.6 MB / 382.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