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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001617/0.001617, allocations: 118.4 kB / 17.13 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001919/0.001919, allocations: 193.2 kB / 18.06 MB, free: 5.023 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 241.8 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.05647/0.05647, allocations: 12.04 MB / 304 MB, free: 3.086 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001129/0.001129, allocations: 67.91 kB / 420.7 MB, free: 17.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08653/0.08767, allocations: 52.31 MB / 473.1 MB, free: 12.85 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.004706/0.09242, allocations: 3.091 MB / 476.1 MB, free: 9.746 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001853/0.0943, allocations: 0.9886 MB / 477.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002144/0.09453, allocations: 7.938 kB / 477.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003371/0.0949, allocations: 87.19 kB / 477.2 MB, free: 8.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.09518, allocations: 47.53 kB / 477.3 MB, free: 8.613 MB / 350.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.001031/0.09622, allocations: 327.1 kB / 477.6 MB, free: 8.293 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005796/0.09682, allocations: 463.5 kB / 478 MB, free: 7.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004221/0.09725, allocations: 316.5 kB / 478.4 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002801/0.09754, allocations: 215.2 kB / 478.6 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003599/0.0979, allocations: 250.8 kB / 478.8 MB, free: 7.07 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.894e-05/0.098, allocations: 48 kB / 478.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003257/0.09833, allocations: 199.8 kB / 479 MB, free: 6.828 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001763/0.09852, allocations: 171.5 kB / 479.2 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002334/0.09876, allocations: 250.5 kB / 479.5 MB, free: 6.414 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008301/0.0996, allocations: 0.7397 MB / 480.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.09961, allocations: 0 / 480.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.09962, allocations: 0 / 480.2 MB, free: 5.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.153e-05/0.09964, allocations: 0 / 480.2 MB, free: 5.672 MB / 350.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.001874/0.1015, allocations: 1.197 MB / 481.4 MB, free: 4.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.1016, allocations: 12.03 kB / 481.4 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001357/0.1017, allocations: 60.19 kB / 481.5 MB, free: 4.316 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005327/0.1023, allocations: 400.1 kB / 481.9 MB, free: 3.883 MB / 350.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.0001282/0.1024, allocations: 101 kB / 482 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.1025, allocations: 52.12 kB / 482 MB, free: 3.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.1042, allocations: 1.319 MB / 483.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.1042, allocations: 0 / 483.3 MB, free: 2.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.1043, allocations: 16 kB / 483.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.661e-05/0.1043, allocations: 23.98 kB / 483.4 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005535/0.1049, allocations: 357.4 kB / 483.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001787/0.1067, allocations: 2.153 MB / 485.9 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.1079, allocations: 1.194 MB / 487.1 MB, free: 14.3 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005427/0.1084, allocations: 455 kB / 487.5 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001096/0.1085, allocations: 48.34 kB / 487.6 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.264e-05/0.1086, allocations: 54.94 kB / 487.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of pre-optimization done (n=83): time 2.645e-06/0.1086, allocations: 0 / 487.6 MB, free: 13.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=83): time 0.001569/0.1102, allocations: 0.8915 MB / 488.5 MB, free: 12.8 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002042/0.1104, allocations: 363.4 kB / 488.9 MB, free: 12.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002665/0.1107, allocations: 294.8 kB / 489.1 MB, free: 12.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.1107, allocations: 41.7 kB / 489.2 MB, free: 12.03 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.1109, allocations: 197.2 kB / 489.4 MB, free: 11.83 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.848e-05/0.1109, allocations: 95.08 kB / 489.5 MB, free: 11.74 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.1111, allocations: 154.5 kB / 489.6 MB, free: 11.58 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001317/0.1113, allocations: 354.8 kB / 490 MB, free: 11.22 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002473/0.1115, allocations: 165.9 kB / 490.1 MB, free: 11.06 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005574/0.1121, allocations: 0.6778 MB / 490.8 MB, free: 10.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008676/0.113, allocations: 0.9168 MB / 491.7 MB, free: 8.953 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.854e-06/0.113, allocations: 8 kB / 491.7 MB, free: 8.945 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001114/0.1141, allocations: 0.8132 MB / 492.5 MB, free: 8.125 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.1141, allocations: 12 kB / 492.6 MB, free: 8.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.82e-05/0.1142, allocations: 20 kB / 492.6 MB, free: 8.094 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.979e-05/0.1142, allocations: 24 kB / 492.6 MB, free: 8.07 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.1146, allocations: 176.3 kB / 492.8 MB, free: 7.898 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.775e-05/0.1147, allocations: 35.86 kB / 492.8 MB, free: 7.863 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003226/0.115, allocations: 79.38 kB / 492.9 MB, free: 7.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.1151, allocations: 44 kB / 492.9 MB, free: 7.742 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.00029/0.1154, allocations: 289.4 kB / 493.2 MB, free: 7.449 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008688/0.1162, allocations: 0.5056 MB / 493.7 MB, free: 6.938 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00106/0.1173, allocations: 0.6863 MB / 494.4 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-05/0.1174, allocations: 12 kB / 494.4 MB, free: 6.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.1174, allocations: 4 kB / 494.4 MB, free: 6.227 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.1174, allocations: 7.984 kB / 494.4 MB, free: 6.219 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008832/0.1183, allocations: 476.7 kB / 494.9 MB, free: 5.703 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.32e-05/0.1183, allocations: 8 kB / 494.9 MB, free: 5.695 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003842/0.1187, allocations: 119.8 kB / 495 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.913e-06/0.1187, allocations: 4 kB / 495 MB, free: 5.574 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.239e-05/0.1188, allocations: 24.14 kB / 495 MB, free: 5.551 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.1188, allocations: 12 kB / 495.1 MB, free: 5.539 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.1188, allocations: 4 kB / 495.1 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001766/0.1205, allocations: 1.827 MB / 496.9 MB, free: 3.688 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000102/0.1207, allocations: 140.4 kB / 497 MB, free: 3.531 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/0.1207, allocations: 20 kB / 497 MB, free: 3.512 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004421/0.1212, allocations: 16 kB / 497.1 MB, free: 3.496 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.311e-05/0.1212, allocations: 35.91 kB / 497.1 MB, free: 3.461 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.172e-05/0.1213, allocations: 35.98 kB / 497.1 MB, free: 3.426 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001958/0.1215, allocations: 197.9 kB / 497.3 MB, free: 3.234 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.523e-06/0.1215, allocations: 0 / 497.3 MB, free: 3.234 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001011/0.1225, allocations: 175.7 kB / 497.5 MB, free: 3.062 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.0006951/0.1232, allocations: 377 kB / 497.9 MB, free: 2.754 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001273/0.1245, allocations: 1.332 MB / 499.2 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1245, allocations: 0 / 499.2 MB, free: 1.398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004787/0.125, allocations: 0.7897 MB / 500 MB, free: 0.5859 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/0.1272, allocations: 1.252 MB / 0.4895 GB, free: 15.29 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/0.129, allocations: 1.156 MB / 0.4906 GB, free: 14.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005325/0.1295, allocations: 0.9223 MB / 0.4915 GB, free: 13.12 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.708e-05/0.1296, allocations: 43.44 kB / 0.4916 GB, free: 13.07 MB / 382.1 MB Notification: Performance of SimCode: time 1.482e-06/0.1296, allocations: 4 kB / 0.4916 GB, free: 13.07 MB / 382.1 MB Notification: Performance of Templates: time 0.01039/0.14, allocations: 7.972 MB / 0.4993 GB, free: 5.113 MB / 382.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP.makefile 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/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_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