Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 110.8 kB / 17.84 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 187.7 kB / 20.79 MB, free: 2.305 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 225.6 MB / 249.2 MB, free: 3.648 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/package.mo): time 0.06185/0.06185, allocations: 12.17 MB / 316.2 MB, free: 280 kB / 238.1 MB " [Timeout remaining time 180] 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_UDPExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger") translateModel(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.89 kB / 440.7 MB, free: 6.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2601/0.2621, allocations: 55.16 MB / 495.9 MB, free: 23.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger): time 0.004212/0.2663, allocations: 2.959 MB / 498.8 MB, free: 21.67 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001842/0.2681, allocations: 1.221 MB / 0.4883 GB, free: 20.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001703/0.2683, allocations: 9.062 kB / 0.4883 GB, free: 20.69 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002691/0.2685, allocations: 87.38 kB / 0.4884 GB, free: 20.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001866/0.2687, allocations: 60.38 kB / 0.4885 GB, free: 20.57 MB / 366.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.000683/0.2694, allocations: 298.7 kB / 0.4888 GB, free: 20.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003553/0.2698, allocations: 414 kB / 0.4892 GB, free: 20.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002712/0.27, allocations: 170.8 kB / 0.4893 GB, free: 20 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.2702, allocations: 203.7 kB / 0.4895 GB, free: 19.87 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003178/0.2705, allocations: 243.7 kB / 0.4897 GB, free: 19.69 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.191e-05/0.2706, allocations: 44.06 kB / 0.4898 GB, free: 19.69 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.2709, allocations: 194.8 kB / 0.49 GB, free: 19.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001279/0.271, allocations: 158.8 kB / 0.4901 GB, free: 19.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.2712, allocations: 220.4 kB / 0.4903 GB, free: 19.32 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006513/0.2719, allocations: 0.6834 MB / 0.491 GB, free: 18.82 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.2719, allocations: 1.125 kB / 0.491 GB, free: 18.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.2719, allocations: 0 / 0.491 GB, free: 18.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.406e-06/0.2719, allocations: 0 / 0.491 GB, free: 18.82 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 getInteger.pkgIn.pkg = getFloat.pkgOut[1].pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg uDPSend.pkgIn.pkg = addInteger.pkgOut[1].pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 108 * Number of variables: 108 Notification: Performance of Generate backend data structure: time 0.001475/0.2733, allocations: 1.168 MB / 0.4921 GB, free: 17.77 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.2734, allocations: 8.875 kB / 0.4922 GB, free: 17.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001079/0.2735, allocations: 56.84 kB / 0.4922 GB, free: 17.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003277/0.2738, allocations: 333.7 kB / 0.4925 GB, free: 17.42 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/0.2738, allocations: 30.53 kB / 0.4926 GB, free: 17.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-05/0.2739, allocations: 45.23 kB / 0.4926 GB, free: 17.39 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007185/0.2746, allocations: 494.2 kB / 0.4931 GB, free: 17.07 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.2746, allocations: 4 kB / 0.4931 GB, free: 17.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/0.2747, allocations: 16.83 kB / 0.4931 GB, free: 17.06 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.2747, allocations: 9.844 kB / 0.4931 GB, free: 17.06 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004567/0.2752, allocations: 265.8 kB / 0.4933 GB, free: 16.94 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.2766, allocations: 1.455 MB / 0.4948 GB, free: 15.66 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004807/0.2771, allocations: 288 kB / 0.495 GB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.2773, allocations: 149.3 kB / 0.4952 GB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.2773, allocations: 12.16 kB / 0.4952 GB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003804/0.2777, allocations: 259.8 kB / 0.4954 GB, free: 15.12 MB / 366.1 MB Notification: Performance of pre-optimization done (n=43): time 2.234e-06/0.2777, allocations: 0 / 0.4954 GB, free: 15.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=43): time 0.001055/0.2788, allocations: 0.6012 MB / 0.496 GB, free: 14.85 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.2788, allocations: 189.1 kB / 0.4962 GB, free: 14.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.279, allocations: 248.7 kB / 0.4965 GB, free: 14.45 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.174e-05/0.2791, allocations: 49.03 kB / 0.4965 GB, free: 14.4 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.901e-05/0.2792, allocations: 211.7 kB / 0.4967 GB, free: 14.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.691e-05/0.2792, allocations: 109.7 kB / 0.4968 GB, free: 14.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.2794, allocations: 127.3 kB / 0.4969 GB, free: 14.04 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.838e-05/0.2794, allocations: 346.6 kB / 0.4973 GB, free: 13.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002056/0.2797, allocations: 121.2 kB / 0.4974 GB, free: 13.65 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002648/0.2799, allocations: 339.1 kB / 0.4977 GB, free: 13.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005174/0.2804, allocations: 0.5039 MB / 0.4982 GB, free: 12.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.2804, allocations: 2.469 kB / 0.4982 GB, free: 12.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007487/0.2812, allocations: 0.4991 MB / 0.4987 GB, free: 12.6 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.2812, allocations: 9.625 kB / 0.4987 GB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.257e-05/0.2812, allocations: 7.406 kB / 0.4987 GB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/0.2812, allocations: 18.16 kB / 0.4987 GB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002722/0.2815, allocations: 81.98 kB / 0.4988 GB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.2815, allocations: 13.59 kB / 0.4988 GB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002019/0.2817, allocations: 40.8 kB / 0.4988 GB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/0.2818, allocations: 29.08 kB / 0.4989 GB, free: 12.53 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 59 (getFloat.dummy,$PRE.getFloat.dummy,getFloat.y[2],$PRE.getFloat.y[2],getFloat.y[1],$PRE.getFloat.y[1],getFloat.pkgOut[1].dummy,$PRE.getFloat.pkgOut[1].dummy,addFloat.pkgOut[1].dummy,$PRE.addFloat.pkgOut[1].dummy,getInteger.dummy,$PRE.getInteger.dummy,getInteger.y[1],$PRE.getInteger.y[1],getReal.dummy,$PRE.getReal.dummy,getReal.y[3],$PRE.getReal.y[3],getReal.y[2],$PRE.getReal.y[2],getReal.y[1],$PRE.getReal.y[1],getReal.pkgOut[1].dummy,$PRE.getReal.pkgOut[1].dummy,uDPReceive.nRecvbufOverwrites,$PRE.uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,$PRE.uDPReceive.nRecvBytes,uDPReceive.pkgOut.dummy,$PRE.uDPReceive.pkgOut.dummy,addInteger.pkgOut[1].dummy,$PRE.addInteger.pkgOut[1].dummy,uDPSend.dummy,$PRE.uDPSend.dummy,addReal.pkgOut[1].dummy,$PRE.addReal.pkgOut[1].dummy,packager.pkgOut.dummy,$PRE.packager.pkgOut.dummy,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition1,$whenCondition2,addInteger.u[1],uDPReceive.internalTrigger,uDPSend.internalTrigger,getInteger.pkgIn.userPkgBitSize,getInteger.pkgIn.backwardTrigger,getFloat.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,uDPReceive.bufferSize,addFloat.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addReal.pkgIn.autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,uDPSend.bufferSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002308/0.282, allocations: 240.6 kB / 0.4991 GB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.248e-05/0.2821, allocations: 38.45 kB / 0.4991 GB, free: 12.32 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005786/0.2826, allocations: 394.6 kB / 0.4995 GB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.334e-06/0.2827, allocations: 5.562 kB / 0.4995 GB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.2827, allocations: 1.125 kB / 0.4995 GB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.2827, allocations: 5.047 kB / 0.4995 GB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.2838, allocations: 0.9533 MB / 0.5005 GB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.2839, allocations: 5.375 kB / 0.5005 GB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.035e-05/0.2839, allocations: 17.67 kB / 0.5005 GB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.2839, allocations: 2.75 kB / 0.5005 GB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.2839, allocations: 14.86 kB / 0.5005 GB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.45e-06/0.284, allocations: 5.312 kB / 0.5005 GB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.284, allocations: 6.688 kB / 0.5005 GB, free: 11.42 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007487/0.2847, allocations: 0.6003 MB / 0.5011 GB, free: 11.06 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.018e-05/0.2847, allocations: 101.3 kB / 0.5012 GB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.224e-05/0.2848, allocations: 11.83 kB / 0.5012 GB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001218/0.2849, allocations: 7.484 kB / 0.5012 GB, free: 10.94 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.285, allocations: 25.55 kB / 0.5012 GB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.285, allocations: 21.55 kB / 0.5012 GB, free: 10.91 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.53e-05/0.2851, allocations: 143.8 kB / 0.5014 GB, free: 10.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2851, allocations: 3.938 kB / 0.5014 GB, free: 10.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000627/0.2857, allocations: 164.7 kB / 0.5015 GB, free: 10.73 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 38 (uDPSend.internalTrigger,uDPReceive.internalTrigger,uDPReceive.bufferSize,getReal.pkgIn.autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].trigger,addFloat.pkgOut[1].trigger,$whenCondition2,$whenCondition1,packager.pkgOut.dummy,addReal.pkgOut[1].dummy,uDPSend.bufferSize,uDPSend.dummy,addInteger.pkgOut[1].dummy,addInteger.u[1],uDPReceive.pkgOut.dummy,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,getReal.pkgOut[1].dummy,getReal.y[1],getReal.y[2],getReal.y[3],getReal.dummy,getInteger.y[1],getInteger.dummy,addFloat.pkgOut[1].dummy,getFloat.pkgOut[1].dummy,getFloat.y[1],getFloat.y[2],getFloat.dummy,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,addInteger.pkgIn.autoPkgBitSize,addFloat.pkgIn.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 23 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008187/0.2866, allocations: 345.4 kB / 0.5019 GB, free: 10.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006387/0.2872, allocations: 359.3 kB / 0.5022 GB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.2872, allocations: 0 / 0.5022 GB, free: 10.39 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002742/0.2875, allocations: 166.9 kB / 0.5024 GB, free: 10.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005342/0.288, allocations: 80.23 kB / 0.5025 GB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/0.2893, allocations: 0.7324 MB / 0.5032 GB, free: 9.773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.2895, allocations: 0.814 MB / 0.504 GB, free: 9.016 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.473e-05/0.2896, allocations: 37.92 kB / 0.504 GB, free: 8.996 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.2896, allocations: 0 / 0.504 GB, free: 8.996 MB / 366.1 MB Notification: Performance of Templates: time 0.008301/0.2979, allocations: 6.237 MB / 0.5101 GB, free: 4.031 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTrigger.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -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_2/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_2/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_UDPExternalTriggerCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 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_UDPExternalTriggerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerFunctions.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_UDPExternalTriggerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerFunctions.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_UDPExternalTriggerCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.Blocks.Examples.TestSerialPackager_UDPExternalTriggerFunctions.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_UDPExternalTriggerCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.300123337190598] Failed to read output from testmodel.py, exit status != 0: 0.30544588016346097 0.318194496 0.043336077 Calling exit ...