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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 85.06 kB / 9.989 MB, free: 0.6992 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001946/0.00308, allocations: 452 kB / 10.43 MB, free: 264 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001165/0.001165, allocations: 157.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001674/0.002838, allocations: 483.5 kB / 11.8 MB, free: 2.363 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.925/0.925, allocations: 177.2 MB / 189.7 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0804/1.005, allocations: 53.68 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo): time 0.03587/0.03587, allocations: 9.16 MB / 253.3 MB, free: 5.996 MB / 250.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/EmbeddedTargets/STM32F4/Functions/HAL.mo:5:3-11:14:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/OperatingSystem/DynamicArray.mo:6:3-94:18:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/Utilities/Functions.mo:1041:3-1062:27:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Incubate/Utilities/Functions.mo:1064:3-1092:25:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.005935/0.0418, allocations: 3.447 MB / 256.8 MB, free: 2.551 MB / 250.7 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 258.1 MB, free: 1.25 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.809e-05, allocations: 6.312 kB / 258.1 MB, free: 1.242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003075/0.003093, allocations: 2.493 MB / 260.6 MB, free: 14.74 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.004219, allocations: 0.9802 MB / 261.5 MB, free: 13.76 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001067/0.004326, allocations: 11.88 kB / 261.5 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001454/0.004471, allocations: 91.11 kB / 261.6 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.00458, allocations: 59.45 kB / 261.7 MB, free: 13.6 MB / 266.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-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.2.0-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.2.0-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.2.0-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.2.0-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.2.0-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.2.0-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.2.0-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.2.0-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.0004684/0.005049, allocations: 322.7 kB / 262 MB, free: 13.28 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000276/0.005325, allocations: 375.8 kB / 262.4 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001921/0.005517, allocations: 165.6 kB / 262.5 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003069/0.005824, allocations: 275.4 kB / 262.8 MB, free: 12.48 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.005992, allocations: 171.5 kB / 263 MB, free: 12.31 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.407e-05/0.006037, allocations: 44 kB / 263 MB, free: 12.27 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.006254, allocations: 223.5 kB / 263.2 MB, free: 12.05 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 9.174e-05/0.006346, allocations: 115.6 kB / 263.3 MB, free: 11.94 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.338e-05/0.006419, allocations: 99.75 kB / 263.4 MB, free: 11.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003934/0.006813, allocations: 486.1 kB / 263.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/0.006821, allocations: 0 / 263.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.006822, allocations: 0 / 263.9 MB, free: 11.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.006831, allocations: 0 / 263.9 MB, free: 11.36 MB / 266.7 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.0009821/0.007813, allocations: 1.054 MB / 265 MB, free: 10.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.007843, allocations: 12.62 kB / 265 MB, free: 10.23 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.072e-05/0.007924, allocations: 64.89 kB / 265 MB, free: 10.17 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.00814, allocations: 233.1 kB / 265.3 MB, free: 9.918 MB / 266.7 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.391e-05/0.008214, allocations: 104.9 kB / 265.4 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.293e-05/0.008257, allocations: 48.38 kB / 265.4 MB, free: 9.754 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009527/0.009209, allocations: 0.8191 MB / 266.2 MB, free: 8.859 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.009221, allocations: 8.062 kB / 266.3 MB, free: 8.852 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.015e-05/0.009252, allocations: 23.94 kB / 266.3 MB, free: 8.828 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.99e-05/0.009282, allocations: 19.98 kB / 266.3 MB, free: 8.809 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.00943, allocations: 132.8 kB / 266.4 MB, free: 8.68 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/0.01003, allocations: 1.063 MB / 267.5 MB, free: 7.562 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003729/0.01041, allocations: 448.9 kB / 267.9 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.01057, allocations: 200.8 kB / 268.1 MB, free: 6.801 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.803e-05/0.01065, allocations: 39.98 kB / 268.2 MB, free: 6.762 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001235/0.01077, allocations: 187.9 kB / 268.3 MB, free: 6.535 MB / 266.7 MB Notification: Performance of pre-optimization done (n=78): time 1.963e-06/0.01077, allocations: 0 / 268.3 MB, free: 6.535 MB / 266.7 MB Notification: Performance of matching and sorting (n=78): time 0.0004348/0.01121, allocations: 402.4 kB / 268.7 MB, free: 6.141 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.01132, allocations: 330.6 kB / 269.1 MB, free: 5.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.01143, allocations: 214.3 kB / 269.3 MB, free: 5.527 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.01146, allocations: 45.69 kB / 269.3 MB, free: 5.477 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.707e-05/0.01151, allocations: 149.7 kB / 269.5 MB, free: 5.328 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.01155, allocations: 59.53 kB / 269.5 MB, free: 5.27 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.01161, allocations: 69.64 kB / 269.6 MB, free: 5.195 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.424e-05/0.01168, allocations: 338.7 kB / 269.9 MB, free: 4.855 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.772e-05/0.01171, allocations: 20.69 kB / 269.9 MB, free: 4.836 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.001e-05/0.01178, allocations: 129.2 kB / 270.1 MB, free: 4.664 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.01191, allocations: 180.6 kB / 270.2 MB, free: 4.441 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01192, allocations: 0 / 270.2 MB, free: 4.441 MB / 266.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0001523/0.01207, allocations: 169.2 kB / 270.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.01208, allocations: 8.406 kB / 270.4 MB, free: 4.262 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.01209, allocations: 8 kB / 270.4 MB, free: 4.254 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.073e-05/0.0121, allocations: 4 kB / 270.4 MB, free: 4.25 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.862e-05/0.0122, allocations: 47.91 kB / 270.5 MB, free: 4.203 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.134e-06/0.01221, allocations: 15.91 kB / 270.5 MB, free: 4.188 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.032e-05/0.01227, allocations: 20.14 kB / 270.5 MB, free: 4.168 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.01228, allocations: 8 kB / 270.5 MB, free: 4.16 MB / 266.7 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: 15 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.trigger.y,$whenCondition2,pre_trigger.y,$whenCondition1,trigger.y,integerExpression.y,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,uDPSend.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.initialized,packager.pkgOut.autoPkgBitSize,getInteger.pkgIn.userPkgBitSize) * 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 (26): * Single equations (assignments): 25 * 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.0001362/0.01242, allocations: 178.6 kB / 270.7 MB, free: 3.973 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/0.01263, allocations: 230.4 kB / 270.9 MB, free: 3.742 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.01293, allocations: 283.7 kB / 271.2 MB, free: 3.461 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.741e-05/0.01295, allocations: 12 kB / 271.2 MB, free: 3.449 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01295, allocations: 4 kB / 271.2 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.01296, allocations: 7.984 kB / 271.2 MB, free: 3.438 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.01328, allocations: 358.2 kB / 271.6 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/0.01329, allocations: 4 kB / 271.6 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002028/0.0135, allocations: 119.8 kB / 271.7 MB, free: 2.941 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.87e-05/0.01352, allocations: 43.64 kB / 271.7 MB, free: 2.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.949e-06/0.01353, allocations: 12.14 kB / 271.7 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.01355, allocations: 20 kB / 271.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.01356, allocations: 7.938 kB / 271.8 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.01356, allocations: 7.938 kB / 271.8 MB, free: 2.852 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.01372, allocations: 275.6 kB / 272 MB, free: 2.539 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.01376, allocations: 24 kB / 272.1 MB, free: 2.516 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.287e-05/0.01384, allocations: 16 kB / 272.1 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.441e-05/0.01387, allocations: 23.91 kB / 272.1 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.778e-05/0.0139, allocations: 19.98 kB / 272.1 MB, free: 2.457 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.078e-05/0.01394, allocations: 58.22 kB / 272.2 MB, free: 2.398 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01394, allocations: 8 kB / 272.2 MB, free: 2.391 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002781/0.01422, allocations: 135.6 kB / 272.3 MB, free: 2.258 MB / 266.7 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.0007138/0.01493, allocations: 461.6 kB / 272.8 MB, free: 1.895 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006591/0.01559, allocations: 0.8851 MB / 273.7 MB, free: 0.9844 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/0.0156, allocations: 4 kB / 273.7 MB, free: 0.9805 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002368/0.01584, allocations: 0.7462 MB / 274.4 MB, free: 212 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.08469/0.1005, allocations: 1.497 MB / 275.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00084/0.1014, allocations: 0.784 MB / 276.7 MB, free: 10.78 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001133/0.1015, allocations: 168.9 kB / 276.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.249e-05/0.1016, allocations: 32.62 kB / 276.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.1017, allocations: 127.4 kB / 277 MB, free: 10.66 MB / 266.7 MB Notification: Performance of SimCode: time 8.31e-07/0.1017, allocations: 0 / 277 MB, free: 10.66 MB / 266.7 MB Notification: Performance of Templates: time 0.00922/0.1109, allocations: 7.299 MB / 284.3 MB, free: 9.523 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile clang -O2 -DOM_HAVE_PTHREADS -fPIC -DOM_HAVE_PTHREADS "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.2.0-master/Resources/Include" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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:364:96: error: use of undeclared identifier '_omcQ_24CLKPRE' 364 | (data->localData[0]->integerVars[17] /* packager.backwardPropagatedBufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._backwardPropagatedBufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:377:78: error: use of undeclared identifier '_omcQ_24CLKPRE' 377 | (data->localData[0]->integerVars[18] /* packager.bufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._bufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:390:78: error: use of undeclared identifier '_omcQ_24CLKPRE' 390 | (data->localData[0]->booleanVars[3] /* packager.initialized DISCRETE */) = _omcQ_24CLKPRE._packager._initialized; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:424:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 424 | if((!_omcQ_24CLKPRE._packager._initialized)) | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.c:491:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 491 | if((!_omcQ_24CLKPRE._packager._initialized)) | ^~~~~~~~~~~~~~ 5 errors generated. make: *** [: Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.o] Error 1 [Calling os._exit(0), Time elapsed: 1.535729338414967]