Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_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.001365/0.001365, allocations: 117.3 kB / 17.85 MB, free: 5.219 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.001335/0.001335, allocations: 189.2 kB / 20.79 MB, free: 2.285 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.442/1.442, allocations: 225.6 MB / 249.2 MB, free: 3.629 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.05906/0.05906, allocations: 12.16 MB / 316.2 MB, free: 288 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.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002265/0.002265, allocations: 63.89 kB / 440.7 MB, free: 6.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2542, allocations: 55.17 MB / 495.9 MB, free: 23.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP): time 0.003845/0.258, allocations: 3.086 MB / 499 MB, free: 21.59 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.2596, allocations: 1.014 MB / 500 MB, free: 20.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.2598, allocations: 10.44 kB / 500 MB, free: 20.79 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000231/0.26, allocations: 82.23 kB / 0.4883 GB, free: 20.71 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001704/0.2602, allocations: 49.94 kB / 0.4884 GB, free: 20.67 MB / 366.1 MB [/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: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:141:7-156:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitPack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitPack'. [/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:158:7-173:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.integerBitUnpack' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.integerBitUnpack'. [/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/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: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/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'. Notification: Performance of NFTyping.typeClassSections: time 0.0008106/0.261, allocations: 372 kB / 0.4887 GB, free: 20.39 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004117/0.2614, allocations: 472.8 kB / 0.4892 GB, free: 20.12 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003272/0.2617, allocations: 233.8 kB / 0.4894 GB, free: 19.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000167/0.2619, allocations: 221.8 kB / 0.4896 GB, free: 19.85 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002472/0.2621, allocations: 281.2 kB / 0.4899 GB, free: 19.64 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.626e-05/0.2622, allocations: 53.56 kB / 0.4899 GB, free: 19.64 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.2625, allocations: 210.6 kB / 0.4901 GB, free: 19.56 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001243/0.2626, allocations: 166.1 kB / 0.4903 GB, free: 19.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000158/0.2628, allocations: 242 kB / 0.4905 GB, free: 19.24 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006238/0.2634, allocations: 0.7545 MB / 0.4913 GB, free: 18.69 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2634, allocations: 0.9062 kB / 0.4913 GB, free: 18.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2634, allocations: 0 / 0.4913 GB, free: 18.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.2634, allocations: 5.094 kB / 0.4913 GB, free: 18.68 MB / 366.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg unpackInt1.pkgOut[1].pkg = unpackInt1.pkgIn.pkg addInteger1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt1.pkgOut[1].pkg = packInt1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt.pkgIn.pkg packInt.pkgOut[1].pkg = packInt.pkgIn.pkg unpackInt1.pkgOut[1].pkg = getInteger1.pkgIn.pkg unpackInt.pkgOut[1].pkg = unpackInt1.pkgIn.pkg getReal.pkgOut[1].pkg = unpackInt.pkgIn.pkg uDPReceive2_1.pkgOut.pkg = getReal.pkgIn.pkg addInteger1.pkgOut[1].pkg = uDPSend.pkgIn.pkg packInt1.pkgOut[1].pkg = addInteger1.pkgIn.pkg packInt.pkgOut[1].pkg = packInt1.pkgIn.pkg addReal.pkgOut[1].pkg = packInt.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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.00141/0.2648, allocations: 1.3 MB / 0.4925 GB, free: 17.54 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.204e-05/0.2649, allocations: 9.75 kB / 0.4926 GB, free: 17.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001162/0.265, allocations: 61.56 kB / 0.4926 GB, free: 17.51 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003641/0.2653, allocations: 363.7 kB / 0.493 GB, free: 17.18 MB / 366.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive2_1.initialized = previous(uDPReceive2_1.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 9.023e-05/0.2654, allocations: 104.6 kB / 0.4931 GB, free: 17.09 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.707e-05/0.2655, allocations: 54.62 kB / 0.4931 GB, free: 17.07 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001949/0.2674, allocations: 1.626 MB / 0.4947 GB, free: 16.05 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.2675, allocations: 7.875 kB / 0.4947 GB, free: 16.04 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.942e-05/0.2675, allocations: 21.69 kB / 0.4947 GB, free: 16.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.336e-05/0.2675, allocations: 10.44 kB / 0.4947 GB, free: 16.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005027/0.268, allocations: 323.4 kB / 0.495 GB, free: 15.88 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007813/0.2688, allocations: 1.173 MB / 0.4962 GB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.2699, allocations: 1.5 MB / 0.4977 GB, free: 13.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000575/0.2705, allocations: 458 kB / 0.4981 GB, free: 13.18 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001318/0.2706, allocations: 54.86 kB / 0.4981 GB, free: 13.16 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.2707, allocations: 44.28 kB / 0.4982 GB, free: 13.11 MB / 366.1 MB Notification: Performance of pre-optimization done (n=98): time 3.106e-06/0.2707, allocations: 1.531 kB / 0.4982 GB, free: 13.11 MB / 366.1 MB Notification: Performance of matching and sorting (n=98): time 0.001553/0.2722, allocations: 0.9427 MB / 0.4991 GB, free: 12.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/0.2723, allocations: 254.5 kB / 0.4994 GB, free: 12.39 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.2725, allocations: 217.9 kB / 0.4996 GB, free: 12.23 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.636e-05/0.2725, allocations: 41.83 kB / 0.4996 GB, free: 12.18 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.09e-05/0.2726, allocations: 158.2 kB / 0.4998 GB, free: 12.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.2726, allocations: 68.25 kB / 0.4998 GB, free: 11.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.2728, allocations: 152.8 kB / 0.5 GB, free: 11.89 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.126e-05/0.2728, allocations: 361.8 kB / 0.5003 GB, free: 11.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.273, allocations: 126.3 kB / 0.5004 GB, free: 11.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.2733, allocations: 0.7209 MB / 0.5011 GB, free: 10.57 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005648/0.2739, allocations: 0.9314 MB / 0.502 GB, free: 9.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.928e-06/0.2739, allocations: 6.219 kB / 0.502 GB, free: 9.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.0009323/0.2748, allocations: 0.7924 MB / 0.5028 GB, free: 9.102 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.2749, allocations: 16.66 kB / 0.5028 GB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.2749, allocations: 20.97 kB / 0.5029 GB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.609e-05/0.2749, allocations: 29.09 kB / 0.5029 GB, free: 9.102 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004647/0.2754, allocations: 198.7 kB / 0.5031 GB, free: 9.051 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.952e-05/0.2754, allocations: 44.67 kB / 0.5031 GB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003162/0.2757, allocations: 76.28 kB / 0.5032 GB, free: 8.988 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.982e-05/0.2758, allocations: 56.41 kB / 0.5032 GB, free: 8.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * Number of states: 0 () * Number of discrete variables: 59 (integerExpression.y,integerExpression1.y,assignClock4.y,assignClock4.u,assignClock3.y,assignClock3.u,assignClock2.y,assignClock2.u,sample4.y,sample3.y,sample1.y,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].userPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgIn.userPkgBitSize,getInteger1.y[1],getInteger1.pkgIn.autoPkgBitSize,unpackInt1.y,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.pkgIn.autoPkgBitSize,addInteger1.u[1],addInteger1.pkgOut[1].autoPkgBitSize,addInteger1.pkgOut[1].userPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addInteger1.pkgIn.userPkgBitSize,packInt1.u,packInt1.pkgOut[1].autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgIn.userPkgBitSize,unpackInt.y,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive2_1.initialized,uDPReceive2_1.initialized,$CLKPRE.uDPReceive2_1.bufferSize,uDPReceive2_1.bufferSize,uDPReceive2_1.nRecvbufOverwrites,uDPReceive2_1.nRecvBytes,uDPReceive2_1.pkgOut.autoPkgBitSize,packInt.u,packInt.pkgOut[1].autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgIn.userPkgBitSize,$CLKPRE.packager.bufferSize,packager.bufferSize,$CLKPRE.packager.backwardPropagatedBufferSize,packager.backwardPropagatedBufferSize,$CLKPRE.packager.initialized,packager.initialized,packager.pkgOut.autoPkgBitSize,packager.pkgOut.userPkgBitSize,uDPSend.bufferSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,getInteger1.pkgIn.userPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 7 (uDPReceive2_1.dummy,uDPReceive2_1.initialized,uDPReceive2_1.bufferSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.dummy,packager.initialized) * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002654/0.276, allocations: 291.3 kB / 0.5035 GB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001032/0.2771, allocations: 0.6564 MB / 0.5042 GB, free: 8.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001113/0.2782, allocations: 0.7763 MB / 0.5049 GB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/0.2782, allocations: 10.56 kB / 0.5049 GB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.565e-06/0.2782, allocations: 2.688 kB / 0.5049 GB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.2782, allocations: 5.297 kB / 0.5049 GB, free: 8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005331/0.2787, allocations: 462.2 kB / 0.5054 GB, free: 7.586 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.76e-05/0.2788, allocations: 8.5 kB / 0.5054 GB, free: 7.582 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004362/0.2792, allocations: 144.7 kB / 0.5055 GB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.566e-06/0.2792, allocations: 7.984 kB / 0.5055 GB, free: 7.547 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.114e-05/0.2792, allocations: 24.75 kB / 0.5056 GB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.224e-06/0.2793, allocations: 8.281 kB / 0.5056 GB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.2793, allocations: 2.438 kB / 0.5056 GB, free: 7.527 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.2803, allocations: 1.144 MB / 0.5067 GB, free: 6.746 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.683e-05/0.2804, allocations: 137.3 kB / 0.5068 GB, free: 6.609 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.2804, allocations: 28.16 kB / 0.5068 GB, free: 6.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000287/0.2807, allocations: 20.09 kB / 0.5069 GB, free: 6.574 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.218e-05/0.2808, allocations: 8.016 kB / 0.5069 GB, free: 6.57 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/0.2808, allocations: 31.75 kB / 0.5069 GB, free: 6.562 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001089/0.2809, allocations: 145.7 kB / 0.507 GB, free: 6.453 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2809, allocations: 0 / 0.507 GB, free: 6.453 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009211/0.2819, allocations: 167.8 kB / 0.5072 GB, free: 6.344 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 56 (integerExpression.y,integerExpression1.y,$cse3,$cse4,$cse5,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.bufferSize,packager.pkgOut.userPkgBitSize,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,packInt.pkgIn.userPkgBitSize,packInt.pkgIn.autoPkgBitSize,packInt.pkgOut[1].userPkgBitSize,packInt.pkgOut[1].autoPkgBitSize,packInt.u,uDPReceive2_1.pkgOut.autoPkgBitSize,uDPReceive2_1.nRecvBytes,uDPReceive2_1.nRecvbufOverwrites,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,unpackInt.pkgIn.autoPkgBitSize,unpackInt.pkgOut[1].autoPkgBitSize,unpackInt.y,packInt1.pkgIn.userPkgBitSize,packInt1.pkgIn.autoPkgBitSize,packInt1.pkgOut[1].userPkgBitSize,packInt1.pkgOut[1].autoPkgBitSize,packInt1.u,addInteger1.pkgIn.userPkgBitSize,addInteger1.pkgIn.autoPkgBitSize,addInteger1.pkgOut[1].userPkgBitSize,addInteger1.pkgOut[1].autoPkgBitSize,addInteger1.u[1],unpackInt1.pkgIn.autoPkgBitSize,unpackInt1.pkgOut[1].autoPkgBitSize,unpackInt1.y,getInteger1.pkgIn.autoPkgBitSize,getInteger1.y[1],addReal.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,addReal.pkgOut[1].userPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,sample1.y,sample3.y,sample4.y,assignClock2.u,assignClock2.y,assignClock3.u,assignClock3.y,assignClock4.u,assignClock4.y) * Number of discrete states: 0 () * Number of clocked states: 7 (packager.initialized,packager.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,uDPReceive2_1.bufferSize,uDPReceive2_1.initialized,uDPReceive2_1.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.000806/0.2827, allocations: 400.6 kB / 0.5076 GB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008188/0.2835, allocations: 0.6055 MB / 0.5082 GB, free: 5.414 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.2835, allocations: 3.938 kB / 0.5082 GB, free: 5.41 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 2.823e-05/0.2835, allocations: 28.11 kB / 0.5082 GB, free: 5.383 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.2853, allocations: 2.023 MB / 0.5102 GB, free: 3.285 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.2866, allocations: 1.054 MB / 0.5112 GB, free: 2.188 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.2869, allocations: 0.9034 MB / 0.5121 GB, free: 1.258 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.762e-05/0.287, allocations: 39.44 kB / 0.5121 GB, free: 1.219 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.287, allocations: 0 / 0.5121 GB, free: 1.219 MB / 366.1 MB Notification: Performance of Templates: time 0.0109/0.2979, allocations: 7.249 MB / 0.5192 GB, free: 10 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDP.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_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/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.TestSerialPackagerBitPack_UDPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_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, ^ 1 error generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackagerBitPack_UDPCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 3.959146189969033] Failed to read output from testmodel.py, exit status != 0: 0.30704352201428264 0.31945908300000003 0.05325813200000001 Calling exit ...