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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001574/0.001574, allocations: 118.7 kB / 17.85 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001981/0.001981, allocations: 191.8 kB / 20.79 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 225.6 MB / 249.2 MB, free: 3.605 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06171/0.06171, allocations: 12.16 MB / 316.2 MB, free: 276 kB / 238.1 MB " [Timeout remaining time 180] 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_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 0.001976/0.001976, allocations: 71.89 kB / 440.7 MB, free: 6.133 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2793/0.2813, allocations: 55.16 MB / 495.9 MB, free: 23.93 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.004664/0.286, allocations: 3.115 MB / 499 MB, free: 21.52 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.2877, allocations: 1 MB / 500 MB, free: 20.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001584/0.2879, allocations: 10.34 kB / 500 MB, free: 20.72 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003558/0.2882, allocations: 82.66 kB / 0.4883 GB, free: 20.65 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002153/0.2884, allocations: 50.06 kB / 0.4884 GB, free: 20.61 MB / 366.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.0008879/0.2893, allocations: 329.8 kB / 0.4887 GB, free: 20.37 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004167/0.2897, allocations: 472.7 kB / 0.4892 GB, free: 20.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003543/0.2901, allocations: 239.6 kB / 0.4894 GB, free: 19.96 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002322/0.2903, allocations: 216.4 kB / 0.4896 GB, free: 19.83 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.2906, allocations: 252.1 kB / 0.4898 GB, free: 19.65 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 8.397e-05/0.2907, allocations: 45.91 kB / 0.4899 GB, free: 19.65 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003193/0.291, allocations: 219.1 kB / 0.4901 GB, free: 19.55 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000211/0.2912, allocations: 165 kB / 0.4902 GB, free: 19.44 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.2914, allocations: 243.6 kB / 0.4905 GB, free: 19.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007903/0.2922, allocations: 0.7444 MB / 0.4912 GB, free: 18.71 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.2922, allocations: 1.094 kB / 0.4912 GB, free: 18.71 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2922, allocations: 3.984 kB / 0.4912 GB, free: 18.71 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.2922, allocations: 0 / 0.4912 GB, free: 18.71 MB / 366.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: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001588/0.2938, allocations: 1.207 MB / 0.4924 GB, free: 17.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2938, allocations: 9.25 kB / 0.4924 GB, free: 17.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001389/0.294, allocations: 66.84 kB / 0.4925 GB, free: 17.62 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004574/0.2944, allocations: 405.1 kB / 0.4928 GB, free: 17.27 MB / 366.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.0001073/0.2945, allocations: 102 kB / 0.4929 GB, free: 17.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.623e-05/0.2946, allocations: 57.78 kB / 0.493 GB, free: 17.16 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001935/0.2966, allocations: 1.311 MB / 0.4943 GB, free: 16.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.2966, allocations: 5.031 kB / 0.4943 GB, free: 16.31 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.54e-05/0.2966, allocations: 21.72 kB / 0.4943 GB, free: 16.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.74e-05/0.2967, allocations: 19.86 kB / 0.4943 GB, free: 16.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000606/0.2973, allocations: 354.9 kB / 0.4947 GB, free: 16.13 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.2988, allocations: 2.15 MB / 0.4968 GB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001109/0.2999, allocations: 1.145 MB / 0.4979 GB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005672/0.3005, allocations: 412.8 kB / 0.4983 GB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000137/0.3006, allocations: 52.33 kB / 0.4983 GB, free: 12.8 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.3007, allocations: 53.75 kB / 0.4984 GB, free: 12.74 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 3.156e-06/0.3007, allocations: 0 / 0.4984 GB, free: 12.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=83): time 0.001691/0.3024, allocations: 0.8986 MB / 0.4993 GB, free: 12.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.3025, allocations: 355.3 kB / 0.4996 GB, free: 11.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.3027, allocations: 299.1 kB / 0.4999 GB, free: 11.71 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.704e-05/0.3028, allocations: 41.83 kB / 0.4999 GB, free: 11.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.3029, allocations: 199.4 kB / 0.5001 GB, free: 11.48 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.913e-05/0.3029, allocations: 94.69 kB / 0.5002 GB, free: 11.41 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001888/0.3031, allocations: 155.2 kB / 0.5003 GB, free: 11.31 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.806e-05/0.3032, allocations: 359.2 kB / 0.5007 GB, free: 10.96 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002375/0.3034, allocations: 165.9 kB / 0.5008 GB, free: 10.89 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004111/0.3038, allocations: 0.6719 MB / 0.5015 GB, free: 10.09 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000734/0.3046, allocations: 0.9157 MB / 0.5024 GB, free: 9.129 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.978e-06/0.3046, allocations: 5.438 kB / 0.5024 GB, free: 9.129 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00109/0.3057, allocations: 0.821 MB / 0.5032 GB, free: 8.695 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.408e-05/0.3057, allocations: 14.72 kB / 0.5032 GB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-05/0.3058, allocations: 19.12 kB / 0.5032 GB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.704e-05/0.3058, allocations: 23.97 kB / 0.5033 GB, free: 8.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004558/0.3063, allocations: 176.3 kB / 0.5034 GB, free: 8.652 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.908e-05/0.3063, allocations: 36.33 kB / 0.5035 GB, free: 8.641 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000363/0.3066, allocations: 77.88 kB / 0.5035 GB, free: 8.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.3067, allocations: 48.28 kB / 0.5036 GB, free: 8.586 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 31 (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,integrator1[3].local_reset,integrator1[2].local_reset,integrator1[1].local_reset,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 (98): * Single equations (assignments): 97 * 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.0002589/0.307, allocations: 283.1 kB / 0.5039 GB, free: 8.363 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009253/0.3079, allocations: 0.5098 MB / 0.5044 GB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.309, allocations: 0.6819 MB / 0.505 GB, free: 7.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.779e-05/0.309, allocations: 17.14 kB / 0.505 GB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.309, allocations: 3.312 kB / 0.505 GB, free: 7.746 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.309, allocations: 11.11 kB / 0.505 GB, free: 7.738 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000837/0.3099, allocations: 475.6 kB / 0.5055 GB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/0.3099, allocations: 5.625 kB / 0.5055 GB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004289/0.3103, allocations: 123.3 kB / 0.5056 GB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-06/0.3103, allocations: 4.75 kB / 0.5056 GB, free: 7.301 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.611e-05/0.3104, allocations: 26.36 kB / 0.5057 GB, free: 7.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.093e-06/0.3104, allocations: 9.375 kB / 0.5057 GB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.496e-06/0.3104, allocations: 3.125 kB / 0.5057 GB, free: 7.281 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00165/0.312, allocations: 1.834 MB / 0.5075 GB, free: 5.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.562e-05/0.3121, allocations: 146.2 kB / 0.5076 GB, free: 5.828 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.694e-05/0.3122, allocations: 22.03 kB / 0.5076 GB, free: 5.816 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/0.3126, allocations: 17.75 kB / 0.5076 GB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.795e-05/0.3127, allocations: 33.88 kB / 0.5077 GB, free: 5.781 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.3127, allocations: 30.2 kB / 0.5077 GB, free: 5.773 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001867/0.3129, allocations: 198.6 kB / 0.5079 GB, free: 5.641 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3129, allocations: 0 / 0.5079 GB, free: 5.641 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00106/0.314, allocations: 171.7 kB / 0.508 GB, free: 5.504 MB / 366.1 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.0008843/0.3148, allocations: 371.3 kB / 0.5084 GB, free: 5.203 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001067/0.3159, allocations: 1.309 MB / 0.5097 GB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3159, allocations: 0 / 0.5097 GB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003397/0.3163, allocations: 0.7897 MB / 0.5105 GB, free: 3.059 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002068/0.3183, allocations: 1.234 MB / 0.5117 GB, free: 1.777 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.3198, allocations: 1.166 MB / 0.5128 GB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.3203, allocations: 0.9221 MB / 0.5137 GB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.3204, allocations: 51.42 kB / 0.5137 GB, free: 15.54 MB / 382.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3204, allocations: 0 / 0.5137 GB, free: 15.54 MB / 382.1 MB Notification: Performance of Templates: time 0.01267/0.3331, allocations: 7.958 MB / 0.5215 GB, free: 7.605 MB / 382.1 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++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/bin/../include/omc/cpp/" -I. "-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"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelica/OMCompiler/build/include/omc/sundials" "-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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:452:5: error: no matching function for call to 'strncpy' strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); ^~~~~~~ /usr/include/string.h:144:14: note: candidate function not viable: no known conversion from 'unsigned char *' to 'char *__restrict' for 1st argument extern char *strncpy (char *__restrict __dest, ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPFunctions.cpp:524:3: error: no matching function for call to 'MDD_SerialPackagerAddInteger' MDD_SerialPackagerAddInteger(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:243:16: note: candidate function not viable: 2nd argument ('const int *') would lose const qualifier DllExport void MDD_SerialPackagerAddInteger(void* p_package, int * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPFunctions.cpp:545:3: error: no matching function for call to 'MDD_SerialPackagerAddDouble' MDD_SerialPackagerAddDouble(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:307:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDouble(void* p_package, double * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPFunctions.cpp:566:3: error: no matching function for call to 'MDD_SerialPackagerAddDoubleAsFloat' MDD_SerialPackagerAddDoubleAsFloat(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:369:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDoubleAsFloat(void* p_package, double * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:29: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:225:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:245:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:246:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPInitialize.cpp:247:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:327:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:347:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:348:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:349:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.cpp:362:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if (!_omcQ_24CLKPRE_P_packager_P_initialized_) { ^ 13 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.257130306214094] Failed to read output from testmodel.py, exit status != 0: 0.34172007790766656 0.35450981899999995 0.059508661000000004 Calling exit ...