Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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.Blocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 123 kB / 17.14 MB, free: 5.914 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.001608/0.001608, allocations: 189.1 kB / 18.06 MB, free: 4.996 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.8 MB, free: 15.06 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.05515/0.05515, allocations: 12.05 MB / 304 MB, free: 3.07 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 59.91 kB / 420.7 MB, free: 17.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0947/0.09589, allocations: 52.31 MB / 473.1 MB, free: 12.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP): time 0.004964/0.1009, allocations: 2.889 MB / 475.9 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001796/0.1027, allocations: 0.9028 MB / 476.8 MB, free: 9.016 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002768/0.103, allocations: 7.938 kB / 476.9 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.1034, allocations: 83.2 kB / 476.9 MB, free: 8.926 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003129/0.1038, allocations: 59.52 kB / 477 MB, free: 8.867 MB / 350.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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 2.1.1-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.0009008/0.1047, allocations: 283.2 kB / 477.3 MB, free: 8.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005714/0.1053, allocations: 403 kB / 477.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000403/0.1057, allocations: 250.9 kB / 477.9 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002737/0.106, allocations: 195.3 kB / 478.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003681/0.1063, allocations: 234.9 kB / 478.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.993e-05/0.1064, allocations: 47.94 kB / 478.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003609/0.1068, allocations: 195.8 kB / 478.6 MB, free: 7.285 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001599/0.107, allocations: 147.6 kB / 478.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002131/0.1072, allocations: 222.8 kB / 478.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008291/0.108, allocations: 0.6697 MB / 479.6 MB, free: 6.25 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1081, allocations: 4 kB / 479.6 MB, free: 6.246 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.263e-06/0.1081, allocations: 4 kB / 479.6 MB, free: 6.242 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.1081, allocations: 0 / 479.6 MB, free: 6.242 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 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: 107 * Number of variables: 107 Notification: Performance of Generate backend data structure: time 0.001803/0.1099, allocations: 1.134 MB / 480.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.496e-05/0.1099, allocations: 8.031 kB / 480.8 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001285/0.1101, allocations: 48.38 kB / 480.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004142/0.1105, allocations: 331.8 kB / 481.1 MB, free: 4.59 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.369e-05/0.1105, allocations: 33.36 kB / 481.2 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.159e-05/0.1106, allocations: 36.38 kB / 481.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007924/0.1114, allocations: 488 kB / 481.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.723e-05/0.1114, allocations: 192 / 481.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.1115, allocations: 19.94 kB / 481.7 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.355e-05/0.1115, allocations: 12 kB / 481.7 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004814/0.112, allocations: 263.7 kB / 482 MB, free: 3.738 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001697/0.1137, allocations: 1.367 MB / 483.3 MB, free: 2.301 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000545/0.1143, allocations: 290.4 kB / 483.6 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002356/0.1145, allocations: 167.3 kB / 483.8 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.1145, allocations: 4 kB / 483.8 MB, free: 1.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003849/0.1149, allocations: 271.2 kB / 484 MB, free: 1.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=42): time 2.194e-06/0.115, allocations: 0 / 484 MB, free: 1.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.001076/0.116, allocations: 0.5894 MB / 484.6 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001025/0.1161, allocations: 156.4 kB / 484.8 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002356/0.1164, allocations: 238.8 kB / 485 MB, free: 500 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.228e-05/0.1164, allocations: 45.69 kB / 485.1 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.1166, allocations: 204.3 kB / 485.3 MB, free: 240 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.828e-05/0.1167, allocations: 102.7 kB / 485.4 MB, free: 136 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.1169, allocations: 126.2 kB / 485.5 MB, free: 4 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001563/0.117, allocations: 350.7 kB / 485.8 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.1172, allocations: 121 kB / 485.9 MB, free: 15.53 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003509/0.1176, allocations: 336.1 kB / 486.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006551/0.1183, allocations: 0.5098 MB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.648e-06/0.1183, allocations: 4 kB / 486.8 MB, free: 14.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008091/0.1191, allocations: 0.4895 MB / 487.3 MB, free: 14 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.1191, allocations: 10.16 kB / 487.3 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/0.1192, allocations: 15.94 kB / 487.3 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.1192, allocations: 8 kB / 487.3 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.1195, allocations: 87.77 kB / 487.4 MB, free: 13.89 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/0.1195, allocations: 8 kB / 487.4 MB, free: 13.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.1197, allocations: 39.59 kB / 487.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-05/0.1197, allocations: 27.98 kB / 487.5 MB, free: 13.81 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 58 (addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].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,addFloat.pkgOut[1].backwardTrigger,addFloat.pkgOut[1].trigger,$whenCondition2,addInteger.u[1],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,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,getFloat.pkgOut[1].trigger,$whenCondition1,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 (66): * Single equations (assignments): 66 * 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.0002651/0.12, allocations: 249.5 kB / 487.7 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.121e-05/0.1201, allocations: 31.7 kB / 487.7 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/0.1205, allocations: 234.3 kB / 488 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.1205, allocations: 4 kB / 488 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.304e-06/0.1205, allocations: 0 / 488 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.604e-06/0.1205, allocations: 3.984 kB / 488 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001346/0.1219, allocations: 1.036 MB / 489 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.1219, allocations: 0 / 489 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.385e-05/0.1219, allocations: 11.98 kB / 489 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.122, allocations: 4 kB / 489 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.781e-05/0.122, allocations: 11.98 kB / 489 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-06/0.122, allocations: 7.938 kB / 489 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.122, allocations: 4 kB / 489.1 MB, free: 12.15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008006/0.1228, allocations: 0.6695 MB / 489.7 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.442e-05/0.1229, allocations: 100.8 kB / 489.8 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.002e-05/0.1229, allocations: 11.98 kB / 489.8 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.1231, allocations: 7.938 kB / 489.8 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.378e-05/0.1231, allocations: 23.95 kB / 489.9 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.1232, allocations: 19.98 kB / 489.9 MB, free: 11.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001027/0.1233, allocations: 143 kB / 490 MB, free: 11.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1233, allocations: 0 / 490 MB, free: 11.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005998/0.1239, allocations: 155.5 kB / 490.2 MB, free: 10.98 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (getFloat.pkgOut[1].trigger,$whenCondition1,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,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,addFloat.pkgOut[1].trigger,$whenCondition2,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],addFloat.pkgOut[1].dummy,addFloat.pkgOut[1].backwardTrigger,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 (34): * Single equations (assignments): 11 * 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.0007222/0.1246, allocations: 345.9 kB / 490.5 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006038/0.1253, allocations: 369.7 kB / 490.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.1253, allocations: 0 / 490.9 MB, free: 10.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002689/0.1255, allocations: 172.1 kB / 491 MB, free: 10.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005616/0.1261, allocations: 72.95 kB / 491.1 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001428/0.1276, allocations: 0.7055 MB / 491.8 MB, free: 9.359 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005838/0.1282, allocations: 0.8111 MB / 492.6 MB, free: 8.52 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.656e-05/0.1282, allocations: 35.42 kB / 492.7 MB, free: 8.484 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1282, allocations: 3.938 kB / 492.7 MB, free: 8.48 MB / 366.1 MB Notification: Performance of Templates: time 0.01058/0.1388, allocations: 6.157 MB / 498.8 MB, free: 2.34 MB / 366.1 MB make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDP.makefile make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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"." -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" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.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.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPFunctions.cpp:493: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.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPFunctions.cpp:514: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.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPFunctions.cpp:535: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) { ^ 4 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPCalcHelperMain.o] Error 1