Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 101 kB / 18.95 MB, free: 3.523 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001356/0.001356, allocations: 189.9 kB / 22.1 MB, free: 388 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 225.6 MB / 250.7 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06209/0.06209, allocations: 12.19 MB / 318 MB, free: 13.34 MB / 254.1 MB [Timeout remaining time 90] 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_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001882, allocations: 71.83 kB / 443.3 MB, free: 5.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.114, allocations: 55.16 MB / 498.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.004268/0.1183, allocations: 2.351 MB / 0.4891 GB, free: 12.01 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.12, allocations: 0.9575 MB / 0.49 GB, free: 11.05 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.1201, allocations: 11.88 kB / 0.49 GB, free: 11.04 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002718/0.1204, allocations: 83.25 kB / 0.4901 GB, free: 10.96 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.1206, allocations: 51.53 kB / 0.4901 GB, free: 10.91 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.0008431/0.1215, allocations: 330 kB / 0.4905 GB, free: 10.59 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004411/0.1219, allocations: 399.8 kB / 0.4908 GB, free: 10.2 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003546/0.1223, allocations: 195.1 kB / 0.491 GB, free: 10 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002082/0.1225, allocations: 191.2 kB / 0.4912 GB, free: 9.812 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003015/0.1228, allocations: 223 kB / 0.4914 GB, free: 9.594 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 6.996e-05/0.1228, allocations: 44 kB / 0.4915 GB, free: 9.551 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003195/0.1232, allocations: 203.8 kB / 0.4917 GB, free: 9.352 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001658/0.1233, allocations: 155.5 kB / 0.4918 GB, free: 9.199 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.1235, allocations: 210.7 kB / 0.492 GB, free: 8.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007841/0.1243, allocations: 0.6652 MB / 0.4926 GB, free: 8.324 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1243, allocations: 0 / 0.4926 GB, free: 8.324 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1243, allocations: 0 / 0.4926 GB, free: 8.324 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.253e-06/0.1243, allocations: 0 / 0.4926 GB, free: 8.324 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001716/0.126, allocations: 1.117 MB / 0.4937 GB, free: 7.117 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.1261, allocations: 8.031 kB / 0.4937 GB, free: 7.109 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.1262, allocations: 60.61 kB / 0.4938 GB, free: 7.051 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/0.1266, allocations: 347.8 kB / 0.4941 GB, free: 6.672 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.0001259/0.1268, allocations: 92.97 kB / 0.4942 GB, free: 6.566 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.26e-05/0.1268, allocations: 40.38 kB / 0.4943 GB, free: 6.527 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.1287, allocations: 1.156 MB / 0.4954 GB, free: 5.316 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1287, allocations: 0 / 0.4954 GB, free: 5.316 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.504e-05/0.1287, allocations: 16 kB / 0.4954 GB, free: 5.301 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.542e-05/0.1288, allocations: 16 kB / 0.4954 GB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005459/0.1293, allocations: 312 kB / 0.4957 GB, free: 4.98 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00151/0.1308, allocations: 1.386 MB / 0.4971 GB, free: 3.508 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.1322, allocations: 1.297 MB / 0.4983 GB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005507/0.1328, allocations: 372.8 kB / 0.4987 GB, free: 1.578 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001118/0.1329, allocations: 35.98 kB / 0.4987 GB, free: 1.543 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002572/0.1331, allocations: 182.5 kB / 0.4989 GB, free: 1.328 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.655e-06/0.1331, allocations: 0 / 0.4989 GB, free: 1.328 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.001482/0.1346, allocations: 0.8111 MB / 0.4997 GB, free: 0.5117 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002377/0.1349, allocations: 330.6 kB / 0.5 GB, free: 124 kB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002494/0.1351, allocations: 216.2 kB / 0.5002 GB, free: 15.9 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.183e-05/0.1352, allocations: 41.7 kB / 0.5003 GB, free: 15.85 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.1353, allocations: 161.7 kB / 0.5004 GB, free: 15.69 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.301e-05/0.1354, allocations: 87.55 kB / 0.5005 GB, free: 15.6 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001634/0.1355, allocations: 138.7 kB / 0.5006 GB, free: 15.46 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1357, allocations: 346.8 kB / 0.501 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002125/0.1359, allocations: 121.9 kB / 0.5011 GB, free: 14.99 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006169/0.1365, allocations: 0.578 MB / 0.5016 GB, free: 14.18 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009612/0.1375, allocations: 0.7682 MB / 0.5024 GB, free: 13.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/0.1375, allocations: 8 kB / 0.5024 GB, free: 13.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.001071/0.1386, allocations: 0.6735 MB / 0.5031 GB, free: 12.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.1386, allocations: 15.98 kB / 0.5031 GB, free: 12.49 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.855e-05/0.1386, allocations: 16 kB / 0.5031 GB, free: 12.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.962e-05/0.1387, allocations: 23.94 kB / 0.5031 GB, free: 12.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004295/0.1391, allocations: 151.9 kB / 0.5033 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.397e-05/0.1391, allocations: 35.86 kB / 0.5033 GB, free: 12.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003011/0.1394, allocations: 63.62 kB / 0.5033 GB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.1395, allocations: 44 kB / 0.5034 GB, free: 12.16 MB / 382.1 MB Warning: Assuming fixed start value for the following 1 variables: trigger.y:DISCRETE(flow=false fixed = true ) "Value of Boolean output" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.trigger.y,$whenCondition2,pre_trigger.y,$whenCondition1,trigger.y,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,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 (85): * Single equations (assignments): 84 * 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.0003695/0.1399, allocations: 257.6 kB / 0.5036 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008282/0.1407, allocations: 0.4928 MB / 0.5041 GB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000862/0.1416, allocations: 463.5 kB / 0.5046 GB, free: 10.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.855e-05/0.1416, allocations: 16.16 kB / 0.5046 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.1416, allocations: 4 kB / 0.5046 GB, free: 10.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/0.1416, allocations: 7.984 kB / 0.5046 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009115/0.1425, allocations: 0.6306 MB / 0.5052 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.1425, allocations: 4 kB / 0.5052 GB, free: 10.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000344/0.1429, allocations: 107.8 kB / 0.5053 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.602e-06/0.1429, allocations: 4 kB / 0.5053 GB, free: 10.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.983e-05/0.1429, allocations: 20 kB / 0.5053 GB, free: 10.1 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.307e-06/0.1429, allocations: 15.98 kB / 0.5053 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.1429, allocations: 3.938 kB / 0.5054 GB, free: 10.08 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001174/0.1441, allocations: 0.7899 MB / 0.5061 GB, free: 9.242 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.153e-05/0.1442, allocations: 128.8 kB / 0.5062 GB, free: 9.098 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.1443, allocations: 24 kB / 0.5063 GB, free: 9.074 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.1445, allocations: 16 kB / 0.5063 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.1445, allocations: 31.89 kB / 0.5063 GB, free: 9.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.168e-05/0.1446, allocations: 27.98 kB / 0.5063 GB, free: 9 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001379/0.1447, allocations: 151.5 kB / 0.5065 GB, free: 8.852 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1447, allocations: 0 / 0.5065 GB, free: 8.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007178/0.1454, allocations: 163.6 kB / 0.5066 GB, free: 8.691 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 (uDPSend.bufferSize,addInteger.u[1],sample1.y,$cse6,$cse7,uDPReceive.pkgOut.autoPkgBitSize,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,uDPReceive.bufferSize,uDPReceive.initialized,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],assignClock2.u,assignClock2.y,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].autoPkgBitSize,$cse5,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,pre_trigger.y,trigger.y,$whenCondition1,$whenCondition2) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 2 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000883/0.1463, allocations: 381.2 kB / 0.507 GB, free: 8.379 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.1477, allocations: 1.218 MB / 0.5082 GB, free: 7.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.1477, allocations: 4.25 kB / 0.5082 GB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005622/0.1483, allocations: 0.7612 MB / 0.5089 GB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001669/0.1499, allocations: 1.185 MB / 0.5101 GB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.1515, allocations: 0.9675 MB / 0.511 GB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.152, allocations: 0.8753 MB / 0.5119 GB, free: 3.188 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.742e-05/0.1521, allocations: 47.42 kB / 0.5119 GB, free: 3.141 MB / 382.1 MB Notification: Performance of SimCode: time 6.82e-07/0.1521, allocations: 0 / 0.5119 GB, free: 3.141 MB / 382.1 MB Notification: Performance of Templates: time 0.1973/0.3495, allocations: 6.888 MB / 0.5187 GB, free: 29.11 MB / 382.1 MB [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile clang++ -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/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_UDPWithoutReceiveThreadCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.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_UDPWithoutReceiveThreadCalcHelperMain.cpp:29: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:222: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_UDPWithoutReceiveThreadInitialize.cpp:242: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_UDPWithoutReceiveThreadInitialize.cpp:243: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_UDPWithoutReceiveThreadInitialize.cpp:244: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_UDPWithoutReceiveThreadCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:309: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_UDPWithoutReceiveThread.cpp:329: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_UDPWithoutReceiveThread.cpp:330: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_UDPWithoutReceiveThread.cpp:331: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_UDPWithoutReceiveThread.cpp:390: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_UDPWithoutReceiveThreadCalcHelperMain.o] Error 1