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.001052/0.001052, allocations: 101.5 kB / 16.31 MB, free: 6.391 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.001269/0.00127, allocations: 188.5 kB / 17.24 MB, free: 5.922 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.294/1.294, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.05356/0.05356, allocations: 12.05 MB / 303.1 MB, free: 3.203 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001242, allocations: 68.12 kB / 366.5 MB, free: 3.828 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.2088, allocations: 52.32 MB / 418.8 MB, free: 21.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.00414/0.2131, allocations: 2.279 MB / 421.1 MB, free: 18.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001382/0.2145, allocations: 0.9614 MB / 422 MB, free: 17.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001239/0.2146, allocations: 7.938 kB / 422 MB, free: 17.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002158/0.2148, allocations: 79.22 kB / 422.1 MB, free: 17.8 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001888/0.215, allocations: 55.52 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.0007357/0.2158, allocations: 311.9 kB / 422.5 MB, free: 17.44 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002883/0.2161, allocations: 383.8 kB / 422.8 MB, free: 17.06 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003059/0.2164, allocations: 264.1 kB / 423.1 MB, free: 16.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.2165, allocations: 187.4 kB / 423.3 MB, free: 16.62 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002002/0.2167, allocations: 226.9 kB / 423.5 MB, free: 16.4 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.214e-05/0.2168, allocations: 44 kB / 423.6 MB, free: 16.36 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002099/0.217, allocations: 195.8 kB / 423.7 MB, free: 16.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001027/0.2171, allocations: 151.6 kB / 423.9 MB, free: 16.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001189/0.2172, allocations: 210.7 kB / 424.1 MB, free: 15.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004364/0.2177, allocations: 0.6232 MB / 424.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.2177, allocations: 4 kB / 424.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2177, allocations: 3.938 kB / 424.7 MB, free: 15.18 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.2177, allocations: 0 / 424.7 MB, free: 15.18 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.001156/0.2189, allocations: 1.102 MB / 425.8 MB, free: 13.99 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.03e-05/0.2189, allocations: 8.031 kB / 425.8 MB, free: 13.98 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.9e-05/0.219, allocations: 52.38 kB / 425.9 MB, free: 13.93 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002513/0.2193, allocations: 327.5 kB / 426.2 MB, free: 13.57 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.189e-05/0.2194, allocations: 96.95 kB / 426.3 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.748e-05/0.2194, allocations: 44.38 kB / 426.3 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001255/0.2207, allocations: 1.145 MB / 427.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.2207, allocations: 0 / 427.5 MB, free: 12.22 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.2207, allocations: 20 kB / 427.5 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.517e-05/0.2208, allocations: 19.98 kB / 427.5 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004007/0.2212, allocations: 304 kB / 427.8 MB, free: 11.89 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009816/0.2222, allocations: 1.393 MB / 429.2 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008101/0.223, allocations: 1.34 MB / 430.6 MB, free: 8.824 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003796/0.2234, allocations: 412.7 kB / 431 MB, free: 8.391 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000107/0.2235, allocations: 49.17 kB / 431 MB, free: 8.344 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001605/0.2237, allocations: 169.3 kB / 431.2 MB, free: 8.145 MB / 302.1 MB Notification: Performance of pre-optimization done (n=78): time 2.084e-06/0.2237, allocations: 0 / 431.2 MB, free: 8.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=78): time 0.001055/0.2247, allocations: 0.8248 MB / 432 MB, free: 7.316 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001011/0.2249, allocations: 326.6 kB / 432.3 MB, free: 6.93 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000132/0.225, allocations: 216.1 kB / 432.5 MB, free: 6.711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.225, allocations: 37.7 kB / 432.6 MB, free: 6.668 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.03e-05/0.2251, allocations: 173.3 kB / 432.7 MB, free: 6.496 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.814e-05/0.2252, allocations: 75.41 kB / 432.8 MB, free: 6.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001066/0.2253, allocations: 134.7 kB / 432.9 MB, free: 6.285 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.169e-05/0.2253, allocations: 354.8 kB / 433.3 MB, free: 5.93 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.2255, allocations: 117.9 kB / 433.4 MB, free: 5.812 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002805/0.2258, allocations: 0.5781 MB / 434 MB, free: 5.008 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/0.2263, allocations: 0.7719 MB / 434.8 MB, free: 4.008 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.2263, allocations: 8 kB / 434.8 MB, free: 4 MB / 302.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0007174/0.2271, allocations: 0.6695 MB / 435.4 MB, free: 3.324 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.2271, allocations: 16.03 kB / 435.4 MB, free: 3.309 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.533e-05/0.2271, allocations: 20 kB / 435.5 MB, free: 3.289 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.803e-05/0.2271, allocations: 23.94 kB / 435.5 MB, free: 3.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003398/0.2275, allocations: 147.7 kB / 435.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.945e-05/0.2275, allocations: 27.92 kB / 435.7 MB, free: 3.094 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002452/0.2278, allocations: 59.53 kB / 435.7 MB, free: 3.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.854e-05/0.2278, allocations: 55.97 kB / 435.8 MB, free: 2.98 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.0002677/0.2281, allocations: 254.2 kB / 436 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005897/0.2287, allocations: 0.4955 MB / 436.5 MB, free: 2.227 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006279/0.2293, allocations: 463 kB / 437 MB, free: 1.77 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.348e-05/0.2294, allocations: 16.14 kB / 437 MB, free: 1.754 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2294, allocations: 4 kB / 437 MB, free: 1.75 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.2294, allocations: 4 kB / 437 MB, free: 1.746 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005206/0.2299, allocations: 0.6266 MB / 437.6 MB, free: 1.062 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-05/0.2299, allocations: 12.03 kB / 437.6 MB, free: 1.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002833/0.2302, allocations: 103.8 kB / 437.7 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.14e-06/0.2302, allocations: 8 kB / 437.7 MB, free: 0.9414 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.469e-05/0.2303, allocations: 27.98 kB / 437.8 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.2303, allocations: 4.25 kB / 437.8 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2303, allocations: 4 kB / 437.8 MB, free: 0.9062 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007792/0.2311, allocations: 0.7898 MB / 438.6 MB, free: 68 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.893e-05/0.2312, allocations: 124.5 kB / 438.7 MB, free: 15.93 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.461e-05/0.2312, allocations: 20 kB / 438.7 MB, free: 15.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.2314, allocations: 19.98 kB / 438.7 MB, free: 15.89 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.2315, allocations: 31.8 kB / 438.8 MB, free: 15.86 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.2316, allocations: 31.98 kB / 438.8 MB, free: 15.82 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001213/0.2317, allocations: 147.5 kB / 438.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2317, allocations: 0 / 438.9 MB, free: 15.68 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006888/0.2324, allocations: 163.7 kB / 439.1 MB, free: 15.52 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.0007666/0.2332, allocations: 371.1 kB / 439.5 MB, free: 15.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.2346, allocations: 1.328 MB / 440.8 MB, free: 13.87 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2346, allocations: 4.062 kB / 440.8 MB, free: 13.87 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005192/0.2351, allocations: 0.7726 MB / 441.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.2366, allocations: 1.207 MB / 442.8 MB, free: 11.82 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.2381, allocations: 0.9323 MB / 443.7 MB, free: 10.83 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000463/0.2386, allocations: 0.8831 MB / 444.6 MB, free: 9.922 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001461/0.2387, allocations: 64.23 kB / 444.6 MB, free: 9.859 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.431e-05/0.2388, allocations: 39.44 kB / 444.7 MB, free: 9.82 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.2388, allocations: 0 / 444.7 MB, free: 9.82 MB / 318.1 MB Notification: Performance of Templates: time 0.01248/0.2513, allocations: 6.819 MB / 451.5 MB, free: 3.078 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