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.001292/0.001292, allocations: 104 kB / 16.98 MB, free: 6.176 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.001226/0.001227, allocations: 191.6 kB / 17.91 MB, free: 5.277 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.326/1.326, allocations: 222.9 MB / 241.6 MB, free: 15.26 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.05902/0.05902, allocations: 12.04 MB / 303.8 MB, free: 3.195 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 59.91 kB / 367.1 MB, free: 3.809 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2422, allocations: 52.32 MB / 419.5 MB, free: 21.09 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDP): time 0.004625/0.2469, allocations: 3.086 MB / 422.5 MB, free: 18 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.2487, allocations: 0.9847 MB / 423.5 MB, free: 17.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002924/0.249, allocations: 15.88 kB / 423.5 MB, free: 17 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003532/0.2494, allocations: 83.19 kB / 423.6 MB, free: 16.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003015/0.2497, allocations: 52.16 kB / 423.7 MB, free: 16.87 MB / 302.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.001098/0.2508, allocations: 338.6 kB / 424 MB, free: 16.54 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004787/0.2513, allocations: 455.6 kB / 424.5 MB, free: 16.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003988/0.2517, allocations: 302.5 kB / 424.8 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002316/0.252, allocations: 215.2 kB / 425 MB, free: 15.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002925/0.2523, allocations: 250.8 kB / 425.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.883e-05/0.2524, allocations: 48 kB / 425.3 MB, free: 15.29 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.2527, allocations: 199.8 kB / 425.4 MB, free: 15.1 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001411/0.2528, allocations: 175.4 kB / 425.6 MB, free: 14.93 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.253, allocations: 238.6 kB / 425.9 MB, free: 14.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006928/0.2537, allocations: 0.7127 MB / 426.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.2537, allocations: 3.938 kB / 426.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2537, allocations: 0 / 426.6 MB, free: 13.97 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.935e-05/0.2537, allocations: 0 / 426.6 MB, free: 13.97 MB / 302.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.001611/0.2554, allocations: 1.177 MB / 427.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.2554, allocations: 12.03 kB / 427.8 MB, free: 12.7 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.2556, allocations: 72.17 kB / 427.8 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004775/0.2561, allocations: 392 kB / 428.2 MB, free: 12.2 MB / 302.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.0001078/0.2562, allocations: 101 kB / 428.3 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.431e-05/0.2563, allocations: 52.38 kB / 428.4 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001594/0.2579, allocations: 1.298 MB / 429.7 MB, free: 10.67 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.891e-05/0.2579, allocations: 7.938 kB / 429.7 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.603e-05/0.2579, allocations: 20 kB / 429.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/0.258, allocations: 16 kB / 429.7 MB, free: 10.63 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005232/0.2585, allocations: 363.5 kB / 430.1 MB, free: 10.27 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001476/0.26, allocations: 2.149 MB / 432.2 MB, free: 8.012 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00093/0.2609, allocations: 1.201 MB / 433.4 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004728/0.2614, allocations: 455 kB / 433.9 MB, free: 6.141 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.2615, allocations: 56.22 kB / 433.9 MB, free: 6.086 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.2616, allocations: 50.92 kB / 434 MB, free: 6.023 MB / 302.1 MB Notification: Performance of pre-optimization done (n=83): time 2.915e-06/0.2616, allocations: 0 / 434 MB, free: 6.023 MB / 302.1 MB Notification: Performance of matching and sorting (n=83): time 0.001502/0.2631, allocations: 0.8916 MB / 434.8 MB, free: 5.129 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001166/0.2632, allocations: 355.4 kB / 435.2 MB, free: 4.711 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002409/0.2635, allocations: 298.7 kB / 435.5 MB, free: 4.406 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.103e-05/0.2635, allocations: 45.7 kB / 435.5 MB, free: 4.355 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.595e-05/0.2636, allocations: 193.2 kB / 435.7 MB, free: 4.164 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.924e-05/0.2637, allocations: 99.05 kB / 435.8 MB, free: 4.066 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.2639, allocations: 158.6 kB / 436 MB, free: 3.906 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.507e-05/0.264, allocations: 358.8 kB / 436.3 MB, free: 3.547 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.2642, allocations: 161.9 kB / 436.5 MB, free: 3.391 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/0.2646, allocations: 0.6737 MB / 437.2 MB, free: 2.461 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007051/0.2653, allocations: 0.9091 MB / 438.1 MB, free: 1.293 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.3e-05/0.2653, allocations: 11.94 kB / 438.1 MB, free: 1.281 MB / 302.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001048/0.2664, allocations: 0.8058 MB / 438.9 MB, free: 480 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.2664, allocations: 16 kB / 438.9 MB, free: 464 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.765e-05/0.2665, allocations: 16 kB / 438.9 MB, free: 448 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.108e-05/0.2665, allocations: 24 kB / 438.9 MB, free: 424 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004381/0.2669, allocations: 175.7 kB / 439.1 MB, free: 248 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.383e-05/0.267, allocations: 35.86 kB / 439.1 MB, free: 212 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003363/0.2673, allocations: 71.38 kB / 439.2 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.882e-05/0.2674, allocations: 60.33 kB / 439.3 MB, free: 80 kB / 302.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.0003604/0.2677, allocations: 293.4 kB / 439.6 MB, free: 15.78 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001028/0.2688, allocations: 0.5094 MB / 440.1 MB, free: 15.26 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001247/0.27, allocations: 0.675 MB / 440.7 MB, free: 14.58 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.081e-05/0.2701, allocations: 16 kB / 440.8 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.2701, allocations: 0 / 440.8 MB, free: 14.56 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.2701, allocations: 7.984 kB / 440.8 MB, free: 14.55 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.2712, allocations: 484.7 kB / 441.2 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-05/0.2712, allocations: 4 kB / 441.2 MB, free: 14.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/0.2716, allocations: 119.8 kB / 441.4 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.819e-06/0.2717, allocations: 4 kB / 441.4 MB, free: 13.91 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.575e-05/0.2717, allocations: 27.98 kB / 441.4 MB, free: 13.88 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.2717, allocations: 8.156 kB / 441.4 MB, free: 13.87 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.721e-06/0.2717, allocations: 7.938 kB / 441.4 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002063/0.2738, allocations: 1.839 MB / 443.2 MB, free: 12 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001125/0.2739, allocations: 128.4 kB / 443.4 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.447e-05/0.274, allocations: 28.03 kB / 443.4 MB, free: 11.83 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004654/0.2745, allocations: 16 kB / 443.4 MB, free: 11.82 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.153e-05/0.2746, allocations: 27.92 kB / 443.4 MB, free: 11.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.037e-05/0.2746, allocations: 31.98 kB / 443.5 MB, free: 11.76 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.2749, allocations: 193.9 kB / 443.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of sort global known variables: time 2e-07/0.2749, allocations: 0 / 443.7 MB, free: 11.57 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001175/0.276, allocations: 175.7 kB / 443.8 MB, free: 11.39 MB / 318.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.0007935/0.2768, allocations: 380.5 kB / 444.2 MB, free: 11.08 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001875/0.2787, allocations: 1.481 MB / 445.7 MB, free: 9.574 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.2788, allocations: 4 kB / 445.7 MB, free: 9.57 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005522/0.2793, allocations: 0.7932 MB / 446.5 MB, free: 8.754 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.2817, allocations: 1.244 MB / 447.7 MB, free: 7.469 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001906/0.2836, allocations: 1.174 MB / 448.9 MB, free: 6.227 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005478/0.2841, allocations: 0.926 MB / 449.8 MB, free: 5.27 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.2843, allocations: 47.42 kB / 449.9 MB, free: 5.223 MB / 318.1 MB Notification: Performance of SimCode: time 3.4e-07/0.2843, allocations: 3.938 kB / 449.9 MB, free: 5.219 MB / 318.1 MB Notification: Performance of Templates: time 0.01197/0.2962, allocations: 7.903 MB / 457.8 MB, free: 13.33 MB / 334.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