Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.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.001003/0.001003, allocations: 72.19 kB / 9.911 MB, free: 0.7773 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001157/0.002161, allocations: 447.8 kB / 10.35 MB, free: 348 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.0007362/0.0007362, allocations: 157.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001441/0.002177, allocations: 467.6 kB / 11.69 MB, free: 2.477 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.9/0.9, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07642/0.9765, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.03564/0.03564, allocations: 9.166 MB / 253.1 MB, free: 6.098 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.005804/0.04145, allocations: 3.44 MB / 256.6 MB, free: 2.656 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_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 257.9 MB, free: 1.371 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.542e-05/1.676e-05, allocations: 2.312 kB / 257.9 MB, free: 1.367 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.003407/0.003424, allocations: 3.31 MB / 261.2 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001293/0.004717, allocations: 1.011 MB / 262.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.004847, allocations: 19.81 kB / 262.2 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.005031, allocations: 91.14 kB / 262.3 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.005153, allocations: 47.47 kB / 262.3 MB, free: 12.86 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.0005782/0.005731, allocations: 330.8 kB / 262.7 MB, free: 12.54 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.006084, allocations: 439.6 kB / 263.1 MB, free: 12.11 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.006309, allocations: 186.9 kB / 263.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002397/0.006549, allocations: 316.3 kB / 263.6 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002102/0.006759, allocations: 203.3 kB / 263.8 MB, free: 11.41 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.00681, allocations: 52 kB / 263.8 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002657/0.007076, allocations: 223.6 kB / 264.1 MB, free: 11.14 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001025/0.007178, allocations: 123.6 kB / 264.2 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 9.524e-05/0.007274, allocations: 111.7 kB / 264.3 MB, free: 10.91 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004754/0.007749, allocations: 0.533 MB / 264.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.354e-05/0.007763, allocations: 0 / 264.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.007763, allocations: 0 / 264.8 MB, free: 10.38 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.794e-05/0.007781, allocations: 0 / 264.8 MB, free: 10.38 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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001186/0.008967, allocations: 1.147 MB / 266 MB, free: 9.16 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.083e-05/0.008998, allocations: 16.62 kB / 266 MB, free: 9.145 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.146e-05/0.009089, allocations: 80.88 kB / 266.1 MB, free: 9.066 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.009378, allocations: 293.3 kB / 266.3 MB, free: 8.75 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.737e-05/0.009456, allocations: 96.95 kB / 266.4 MB, free: 8.645 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.009507, allocations: 52.38 kB / 266.5 MB, free: 8.594 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007959/0.0103, allocations: 0.9525 MB / 267.4 MB, free: 7.562 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.01032, allocations: 3.938 kB / 267.4 MB, free: 7.559 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.01035, allocations: 20 kB / 267.5 MB, free: 7.539 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.312e-05/0.01038, allocations: 20 kB / 267.5 MB, free: 7.52 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001698/0.01055, allocations: 150.5 kB / 267.6 MB, free: 7.371 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009185/0.01147, allocations: 1.76 MB / 269.4 MB, free: 5.531 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00039/0.01186, allocations: 478.2 kB / 269.9 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001708/0.01203, allocations: 215.1 kB / 270.1 MB, free: 4.711 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.292e-05/0.01212, allocations: 48.47 kB / 270.1 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.01215, allocations: 51 kB / 270.2 MB, free: 4.602 MB / 266.7 MB Notification: Performance of pre-optimization done (n=83): time 2.334e-06/0.01215, allocations: 0 / 270.2 MB, free: 4.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=83): time 0.0005366/0.01269, allocations: 433.5 kB / 270.6 MB, free: 4.176 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.01283, allocations: 350.7 kB / 270.9 MB, free: 3.758 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.01299, allocations: 278.8 kB / 271.2 MB, free: 3.477 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.225e-05/0.01303, allocations: 41.7 kB / 271.2 MB, free: 3.43 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.918e-05/0.0131, allocations: 177.9 kB / 271.4 MB, free: 3.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.081e-05/0.01315, allocations: 71.5 kB / 271.5 MB, free: 3.18 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.068e-05/0.01322, allocations: 85.58 kB / 271.6 MB, free: 3.09 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.657e-05/0.0133, allocations: 342.8 kB / 271.9 MB, free: 2.746 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.772e-05/0.01334, allocations: 32.25 kB / 271.9 MB, free: 2.715 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.01344, allocations: 186.2 kB / 272.1 MB, free: 2.457 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001813/0.01362, allocations: 273.2 kB / 272.4 MB, free: 2.113 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.01363, allocations: 4 kB / 272.4 MB, free: 2.109 MB / 266.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0002103/0.01384, allocations: 225.6 kB / 272.6 MB, free: 1.883 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.01386, allocations: 8 kB / 272.6 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.01386, allocations: 8 kB / 272.6 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.01388, allocations: 7.938 kB / 272.6 MB, free: 1.859 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001369/0.01401, allocations: 75.83 kB / 272.7 MB, free: 1.785 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.01402, allocations: 8 kB / 272.7 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.05e-05/0.0141, allocations: 31.72 kB / 272.7 MB, free: 1.746 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.625e-05/0.01412, allocations: 16 kB / 272.8 MB, free: 1.73 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 17 (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,integrator1[1].local_reset,integrator1[2].local_reset,integrator1[3].local_reset) * 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 (36): * Single equations (assignments): 35 * 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.000123/0.01424, allocations: 162.7 kB / 272.9 MB, free: 1.562 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003008/0.01454, allocations: 248.7 kB / 273.2 MB, free: 1.316 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003813/0.01492, allocations: 360.7 kB / 273.5 MB, free: 0.957 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.996e-05/0.01494, allocations: 15.94 kB / 273.5 MB, free: 0.9414 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.01495, allocations: 4 kB / 273.5 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/0.01496, allocations: 7.984 kB / 273.5 MB, free: 0.9297 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004171/0.01537, allocations: 221.2 kB / 273.8 MB, free: 0.6953 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.977e-06/0.01538, allocations: 4 kB / 273.8 MB, free: 0.6914 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002517/0.01563, allocations: 140.3 kB / 273.9 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.107e-05/0.01567, allocations: 59.47 kB / 274 MB, free: 0.4961 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.071e-06/0.01568, allocations: 8 kB / 274 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.832e-05/0.01571, allocations: 20 kB / 274 MB, free: 480 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.992e-06/0.01571, allocations: 15.92 kB / 274 MB, free: 464 kB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.01572, allocations: 3.938 kB / 274 MB, free: 460 kB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1097/0.1254, allocations: 0.9205 MB / 274.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001335/0.1255, allocations: 24.7 kB / 275 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003021/0.1258, allocations: 20.69 kB / 275 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.1259, allocations: 20.22 kB / 275 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.1259, allocations: 28.59 kB / 275 MB, free: 10.12 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.149e-05/0.126, allocations: 88.42 kB / 275.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.126, allocations: 0 / 275.1 MB, free: 10.11 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006038/0.1266, allocations: 146.1 kB / 275.2 MB, free: 10.11 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 3 (integrator1[1].y,integrator1[2].y,integrator1[3].y) * Number of discrete variables: 25 ($cse2,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,$cse6,$cse7,uDPSend.bufferSize,addInteger.u[1],sample1.y,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) * Number of discrete states: 0 () * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * 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.0008616/0.1274, allocations: 478.5 kB / 275.7 MB, free: 10.04 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005557/0.128, allocations: 0.9082 MB / 276.6 MB, free: 9.363 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.461e-05/0.128, allocations: 5.719 kB / 276.6 MB, free: 9.363 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001861/0.1282, allocations: 0.7511 MB / 277.4 MB, free: 8.684 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001181/0.1294, allocations: 1.109 MB / 278.5 MB, free: 7.844 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.1307, allocations: 0.9332 MB / 279.4 MB, free: 7.383 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001691/0.1308, allocations: 187.4 kB / 279.6 MB, free: 7.312 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.754e-05/0.1309, allocations: 31.25 kB / 279.6 MB, free: 7.305 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.1311, allocations: 137.6 kB / 279.8 MB, free: 7.266 MB / 266.7 MB Notification: Performance of SimCode: time 1.533e-06/0.1311, allocations: 0 / 279.8 MB, free: 7.266 MB / 266.7 MB Notification: Performance of Templates: time 0.01112/0.1422, allocations: 8.038 MB / 287.8 MB, free: 5.484 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.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_UDP -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_UDP.o Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c:390:96: error: use of undeclared identifier '_omcQ_24CLKPRE' 390 | (data->localData[0]->integerVars[17] /* packager.backwardPropagatedBufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._backwardPropagatedBufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c:403:78: error: use of undeclared identifier '_omcQ_24CLKPRE' 403 | (data->localData[0]->integerVars[18] /* packager.bufferSize DISCRETE */) = _omcQ_24CLKPRE._packager._bufferSize; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c:416:78: error: use of undeclared identifier '_omcQ_24CLKPRE' 416 | (data->localData[0]->booleanVars[4] /* packager.initialized DISCRETE */) = _omcQ_24CLKPRE._packager._initialized; | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c:450:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 450 | if((!_omcQ_24CLKPRE._packager._initialized)) | ^~~~~~~~~~~~~~ Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.c:479:8: error: use of undeclared identifier '_omcQ_24CLKPRE' 479 | if((!_omcQ_24CLKPRE._packager._initialized)) | ^~~~~~~~~~~~~~ 5 errors generated. make: *** [: Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.o] Error 1 [Calling os._exit(0), Time elapsed: 1.5538517078384757]