Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.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.001746/0.001746, allocations: 100.4 kB / 20.48 MB, free: 1.227 MB / 14.72 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.002192/0.002192, allocations: 210.1 kB / 23.78 MB, free: 4.414 MB / 14.72 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 1.531/1.531, allocations: 230.6 MB / 257.6 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/package.mo): time 0.0631/0.0631, allocations: 12.23 MB / 326.2 MB, free: 7.039 MB / 254.1 MB " [Timeout remaining time 180] Using package Modelica_DeviceDrivers with version 2.2.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 67.88 kB / 454.5 MB, free: 8.336 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1172, allocations: 56.39 MB / 0.499 GB, free: 15.84 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.006056/0.1232, allocations: 2.987 MB / 0.5019 GB, free: 12.84 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00268/0.1259, allocations: 1.195 MB / 0.503 GB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002812/0.1262, allocations: 11.88 kB / 0.5031 GB, free: 11.63 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003761/0.1266, allocations: 83.2 kB / 0.5031 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003448/0.1269, allocations: 59.45 kB / 0.5032 GB, free: 11.49 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:130:7-137:16:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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 master/Blocks/Packaging/SerialPackager.mo:30:7-39:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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 master/Blocks/Communication.mo:1183:7-1194:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:63:7-72:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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 master/Blocks/Communication.mo:1170:7-1181:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Communication.Internal.DummyFunctions.readUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Blocks/Packaging/SerialPackager.mo:74:7-84:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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 master/Blocks/Packaging/SerialPackager.mo:107:7-117:21:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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 master/Blocks/Packaging/SerialPackager.mo:41:7-50:25:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.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 master/Blocks/Packaging/SerialPackager.mo:86:7-96:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.Blocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0009856/0.1279, allocations: 291.2 kB / 0.5035 GB, free: 11.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006102/0.1285, allocations: 414.9 kB / 0.5039 GB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.1288, allocations: 135.5 kB / 0.504 GB, free: 10.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003306/0.1291, allocations: 211.2 kB / 0.5042 GB, free: 10.45 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004098/0.1295, allocations: 222.9 kB / 0.5044 GB, free: 10.23 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.945e-05/0.1296, allocations: 44 kB / 0.5045 GB, free: 10.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.1301, allocations: 199.8 kB / 0.5046 GB, free: 9.992 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.1303, allocations: 151.6 kB / 0.5048 GB, free: 9.844 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002456/0.1306, allocations: 179 kB / 0.505 GB, free: 9.668 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009965/0.1316, allocations: 0.6847 MB / 0.5056 GB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.1316, allocations: 0 / 0.5056 GB, free: 8.98 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1316, allocations: 0 / 0.5056 GB, free: 8.98 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.001e-05/0.1316, allocations: 0 / 0.5056 GB, free: 8.98 MB / 382.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 getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg uDPSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.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: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.002138/0.1337, allocations: 1.09 MB / 0.5067 GB, free: 7.809 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1338, allocations: 11.97 kB / 0.5067 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.1339, allocations: 48.66 kB / 0.5068 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.1344, allocations: 274.7 kB / 0.507 GB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.252e-05/0.1344, allocations: 33.36 kB / 0.507 GB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.67e-05/0.1345, allocations: 40.38 kB / 0.5071 GB, free: 7.383 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009145/0.1354, allocations: 493.6 kB / 0.5076 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.1354, allocations: 4 kB / 0.5076 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.117e-05/0.1355, allocations: 16 kB / 0.5076 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.544e-05/0.1355, allocations: 11.98 kB / 0.5076 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005394/0.136, allocations: 273.9 kB / 0.5078 GB, free: 6.574 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001915/0.138, allocations: 1.241 MB / 0.5091 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006742/0.1386, allocations: 293.2 kB / 0.5093 GB, free: 4.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.1389, allocations: 156.5 kB / 0.5095 GB, free: 4.781 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.792e-05/0.139, allocations: 7.984 kB / 0.5095 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004579/0.1394, allocations: 260.9 kB / 0.5097 GB, free: 4.488 MB / 382.1 MB Notification: Performance of pre-optimization done (n=43): time 2.435e-06/0.1394, allocations: 4 kB / 0.5097 GB, free: 4.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=43): time 0.001238/0.1407, allocations: 0.5987 MB / 0.5103 GB, free: 3.879 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001582/0.1408, allocations: 198 kB / 0.5105 GB, free: 3.648 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003162/0.1411, allocations: 251.9 kB / 0.5108 GB, free: 3.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.808e-05/0.1412, allocations: 41.7 kB / 0.5108 GB, free: 3.344 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.1414, allocations: 209.4 kB / 0.511 GB, free: 3.133 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.1415, allocations: 107.3 kB / 0.5111 GB, free: 3.027 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002128/0.1418, allocations: 126.3 kB / 0.5112 GB, free: 2.898 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000187/0.1419, allocations: 342.8 kB / 0.5115 GB, free: 2.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002601/0.1422, allocations: 125.2 kB / 0.5117 GB, free: 2.43 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004408/0.1426, allocations: 342.7 kB / 0.512 GB, free: 2 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007386/0.1434, allocations: 0.5029 MB / 0.5125 GB, free: 1.398 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.1434, allocations: 4 kB / 0.5125 GB, free: 1.395 MB / 382.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0008621/0.1442, allocations: 0.5005 MB / 0.513 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/0.1443, allocations: 8.906 kB / 0.513 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/0.1443, allocations: 8.312 kB / 0.513 GB, free: 0.8711 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.658e-05/0.1443, allocations: 12 kB / 0.513 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002629/0.1446, allocations: 87.77 kB / 0.5131 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/0.1446, allocations: 19.92 kB / 0.5131 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001842/0.1448, allocations: 43.67 kB / 0.5132 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.1448, allocations: 27.98 kB / 0.5132 GB, free: 0.6836 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 59 (getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition1,$whenCondition2,addInteger.u[1],uDPReceive.internalTrigger,uDPSend.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * 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.000324/0.1452, allocations: 241.8 kB / 0.5134 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.431e-05/0.1452, allocations: 35.81 kB / 0.5134 GB, free: 412 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006254/0.1458, allocations: 384.1 kB / 0.5138 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.1459, allocations: 8 kB / 0.5138 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1459, allocations: 0 / 0.5138 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1459, allocations: 0 / 0.5138 GB, free: 12 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2174/0.3633, allocations: 0.8044 MB / 0.5146 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.3633, allocations: 1.5 kB / 0.5146 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.3634, allocations: 20.42 kB / 0.5146 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.3634, allocations: 3.531 kB / 0.5146 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.684e-05/0.3634, allocations: 12.89 kB / 0.5146 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/0.3634, allocations: 3.438 kB / 0.5146 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.3634, allocations: 4.969 kB / 0.5146 GB, free: 21.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007283/0.3641, allocations: 0.6008 MB / 0.5152 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.895e-05/0.3642, allocations: 34.22 kB / 0.5153 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.401e-05/0.3642, allocations: 11.33 kB / 0.5153 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.3643, allocations: 11.02 kB / 0.5153 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.345e-05/0.3644, allocations: 27.02 kB / 0.5153 GB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.911e-05/0.3644, allocations: 13.52 kB / 0.5153 GB, free: 21.12 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.3646, allocations: 146.2 kB / 0.5155 GB, free: 21.04 MB / 382.1 MB Notification: Performance of sort global known variables: time 6e-08/0.3646, allocations: 0 / 0.5155 GB, free: 21.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006505/0.3652, allocations: 162.9 kB / 0.5156 GB, free: 21.04 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 38 (uDPSend.internalTrigger,uDPReceive.internalTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * If-equations: 0 * 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.0008149/0.366, allocations: 359.8 kB / 0.516 GB, free: 20.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006147/0.3666, allocations: 367.4 kB / 0.5163 GB, free: 20.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3666, allocations: 4.234 kB / 0.5163 GB, free: 20.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.3669, allocations: 158.8 kB / 0.5165 GB, free: 20.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005027/0.3674, allocations: 75.08 kB / 0.5165 GB, free: 20.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001156/0.3685, allocations: 0.7376 MB / 0.5173 GB, free: 20.54 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001761/0.3687, allocations: 206.9 kB / 0.5175 GB, free: 20.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.756e-05/0.3688, allocations: 31.11 kB / 0.5175 GB, free: 20.45 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3688, allocations: 2.281 kB / 0.5175 GB, free: 20.45 MB / 382.1 MB Notification: Performance of Templates: time 0.01025/0.379, allocations: 6.297 MB / 0.5236 GB, free: 19.82 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DOMC_BUILD -DUSE_THREAD -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 master/Resources/Include" -I"." -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/include/omc/sundials" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers master/Resources/Include" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.411482474766672] Failed to read output from testmodel.py, exit status != 0: 0.38750725518912077 0.39852783500000005 0.264382441 Calling exit ...