Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 114.8 kB / 17.85 MB, free: 5.219 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.001297/0.001297, allocations: 187.7 kB / 20.79 MB, free: 2.285 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.451/1.451, allocations: 225.6 MB / 249.2 MB, free: 3.621 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.05944/0.05944, allocations: 12.17 MB / 316.2 MB, free: 240 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.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") translateModel(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 75.88 kB / 440.7 MB, free: 6.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2585, allocations: 55.16 MB / 495.9 MB, free: 24 MB / 366.1 MB Notification: Performance of NFInst.instantiate(Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread): time 0.003694/0.2622, allocations: 2.297 MB / 498.2 MB, free: 22.25 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001569/0.2638, allocations: 0.9663 MB / 499.1 MB, free: 21.49 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.2639, allocations: 14.44 kB / 499.1 MB, free: 21.48 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.2642, allocations: 82.22 kB / 499.2 MB, free: 21.41 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.2644, allocations: 55.05 kB / 499.3 MB, free: 21.36 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:132:9-139:18:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.clear' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.clear'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:32:9-41:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Communication.mo:292:7-303:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.sendToUDP' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.sendTo'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:65:9-74:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Communication.mo:272:7-290:30:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Communication.Internal.DummyFunctions.readUDP_Conditional' contains a call to impure function 'Modelica_DeviceDrivers.Communication.UDPSocket_.read'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:76:9-86:20:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getReal' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getReal'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:109:9-119:23:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getInteger' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getInteger'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:43:9-52:27:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.addRealAsFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.addRealAsFloat'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/ClockedBlocks/Packaging.mo:88:9-98:29:writable] Warning: Pure function 'Modelica_DeviceDrivers.ClockedBlocks.Packaging.SerialPackager.Internal.DummyFunctions.getRealFromFloat' contains a call to impure function 'Modelica_DeviceDrivers.Packaging.SerialPackager_.getRealFromFloat'. Notification: Performance of NFTyping.typeClassSections: time 0.0008381/0.2652, allocations: 334.2 kB / 499.6 MB, free: 21.12 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003536/0.2656, allocations: 383.7 kB / 500 MB, free: 20.9 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003038/0.2659, allocations: 201.8 kB / 0.4884 GB, free: 20.78 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001568/0.266, allocations: 188.7 kB / 0.4886 GB, free: 20.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.2663, allocations: 227.5 kB / 0.4888 GB, free: 20.5 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.742e-05/0.2664, allocations: 46.09 kB / 0.4889 GB, free: 20.49 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002984/0.2667, allocations: 197.8 kB / 0.4891 GB, free: 20.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001407/0.2668, allocations: 153.8 kB / 0.4892 GB, free: 20.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.267, allocations: 206.8 kB / 0.4894 GB, free: 20.14 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006468/0.2676, allocations: 0.6698 MB / 0.4901 GB, free: 19.65 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.2676, allocations: 1.062 kB / 0.4901 GB, free: 19.65 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2676, allocations: 0 / 0.4901 GB, free: 19.65 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.136e-06/0.2676, allocations: 0 / 0.4901 GB, free: 19.65 MB / 366.1 MB Warning: Alias equations of external objects are not Modelica compliant as in: getFloat.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addFloat.pkgIn.pkg getReal.pkgOut[1].pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addReal.pkgIn.pkg getFloat.pkgOut[1].pkg = getInteger.pkgIn.pkg getReal.pkgOut[1].pkg = getFloat.pkgIn.pkg addFloat.pkgOut[1].pkg = addInteger.pkgIn.pkg addReal.pkgOut[1].pkg = addFloat.pkgIn.pkg uDPReceive.pkgOut.pkg = getReal.pkgIn.pkg addInteger.pkgOut[1].pkg = uDPSend.pkgIn.pkg packager.pkgOut.pkg = addReal.pkgIn.pkg Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001435/0.2691, allocations: 1.119 MB / 0.4912 GB, free: 18.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.2691, allocations: 8.875 kB / 0.4912 GB, free: 18.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.2692, allocations: 53.98 kB / 0.4912 GB, free: 18.63 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.2695, allocations: 344.4 kB / 0.4916 GB, free: 18.31 MB / 366.1 MB Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: uDPReceive.initialized = previous(uDPReceive.initialized) to residual form! Error: Internal error - BackendDAEOptimize.makeEquationToResidualExp failed to transform equation: packager.initialized = previous(packager.initialized) to residual form! Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.371e-05/0.2696, allocations: 91.69 kB / 0.4916 GB, free: 18.23 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.289e-05/0.2697, allocations: 42.03 kB / 0.4917 GB, free: 18.21 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0018/0.2715, allocations: 1.167 MB / 0.4928 GB, free: 17.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.307e-05/0.2715, allocations: 0 / 0.4928 GB, free: 17.5 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.331e-05/0.2716, allocations: 17.22 kB / 0.4928 GB, free: 17.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-05/0.2716, allocations: 18.17 kB / 0.4929 GB, free: 17.48 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00054/0.2722, allocations: 301.8 kB / 0.4931 GB, free: 17.35 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.2732, allocations: 1.386 MB / 0.4945 GB, free: 16.04 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009816/0.2742, allocations: 1.291 MB / 0.4958 GB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000462/0.2747, allocations: 381.7 kB / 0.4961 GB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001167/0.2748, allocations: 39.72 kB / 0.4962 GB, free: 14.55 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001899/0.275, allocations: 173.5 kB / 0.4963 GB, free: 14.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.484e-06/0.275, allocations: 0 / 0.4963 GB, free: 14.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=78): time 0.001316/0.2763, allocations: 0.8193 MB / 0.4971 GB, free: 14 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.2764, allocations: 329.7 kB / 0.4974 GB, free: 13.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.2766, allocations: 221 kB / 0.4977 GB, free: 13.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.673e-05/0.2766, allocations: 41.52 kB / 0.4977 GB, free: 13.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.268e-05/0.2767, allocations: 160.9 kB / 0.4978 GB, free: 13.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.222e-05/0.2768, allocations: 87.56 kB / 0.4979 GB, free: 13.2 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00014/0.2769, allocations: 139.4 kB / 0.4981 GB, free: 13.11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.494e-05/0.277, allocations: 348.3 kB / 0.4984 GB, free: 12.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001891/0.2772, allocations: 116.6 kB / 0.4985 GB, free: 12.72 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003482/0.2775, allocations: 0.5824 MB / 0.4991 GB, free: 12.01 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006184/0.2781, allocations: 0.7667 MB / 0.4998 GB, free: 11.2 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.2781, allocations: 4.125 kB / 0.4998 GB, free: 11.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=87) (initialization): time 0.0009057/0.279, allocations: 0.6755 MB / 0.5005 GB, free: 10.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.297e-05/0.2791, allocations: 11.75 kB / 0.5005 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.791e-05/0.2791, allocations: 16.84 kB / 0.5005 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.363e-05/0.2791, allocations: 24.66 kB / 0.5005 GB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/0.2795, allocations: 151.1 kB / 0.5007 GB, free: 10.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-05/0.2795, allocations: 29.92 kB / 0.5007 GB, free: 10.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002763/0.2798, allocations: 57.62 kB / 0.5008 GB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.185e-05/0.2799, allocations: 48.22 kB / 0.5008 GB, free: 10.75 MB / 366.1 MB Warning: Assuming fixed start value for the following 1 variables: trigger.y:DISCRETE(flow=false fixed = true ) \"Value of Boolean output\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.trigger.y,$whenCondition2,pre_trigger.y,$whenCondition1,trigger.y,integerExpression.y,getFloat.pkgOut[1].autoPkgBitSize,getFloat.pkgIn.autoPkgBitSize,assignClock2.y,assignClock2.u,getInteger.y[1],getInteger.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getReal.pkgIn.autoPkgBitSize,$CLKPRE.uDPReceive.initialized,uDPReceive.initialized,$CLKPRE.uDPReceive.bufferSize,uDPReceive.bufferSize,uDPReceive.nRecvbufOverwrites,uDPReceive.nRecvBytes,uDPReceive.pkgOut.autoPkgBitSize,sample1.y,addInteger.u[1],uDPSend.bufferSize,getInteger.pkgIn.userPkgBitSize,uDPSend.pkgIn.autoPkgBitSize,uDPSend.pkgIn.userPkgBitSize,addFloat.pkgOut[1].autoPkgBitSize,addReal.pkgOut[1].autoPkgBitSize,packager.bufferSize,packager.backwardPropagatedBufferSize,packager.initialized,packager.pkgOut.autoPkgBitSize) * Number of discrete states: 0 () * Number of clocked states: 4 (uDPReceive.dummy,uDPReceive.initialized,uDPReceive.bufferSize,packager.dummy) * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 1 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002645/0.2801, allocations: 263.5 kB / 0.5011 GB, free: 10.54 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007266/0.2809, allocations: 0.4917 MB / 0.5015 GB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007617/0.2816, allocations: 468.5 kB / 0.502 GB, free: 10.04 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/0.2816, allocations: 15.31 kB / 0.502 GB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.2817, allocations: 3.031 kB / 0.502 GB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.2817, allocations: 6.828 kB / 0.502 GB, free: 10.03 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006256/0.2823, allocations: 0.6357 MB / 0.5026 GB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/0.2823, allocations: 4.406 kB / 0.5026 GB, free: 9.465 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003296/0.2826, allocations: 108.3 kB / 0.5027 GB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.2826, allocations: 8.875 kB / 0.5027 GB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.2827, allocations: 16.72 kB / 0.5028 GB, free: 9.426 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.961e-06/0.2827, allocations: 7.984 kB / 0.5028 GB, free: 9.422 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.757e-06/0.2827, allocations: 7.031 kB / 0.5028 GB, free: 9.418 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009839/0.2837, allocations: 0.7904 MB / 0.5036 GB, free: 8.914 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.978e-05/0.2837, allocations: 123.7 kB / 0.5037 GB, free: 8.789 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.127e-05/0.2838, allocations: 20.53 kB / 0.5037 GB, free: 8.777 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001674/0.2839, allocations: 17.56 kB / 0.5037 GB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.386e-05/0.284, allocations: 33.81 kB / 0.5037 GB, free: 8.742 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.014e-05/0.2841, allocations: 28.48 kB / 0.5038 GB, free: 8.734 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.2842, allocations: 150.7 kB / 0.5039 GB, free: 8.621 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2842, allocations: 1.5 kB / 0.5039 GB, free: 8.621 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006897/0.2848, allocations: 158 kB / 0.5041 GB, free: 8.562 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 29 (uDPSend.bufferSize,addInteger.u[1],sample1.y,$cse6,$cse7,uDPReceive.pkgOut.autoPkgBitSize,uDPReceive.nRecvBytes,uDPReceive.nRecvbufOverwrites,uDPReceive.bufferSize,uDPReceive.initialized,getReal.pkgIn.autoPkgBitSize,getReal.pkgOut[1].autoPkgBitSize,getInteger.pkgIn.autoPkgBitSize,getInteger.y[1],assignClock2.u,assignClock2.y,getFloat.pkgIn.autoPkgBitSize,getFloat.pkgOut[1].autoPkgBitSize,$cse5,packager.pkgOut.autoPkgBitSize,packager.initialized,packager.backwardPropagatedBufferSize,packager.bufferSize,addReal.pkgOut[1].autoPkgBitSize,integerExpression.y,pre_trigger.y,trigger.y,$whenCondition1,$whenCondition2) * Number of discrete states: 1 (trigger.y) * Number of clocked states: 4 (packager.dummy,uDPReceive.bufferSize,uDPReceive.initialized,uDPReceive.dummy) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 62 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 2 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008714/0.2857, allocations: 387.1 kB / 0.5044 GB, free: 8.34 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001027/0.2867, allocations: 1.222 MB / 0.5056 GB, free: 7.414 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.2868, allocations: 1.375 kB / 0.5056 GB, free: 7.414 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003541/0.2871, allocations: 0.7595 MB / 0.5064 GB, free: 6.691 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00131/0.2884, allocations: 1.187 MB / 0.5075 GB, free: 5.691 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001283/0.2897, allocations: 0.9644 MB / 0.5085 GB, free: 5.004 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002358/0.2899, allocations: 0.8792 MB / 0.5093 GB, free: 4.098 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.402e-05/0.29, allocations: 39.42 kB / 0.5094 GB, free: 4.059 MB / 366.1 MB Notification: Performance of SimCode: time 3.11e-07/0.29, allocations: 0 / 0.5094 GB, free: 4.059 MB / 366.1 MB Notification: Performance of Templates: time 0.009384/0.2994, allocations: 6.896 MB / 0.5161 GB, free: 13.2 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile [Timeout 660] make -j1 -f Modelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.makefile clang++ -std=c++17 -fopenmp=libomp -Winvalid-pch -O2 -g -DNDEBUG -fPIC -std=c++11 -DBOOST_ALL_DYN_LINK -DUSE_DGESV -DUSE_LOGGER -DOMC_BUILD -DUSE_THREAD -DSUNDIALS_MAJOR_VERSION=5 -DSUNDIALS_MINOR_VERSION=4 -DPMC_USE_SUNDIALS -I"." -I"/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_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/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -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" "-I/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Resources/C-Sources" -DMEASURETIME_PROFILEBLOCKS -DUSE_LOGGER -c -o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.o OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: In file included from ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.cpp:5: /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:452:5: error: no matching function for call to 'strncpy' strncpy(pkg->data + pkg->pos, u, (size_t)bufferSize); ^~~~~~~ /usr/include/string.h:144:14: note: candidate function not viable: no known conversion from 'unsigned char *' to 'char *__restrict' for 1st argument extern char *strncpy (char *__restrict __dest, ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.cpp:524:3: error: no matching function for call to 'MDD_SerialPackagerAddInteger' MDD_SerialPackagerAddInteger(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:243:16: note: candidate function not viable: 2nd argument ('const int *') would lose const qualifier DllExport void MDD_SerialPackagerAddInteger(void* p_package, int * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.cpp:545:3: error: no matching function for call to 'MDD_SerialPackagerAddDouble' MDD_SerialPackagerAddDouble(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:307:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDouble(void* p_package, double * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:28: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadFunctions.cpp:566:3: error: no matching function for call to 'MDD_SerialPackagerAddDoubleAsFloat' MDD_SerialPackagerAddDoubleAsFloat(pkg__ext, ConstArray(u_).getData(), u_.getDim(1), byteOrder__ext); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_DeviceDrivers 2.1.1-master/Resources/Include/MDDSerialPackager.h:369:16: note: candidate function not viable: 2nd argument ('const double *') would lose const qualifier DllExport void MDD_SerialPackagerAddDoubleAsFloat(void* p_package, double * u, size_t n, int endian) { ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:29: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:222:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:242:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:243:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadInitialize.cpp:244:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; ^ In file included from OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.cpp:33: ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:309:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if((!_omcQ_24CLKPRE_P_packager_P_initialized_)) ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:329:49: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_' _packager_P_backwardPropagatedBufferSize_ = _omcQ_24CLKPRE_P_packager_P_backwardPropagatedBufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:330:31: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_bufferSize_' _packager_P_bufferSize_ = _omcQ_24CLKPRE_P_packager_P_bufferSize_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:331:32: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' _packager_P_initialized_ = _omcQ_24CLKPRE_P_packager_P_initialized_; ^ ./OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThread.cpp:390:8: error: use of undeclared identifier '_omcQ_24CLKPRE_P_packager_P_initialized_' if (!_omcQ_24CLKPRE_P_packager_P_initialized_) { ^ 13 errors generated. make: *** [: OMCppModelica_DeviceDrivers_Modelica_DeviceDrivers.ClockedBlocks.Examples.TestSerialPackager_UDPWithoutReceiveThreadCalcHelperMain.o] Error 1 [Calling os._exit(0), Time elapsed: 4.156320529989898] Failed to read output from testmodel.py, exit status != 0: 0.30774280591867864 0.32053883199999994 0.05008958 Calling exit ...